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

snapshot...

parent 8b4b3e2e
No related branches found
No related tags found
No related merge requests found
......@@ -715,9 +715,9 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
return out_sr
def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064252.uwssec_B00038315.level2.h5'):
def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064252.uwssec_B00038315.level2.h5', param='cloud_fraction'):
h5f = h5py.File(fpath, 'r')
grd = get_grid_values_all(h5f, 'cloud_fraction')
grd = get_grid_values_all(h5f, param)
grd = np.where(np.isnan(grd), 0, grd)
bt = get_grid_values_all(h5f, 'temp_11_0um_nom')
refl = get_grid_values_all(h5f, 'refl_0_65um_nom')
......
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