Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pointCollection/scripts/make_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import os
import argparse
import sys
from pathlib import Path
import numpy as np
import json

Expand Down Expand Up @@ -69,7 +70,8 @@ def make_queue(index_file, queue_file, tile_W=2.e5, file_type='data', verbose=Fa
out_file=f"{out_dir}/E{int(np.real(xx))}_N{int(np.imag(xx))}.h5"
if os.path.isfile(out_file) and not replace:
continue
this_str=f"{__file__} -i {index_file} -W {tile_W} -t {file_type} --proj4 '{proj4}' --xy {np.real(xx)} {np.imag(xx)} -o {out_dir}"
this_script=Path(__file__).name
this_str=f"{this_script} -i {index_file} -W {tile_W} -t {file_type} --proj4 '{proj4}' --xy {np.real(xx)} {np.imag(xx)} -o {out_dir}"
if field_dict_json is not None:
this_str += f" -j {field_dict_json}"
if verbose:
Expand Down
Loading