From 4eb269d66471df659f8f39e011eb64e1934d47a8 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 5 Aug 2024 14:26:52 -0500 Subject: [PATCH] Fix units for CF compliance --- compass/ocean/tests/global_ocean/init/remap_ice_shelf_melt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compass/ocean/tests/global_ocean/init/remap_ice_shelf_melt.py b/compass/ocean/tests/global_ocean/init/remap_ice_shelf_melt.py index 4980b81acf..fc010135d3 100644 --- a/compass/ocean/tests/global_ocean/init/remap_ice_shelf_melt.py +++ b/compass/ocean/tests/global_ocean/init/remap_ice_shelf_melt.py @@ -261,10 +261,10 @@ def remap_paolo(in_filename, base_mesh_filename, culled_mesh_filename, field = 'dataLandIceFreshwaterFlux' ds_remap[field] = area_ratio * sphere_fwf - ds_remap[field].attrs['units'] = 'kg m^-2 s^-1' + ds_remap[field].attrs['units'] = 'kg m-2 s-1' field = 'dataLandIceHeatFlux' ds_remap[field] = area_ratio * ds_remap[field] - ds_remap[field].attrs['units'] = 'W m^-2' + ds_remap[field].attrs['units'] = 'W m-2' mpas_flux = (ds_remap.dataLandIceFreshwaterFlux * mpas_area_cell).sum().values