From 30158d5de68749699527ce448b99403680dea62c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 23 Jan 2022 17:43:48 -0600 Subject: [PATCH] snapshot... --- modules/util/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/util/util.py b/modules/util/util.py index 16d57fce..72b72397 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -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: x_ds = rootgrp.createVariable(dim_0_name, 'f8', [dim_0_name]) x_ds.units = 'rad' + x_ds.setncattr('axis', 'X') x_ds.setncattr('standard_name', 'projection_x_coordinate') x_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle') 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, y_ds = rootgrp.createVariable(dim_1_name, 'f8', [dim_1_name]) y_ds.units = 'rad' + y_ds.setncattr('axis', 'Y') y_ds.setncattr('standard_name', 'projection_y_coordinate') y_ds.setncattr('long_name', 'GOES PUG W-E fixed grid viewing angle') y_ds.setncattr('scale_factor', -5.58879902955962e-05) -- GitLab