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

snapshot...

parent 5c3a499f
No related branches found
No related tags found
No related merge requests found
...@@ -836,6 +836,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, ...@@ -836,6 +836,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
if x is not None: if x is not None:
x_ds = rootgrp.createVariable(dim_0_name, 'f8', [dim_0_name]) x_ds = rootgrp.createVariable(dim_0_name, 'f8', [dim_0_name])
x_ds.units = 'rad' x_ds.units = 'rad'
x_ds.setncattr('axis', 'X')
x_ds.setncattr('standard_name', 'projection_x_coordinate') x_ds.setncattr('standard_name', 'projection_x_coordinate')
x_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle') x_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle')
x_ds.setncattr('scale_factor', 5.58879902955962e-05) x_ds.setncattr('scale_factor', 5.58879902955962e-05)
...@@ -844,6 +845,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, ...@@ -844,6 +845,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
y_ds = rootgrp.createVariable(dim_1_name, 'f8', [dim_1_name]) y_ds = rootgrp.createVariable(dim_1_name, 'f8', [dim_1_name])
y_ds.units = 'rad' y_ds.units = 'rad'
y_ds.setncattr('axis', 'Y')
y_ds.setncattr('standard_name', 'projection_y_coordinate') y_ds.setncattr('standard_name', 'projection_y_coordinate')
y_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle') y_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle')
y_ds.setncattr('scale_factor', -5.58879902955962e-05) y_ds.setncattr('scale_factor', -5.58879902955962e-05)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment