Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WW3 to use new mesh based cap for S2SW and HAFSW #1102

Closed
DeniseWorthen opened this issue Mar 10, 2022 · 0 comments · Fixed by #1131
Closed

Update WW3 to use new mesh based cap for S2SW and HAFSW #1102

DeniseWorthen opened this issue Mar 10, 2022 · 0 comments · Fixed by #1131
Assignees
Labels
enhancement New feature or request

Comments

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Mar 10, 2022

Description

The global coupled model is not restart reproducible when waves are included. It also cannot be run in debug mode. Both are operational requirements.

Solution

Implement a new mesh-based NUOPC cap for the S2SW and HAFSW applications which is restart reproducible and which can be run in debug mode. The new mesh-based cap allows the WW3 component the ability to run as shel or multigrid via configuration namelist. Currently only a single grid is supported when run as multigrid. Both options are restart reproducible and are B4B when cross-verified (shel vs a multi baseline and vice versa). The WW3 can optionally produce NetCDF files containing the gridded fields using configuration settings in nems.configure.

In order to run the mesh cap in UWM, the following files are required:

  1. A mesh file describing the model grid.
  • For HAFSW, the mesh.hafs.nc file can be produced using NCO (netCDF operators) and the ESMF command line tool ESMF_Scrip2Unstruct. Note the mesh for any rectilinear grid can be created in a similar manner.
ncremap -g hafswav.SCRIP.nc -G latlon=441,901#snwe=1.45,45.55,-98.05,-7.95#lat_typ=uni#lat_drc=s2n
ESMF_Scrip2Unstruct hafswav.SCRIP.nc mesh.hafs.nc 0
  1. A mod_def file for WW3.
  • For HAFSW, the existing mod_def.natl_6m is used
  • For S2SW, the creategridfiles.sh utility can be used to create the required files (mod_def.mx100,mod_def.mx050, mod_def.mx025) using the lat,lon,mask and depth arrays generated from the cpld_gridgen utility.

Alternatives

Related to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant