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

fix bug

parent 57f1c64a
No related branches found
No related tags found
No related merge requests found
......@@ -5,15 +5,15 @@ import glob
import os
from pathlib import Path
emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13_3um_nom', 'temp_3_75um_nom',
'temp_6_2um_nom', 'temp_6_7um_nom', 'temp_7_3um_nom', 'temp_8_5um_nom', 'temp_9_7um_nom']
emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13_3um_nom', 'temp_3_9um_nom',
'temp_6_7um_nom', 'temp_7_3um_nom', 'temp_8_5um_nom', 'temp_9_7um_nom']
#refl_params = ['refl_0_47um_nom', 'refl_0_65um_nom', 'refl_0_86um_nom', 'refl_1_38um_nom', 'refl_1_60um_nom']
# data_params = refl_params + emis_params
data_params = emis_params
l2_params = ['cloud_fraction', 'cld_temp_acha', 'cld_press_acha', 'cld_opd_acha', 'cld_reff_acha']
l2_params = ['cloud_fraction', 'cld_temp_acha', 'cld_press_acha', 'cld_emiss_acha']
label_params = l2_params
# data_params = ['cloud_fraction']
......@@ -153,7 +153,7 @@ def run(data_h5f, label_h5f, data_tiles, label_tiles, mod_tile_width=64, border=
img_num_lines = label_h5f[l2_param_name].shape[0]
img_num_pixels = label_h5f[l2_param_name].shape[1]
factor = img_num_pixels / mod_num_pixels
factor = int(img_num_pixels / mod_num_pixels)
img_tile_width = mod_tile_width * factor
# mod_num_y_tiles = int(mod_num_lines / mod_tile_width)
......
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