Development of a mesh-based cap for UWM S2SW and HAFSW applications #23
DeniseWorthen
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
A new mesh-based cap compatible with the CMEPS mediator has been developed for use in UFS-weather model applications (S2SW, HAFSW). The new cap contains the following features:
shel
ormultigrid
via configuration namelist. Both options are restart reproducible and are B4B when cross-verified (shel vs a multi baseline and vice versa).(nsea,1)
) instead of land and sea points(nx,ny)
. Note that MOM6 water points represent ~65% of the total points.Limitations to the above are:
multigrid
configuration.points
,grd
) is not B4B when comparing a shel run vs a multigrid runmultigrid
mode with a error message indicating an issue with memory use. Running the existing develop branch but substituting in the mod_def for the mx025 grid results in the same error.Requirements
In order to run the mesh cap in UWM, the following files are required:
mesh.hafs.nc
file can be produced using NCO (netCDF operators) and the ESMF command line toolESMF_Scrip2Unstruct
. Note the mesh for any rectilinear grid can be created in a similar manner.The lat/lon points for a HAFS mesh created in this manner are slightly different (O~10-6) compared to those present in the mod_def file for the HAFS application. The following shows the difference in latitude and longitude values across the mid-point of the HAFS domain:
mod_def
file for WW3.mod_def.natl_6m
is usedcreategridfiles.sh
utility is used to create the required files (mod_def.mx100
,mod_def.mx050
,mod_def.mx025
). In each case, the required lat,lon,mask and depth arrays required in the corresponding grid.inp files have been created using thecpld_gridgen
utility. The obstruction arrays are currently set to 0.Next Steps
Testing with a true multi-grid configuration is required. The only multi-grid application currently in the UWM regression tests is the
control_c384gdas_wav
test, which is a high-resource test. This test can be converted to running with the new cap, but it is anticipated that a low resolution multi-grid test case will be required to debug the mesh cap's multigrid capability.An initial attempt was made to create multiple grids from the 1-deg MOM6 tripole grid analogous to the 3 grids used in the gdas test. One grid was south of 50S, another between 50S and 50N, and the third domain was the MOM6 polar domain represented as a rectangle, as shown here:
The WW3 model failed to initialize. Assistance will be required from someone with familiarity with the ww3 grid utility to pursue this configuration.
The possible advantages of implementing a multi-grid capability using nested states within the mesh cap can also be explored. This capability is already present in CMEPS and the GLIMMER (Land Ice) Cap. In this case, the GLIMMER cap carries a nested state with two distinct domains (Greenland and Antarctica).
In UWM, if the existing tests utilizing the connectors (
control_c384gdas_wav
,control_atmwav
) are retained, then the build system will need be able to build both the new cap and code as well as the existing cap.Initial evaluation and verification of the output using the mesh cap in the S2SW and HAFS applications have been shown previously in Issue XX and XX. Full verification has yet to be done.
Beta Was this translation helpful? Give feedback.
All reactions