diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index d07d607ba32dfcacde27a0b9bdc5791ea7548b2b..8467a61aab3cee276e558093b410233b647d8dbe 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -120,7 +120,7 @@ def create_file(filename, data_dct, ds_list, lon_c, lat_c, time_s, fl_alt_s): time_ds.attrs.create('units', data='seconds since 1970-1-1 00:00:00') ice_alt_ds = h5f.create_dataset('icing_altitude', data=fl_alt_s) - ice_alt_ds.dims[0] = 'time' + ice_alt_ds.dims[0].label = 'time' ice_alt_ds.attrs.create('units', data='m') # copy relevant attributes