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

Grid imprinting in write component fields using NSTD #2596

Open
LarissaReames-NOAA opened this issue Feb 10, 2025 · 2 comments
Open

Grid imprinting in write component fields using NSTD #2596

LarissaReames-NOAA opened this issue Feb 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@LarissaReames-NOAA
Copy link
Collaborator

Description

When comparing tmpsfc from ATM and sst from OCN, which ideally should be almost identical, @pjpegion noticed very obvious grid imprinting originating in the tmpsfc field.

Image

Currently, tmpsfc uses the default surface bundle interpolation method which is nearest source to destination, and when Phil tried changing this manually to bilinear, the imprinting disappeared.

The problem with bilinear interpolation for surface fields though is the potential for mismatches between immutable surface properties (soil, land type, land/water) and the interpolated field. I think the solution here, which is used in chgres_cube, is using masking in the ESMF interpolation steps when a surface field uses bilinear interpolation.

To Reproduce:

Run any coupled configuration and directly compare output from ATM (tmpsfc) and OCN (sst) output.

Additional context

N/A

Output

Just one more image showing the difference between tmpsfc when using NSTD vs. Bilinear

Image
@LarissaReames-NOAA LarissaReames-NOAA added the bug Something isn't working label Feb 10, 2025
@DeniseWorthen
Copy link
Collaborator

@LarissaReames-NOAA There is also the method to use bilinear_nstod, which maps bilinearly and then fills in any points not mapped w/ the nstod value. We use it in CMEPS like so

            regridmethod=ESMF_REGRIDMETHOD_BILINEAR, &
            extrapMethod=ESMF_EXTRAPMETHOD_NEAREST_STOD, &

@LarissaReames-NOAA
Copy link
Collaborator Author

LarissaReames-NOAA commented Feb 10, 2025

@LarissaReames-NOAA There is also the method to use bilinear_nstod, which maps bilinearly and then fills in any points not mapped w/ the nstod value. We use it in CMEPS like so

            regridmethod=ESMF_REGRIDMETHOD_BILINEAR, &
            extrapMethod=ESMF_EXTRAPMETHOD_NEAREST_STOD, &

I did not know about that method, so thanks for mentioning it. I think that could be useful for islands or isolated lakes, which are always tricky when doing masked interpolation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants