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

snapshot...

parent bfa265e4
Branches
No related tags found
No related merge requests found
...@@ -707,11 +707,11 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): ...@@ -707,11 +707,11 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
return out_sr return out_sr
def analyze(): def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064252.uwssec_B00038315.level2.h5'):
h5f = h5py.File('/Users/tomrink/clavrx_snpp_viirs.A2019071.0000.001.2019071061610.uwssec_B00038187.level2.h5', 'r') h5f = h5py.File(fpath, 'r')
grd = get_grid_values_all(h5f, 'cloud_fraction') grd = get_grid_values_all(h5f, 'cloud_fraction')
grd = np.where(np.isnan(grd), 0, grd) grd = np.where(np.isnan(grd), 0, grd)
grd = grd[1600:, 400:1200] # grd = grd[1600:, 400:1200]
print(grd.shape) print(grd.shape)
grd_lr = grd[::2, ::2] grd_lr = grd[::2, ::2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment