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

snapshot...

parent 4c2e88cc
No related branches found
No related tags found
No related merge requests found
......@@ -917,7 +917,12 @@ def fov_extract():
icing_int_ds = h5f_out.create_dataset('icing_intensity', data=icing_intensity, dtype='i4')
icing_int_ds.attrs.create('long_name', data='From PIREP. -1:No Icing, 1:Trace, 2:Light, 3:Light Moderate, 4:Moderate, 5:Moderate Severe, 6:Severe')
# copy relevant attributes
for ds_name in train_params_day:
h5f_ds = h5f_out[ds_name]
h5f_ds.attrs.create('standard_name', data=h5f_expl[ds_name].attrs.get('standard_name'))
h5f_ds.attrs.create('long_name', data=h5f_expl[ds_name].attrs.get('long_name'))
h5f_ds.attrs.create('units', data=h5f_expl[ds_name].attrs.get('units'))
# --- close files
for h5f in h5_s_icing:
......
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