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

snapshot...

parent 772b6822
No related branches found
No related tags found
No related merge requests found
...@@ -802,17 +802,13 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, ...@@ -802,17 +802,13 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
icing_pred_ds.setncattr('missing', -1) icing_pred_ds.setncattr('missing', -1)
icing_pred_ds[:,] = max_lvl icing_pred_ds[:,] = max_lvl
# lon_ds = h5f_out.create_dataset('longitude', data=lons, dtype='f4') lon_ds = rootgrp.createVariable('longitude', 'f4', [dim_1_name, dim_0_name])
# lon_ds.attrs.create('units', data='degrees_east') lon_ds.units = 'degrees_east'
# lon_ds.attrs.create('long_name', data='icing prediction longitude') lon_ds[:,] = lons
# lon_ds.dims[0].label = dim_0_name
# lon_ds.dims[1].label = dim_1_name lat_ds = rootgrp.createVariable('latitude', 'f4', [dim_1_name, dim_0_name])
# lat_ds.units = 'degrees_north'
# lat_ds = h5f_out.create_dataset('latitude', data=lats, dtype='f4') lat_ds[:,] = lats
# lat_ds.attrs.create('units', data='degrees_north')
# lat_ds.attrs.create('long_name', data='icing prediction latitude')
# lat_ds.dims[0].label = dim_0_name
# lat_ds.dims[1].label = dim_1_name
# proj_ds = h5f_out.create_dataset('Projection', data=0, dtype='b') # proj_ds = h5f_out.create_dataset('Projection', data=0, dtype='b')
# proj_ds.attrs.create('long_name', data='Himawari Imagery Projection') # proj_ds.attrs.create('long_name', data='Himawari Imagery Projection')
......
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