-
Notifications
You must be signed in to change notification settings - Fork 0
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
EXF not reading/interpolating input as expected #34
Comments
I regridded ERA5 onto the SO-WISE grid, so we are no longer using the on-the-fly EXF interpolation at runtime. Unfortunately, that did absolutely nothing. We still have almost exactly the same problem |
Note that, having switched to a python-based regridding scheme
|
Fixed! I pushed it to main...because I live dangerously 😎 It had to do with how the grid is specified in
where More detail in this thread: |
Problem statement and example
I'm attempting to force SO-WISE with a subset of the ERA5 dataset. However, the output of EXF is incorrect. For example, let's look at the 2m air temperature as represented in this binary file
ERA5_sowise_tmp2m_degK_issue01_1992
. In Matlab, we can view it using:which produces the following, presented without any rotation or coordinates, on the ERA5 grid:
That is an example of the kind of field that is given to MITgcm via the `EXF package. However, EXF is not reading and interpolating this field as expected. Here is a snapshot of 2m air temperature from the MITgcm diagnostics package after a single timestep:
It looks like a single longitudinally-varying profile is repeated at each latitude.
Second example: v wind
The issue appears in each of the forcing fields, so it's not just an issue with one file. As a second example, consider the meridional winds from ERA5. In Matlab, we can view it using:
which produces the following:
But the output from EXF, via a snapshot from the diagnostics package, appears as follows:
Note that both the pattern and the values are wrong.
Things I've checked
As part of my troubleshooting, I've confirmed the following:
exf_iprec = 32
andexf_yftype = RL
indata.exf
data.exf
Ideal behavior
Ideally, EXF would read in the binary file on the ERA5 grid and interpolate onto the SO-WISE grid
More context
Some additional context/details that may be helpful:
data.exf
file I'm currently using is here: https://github.com/so-wise/so-wise-gyre/blob/main/input/data.exfThanks in advance for any help or insight you can provide 🌊
The text was updated successfully, but these errors were encountered: