diff --git a/modules/util/util.py b/modules/util/util.py
index f416281e35bbca6d24d3e6410b6463e3da598e06..f946e656f61d23792f1d06db05a3f0493da70499 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.dims[0] = dim_0_name
+        x_ds.dims[0].label = dim_0_name
         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')
@@ -724,7 +724,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.dims[0] = dim_1_name
+        y_ds.dims[0].label = dim_1_name
         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')
@@ -735,7 +735,9 @@ def write_icing_file(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, lon
 
     if elems is not None:
         elem_ds = h5f_out.create_dataset('elems', data=elems, dtype='i2')
+        elem_ds.dims[0].label = dim_0_name
         line_ds = h5f_out.create_dataset('lines', data=lines, dtype='i2')
+        line_ds.dims[0].label = dim_1_name
         pass
 
     h5f_out.close()