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

snapshot...

parent f4115070
Branches bumps_20190308
No related tags found
No related merge requests found
......@@ -712,7 +712,11 @@ def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064
h5f = h5py.File(fpath, 'r')
grd = get_grid_values_all(h5f, 'cloud_fraction')
grd = np.where(np.isnan(grd), 0, grd)
# grd = grd[:, 800:2400]
bt = get_grid_values_all(h5f, 'temp_11_0um_nom')
refl = get_grid_values_all(h5f, 'refl_0_65um_nom')
grd = grd[2432:4032, 2432:4032]
bt = bt[2432:4032, 2432:4032]
refl = refl[2432:4032, 2432:4032]
print(grd.shape)
grd_lr = grd[::2, ::2]
......@@ -733,7 +737,7 @@ def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064
h5f.close()
return grd, grd_lr, grd_hr
return grd, grd_lr, grd_hr, bt, refl
if __name__ == "__main__":
......
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