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

Added support for output on Cassini (RAP) Grid #30

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

LarissaReames-NOAA
Copy link
Owner

Namelist option target_grid_type = 'rotated lat-lon' is now available to interpolate on to a modified (non-staggered e-grid) rotated lat-lon grid, called CASSINI in the code, specified as the RAP grid would be. To use this option, the necessary namelist options are: nx, ny, dx (degrees), dy (degrees), ref_lat, ref_lon.

To replicate something very similar to the RAP grid you would use:
nx = 953
ny = 834
dx = 0.125
dy = 0.125
ref_lat = 54.0
ref_lon = -106.0

In this process I also updated the wind interpolation to occur on the input grid before being interpolated to the target grid. @daviddowellNOAA I'd appreciate it if you could test this update and make sure it does not degrade those verification results you provided via email.

Addresses Issue #25

Changed wind rotation to happen on input grid, not target grid.
Added wind rotation for Cassini (RAP) grids.
Added robust support for user-defined missing value in the event that any part of the user's target grid lies outside the input grid. This is accomplished by using ESMF's unmappedDstList that is returned upon the creation of the regridding weights to set the missing value at all unmappable destination (target) grid points.

This value is also added as a _FillValue attribute in the ouput NetCDF file to be CF-compliant.
@LarissaReames-NOAA LarissaReames-NOAA added the enhancement New feature or request label Jul 24, 2024
@LarissaReames-NOAA LarissaReames-NOAA marked this pull request as draft July 25, 2024 17:24
@LarissaReames-NOAA LarissaReames-NOAA marked this pull request as ready for review August 30, 2024 15:29
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 this pull request may close these issues.

3 participants