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

snapshot...

parent ba6d2659
Branches
No related tags found
No related merge requests found
......@@ -33,7 +33,13 @@ def get_parameters_clavrx(filename=ancillary_path+'clavrx_parameters.pkl'):
return var_names_2d
caliop_clavrx_params = None
def get_parameters_caliop_clavrx(filename='/data/Personal/rink/clavrx_calipso/g16_s20201050200_06kmCLay.matchup.calipso.h5'):
global caliop_clavrx_params
if caliop_clavrx_params is not None:
return caliop_clavrx_params
rg = Dataset(filename, 'r')
var_s = rg.variables
var_names = list(var_s.keys())
......@@ -48,6 +54,7 @@ def get_parameters_caliop_clavrx(filename='/data/Personal/rink/clavrx_calipso/g1
rg.close()
caliop_clavrx_params = var_names_keep
return var_names_keep
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment