From 48a731104f8f41cd835e7eed7eb24043028d1c88 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 23 Jan 2022 09:51:54 -0600 Subject: [PATCH] change 'radians' to 'rad' --- modules/util/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/util.py b/modules/util/util.py index d2371871..a7310e0d 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -714,7 +714,7 @@ def write_icing_file(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, lon if x is not None: x_ds = h5f_out.create_dataset('x', data=x, dtype='f8') - x_ds.attrs.create('units', data='radians') + x_ds.attrs.create('units', data='rad') x_ds.attrs.create('standard_name', data='projection_x_coordinate') x_ds.attrs.create('long_name', data='GOES PUG W-E fixed grid viewing angle') x_ds.attrs.create('scale_factor', data=5.58879902955962e-05) @@ -723,7 +723,7 @@ def write_icing_file(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, lon x_ds.attrs.create('COFF', data=2750.5) y_ds = h5f_out.create_dataset('y', data=y, dtype='f8') - y_ds.attrs.create('units', data='radians') + y_ds.attrs.create('units', data='rad') y_ds.attrs.create('standard_name', data='projection_y_coordinate') y_ds.attrs.create('long_name', data='GOES PUG S-N fixed grid viewing angle') y_ds.attrs.create('scale_factor', data=-5.58879902955962e-05) -- GitLab