Repository navigation
Add support for specifying the NetCDF output engine - #187
Conversation
This is useful because the scipy engine seems to perform well on Anvil and Chrysalis, whereas the netcdf4 engine seems to be hanging.
TestingI ran the nightly ocean test suite successfully with this branch and MPAS-Dev/MPAS-Tools#434 on Ubuntu with gnu and Chrysalis with intel, comparing against a baseline of the current Update: I retested again with the released version of The |
|
@mark-petersen, would you be willing to test this on Grizzly or Badger? I just want to make sure there aren't any surprises on another machine. I did a quick test with the |
|
@matthewhoffman, first, I want to make sure you're okay with these changes. My testing has indicated that performance for output of NetCDF3 files seems to be better with the By the way, Second, I wanted to ask if you could run your favorite MALI regression suite(s) on at least a couple of machines with these changes to make sure there are no surprises there. |
|
@xylar , is this netcdf output engine thing what xarray is using under the hood? Or are you somewhere managing netCDF operations manually depending on this option. It looked like all the changes only really affect the ocean core in COMPASS. Is that right? Or is there a reason to think this would affect landice tests? |
matthewhoffman
left a comment
There was a problem hiding this comment.
Tested landice tests and experience no problems.
That's correct, it is what xarray uses under the hood.
No, that's not correct. Thank you for testing. It's good to know that landice is also working as expected with this change. |
|
@mark-petersen, I'm taking you off this one as a reviewer, too, to not completely overwhelm you with review requests. |
- users_guide/ismip7_forcing: fix fracture output path examples to the
corrected {model}_{scenario}/{category}/ layout; document it in the
Output Layout section.
- users_guide/ismip7_run: document fracture_basepath and
calving_fracture_toughness config options, the shelf_collapse forcing
directory, and add a Mask Calving (Path C) section describing the
hydrofracture vulnerability gating from MALI PR MPAS-Dev#187.
- developers_guide/ismip7_run: note the new mask calving setup step in
SetUpExperiment.
- Fix ismip7_forcing fracture output paths (excess_melt, lake_properties,
shelf_collapse) to use {model}_{scenario}/{category}/ layout, matching
atmosphere and ocean_thermal_forcing outputs.
- ismip7_ais: optionally apply the Path C calvingMask via a new
fracture_basepath cfg option, enabling mask calving and the
hydrofracture vulnerability gating added in MALI PR MPAS-Dev#187
(config_require_extensional_stresses_for_mask_calving,
config_calving_fracture_toughness). Disabled by default and per
experiment when no mask file is found (e.g. ctrl, ocx).
- users_guide/ismip7_forcing: fix fracture output path examples to the
corrected {model}_{scenario}/{category}/ layout; document it in the
Output Layout section.
- users_guide/ismip7_run: document fracture_basepath and
calving_fracture_toughness config options, the shelf_collapse forcing
directory, and add a Mask Calving (Path C) section describing the
hydrofracture vulnerability gating from MALI PR MPAS-Dev#187.
- developers_guide/ismip7_run: note the new mask calving setup step in
SetUpExperiment.
This is useful because the
scipyengine seems to perform well on Anvil and Chrysalis, whereas thenetcdf4engine seems to be hanging.This merge also updates subprocess calls in
global_oceanto specify the NetCDF engine.This requires MPAS-Dev/MPAS-Tools#434
closes #185