-
Notifications
You must be signed in to change notification settings - Fork 118
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
Vertical remapping on restart distorts phis field #204
Comments
@rurata - was a PR ever put in to address this issue? |
@rurata I think you are right that the data is being read incorrectly, but it is strange that the 3D fields are fine. Do the fields like https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere/blob/main/tools/fv_io.F90#L725-L726 |
@lharris4 Hi, I just did some checking and it looks like delp and temp are also both corrupted by read_data. I have attached screenshots of these fields just after restart. |
@rurata - I have looked at the code in question (fv_io.F90) and agree there is an issue. I will work to get you a fix. |
I am assigning this issue to myself. Rusty and I have discussed a fix and I will try to have this fixed by the end of September. |
I will have this fix in by the end of this week. Thank you for your patience! |
@laurenchilutti - did a fix for this get implemented? |
I have not put in a PR for this yet, I will get one in by the end of the week. Sorry for the delay! |
Describe the bug
When we restart a simulation with a different vertical grid, the phis field becomes distorted, copying the same section of the field over the whole tile according to the number of processors per tile (picture attached).
This happens when both going up or down in vertical resolution. Normal restarts do not experience this problem. This was confirmed to behave the same in the main branch, commit [29396d3], and FMS tag 2022.02
To Reproduce
Warm start a simulation with a different NPZ.
Expected behavior
We expect the phis field to be initialized correctly, copying what was in the fv_core.tileX.nc file.
System Environment
Describe the system environment, include:
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.9:GA:server
Kernel: Linux 3.10.0-1160.66.1.1chaos.ch6.x86_64
Architecture: x86-64
Additional context
It seems like an issue in the read_data call for phis in remap_restart in fv_io.F90. When we moved the phis field to fv_srf_wnd.res which uses read_restart instead, we did not see this problem.
The text was updated successfully, but these errors were encountered: