Skip to content
Snippets Groups Projects
Commit fbc5e0af authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 2277e302
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ def run_all(directory, out_directory, day_night='ANY'): ...@@ -80,7 +80,7 @@ def run_all(directory, out_directory, day_night='ANY'):
cnt = 10 cnt = 10
total_num_train_samples = 0 total_num_train_samples = 0
total_num_valid_samples = 0 total_num_valid_samples = 0
num_keep_x_tiles = 5 num_keep_x_tiles = 7
# pattern = 'clavrx*highres*.nc' # pattern = 'clavrx*highres*.nc'
# pattern = 'VNP02MOD*.uwssec.nc' # pattern = 'VNP02MOD*.uwssec.nc'
...@@ -232,8 +232,8 @@ def run(data_h5f, param_s, tiles, num_keep_x_tiles=8, tile_width=64, kernel_size ...@@ -232,8 +232,8 @@ def run(data_h5f, param_s, tiles, num_keep_x_tiles=8, tile_width=64, kernel_size
continue continue
nda = data[:, j_a:j_b, i_a:i_b] nda = data[:, j_a:j_b, i_a:i_b]
# if not keep_tile(param_s, nda): if not keep_tile(param_s, nda):
# continue continue
tiles.append(nda) tiles.append(nda)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment