ESCOMP / CMEPS

NUOPC Community Mediator for Earth Prediction Systems
https://escomp.github.io/CMEPS/
24 stars 79 forks source link

cmeps0.13.57 breaks aquaplanet cases #291

Closed mvertens closed 2 years ago

mvertens commented 2 years ago

The following changes (+) need to be made to fix things.

    atm_mesh = case.get_value("ATM_DOMAIN_MESH")
+   lnd_mesh = case.get_value("LND_DOMAIN_MESH")
+   rof_mesh = case.get_value("ROF_DOMAIN_MESH")
     config['samegrid_atm_lnd'] = 'true' if atm_mesh == case.get_value("LND_DOMAIN_MESH") else 'false'
+    config['samegrid_atm_ocn'] = 'true' if atm_mesh == case.get_value("OCN_DOMAIN_MESH") else 'false'
     config['samegrid_atm_ice'] = 'true' if atm_mesh == case.get_value("ICE_DOMAIN_MESH") else 'false'
-    config['samegrid_atm_ocn'] = 'true' if atm_grid == case.get_value("OCN_DOMAIN_MESH") else 'false'
-    config['samegrid_atm_wav'] = 'true' if atm_grid == case.get_value("WAV_DOMAIN_MESH") else 'false'
-    config['samegrid_lnd_rof'] = 'true' if lnd_grid == rof_grid else 'false'
+    config['samegrid_atm_wav'] = 'true' if atm_mesh == case.get_value("WAV_DOMAIN_MESH") else 'false'
+    config['samegrid_lnd_rof'] = 'true' if lnd_mesh == rof_mesh else 'false'

Upcoming PR soon.