Correct regional boundary condition indices#220
Conversation
|
I'm testing this now on Jet and Hera to see if it fixes the boundary bugs. |
|
@kaiyuan-cheng These changes need to be on top of dev/emc for them to be in RRFS or UFS. Can you please open a PR to that branch? |
|
@kaiyuan-cheng The changes actually fail to compile in UFS, so I can't even test them. Also, this leaves me wondering if some of the bugs I'm seeing originate from differences between "main" and "dev/emc" |
|
I'm uncertain of what to do with this difference between the files ( |
|
I also see this difference, and I don't know what to make of it. Again, This also has some indexing: |
|
I tried applying just the four lines you changed, to dev/emc, and the code fails here in fv_diagnostics.F90 with a "floating-point exception:" Edit: It fails in debug mode (-DDEBUG=ON at ufs-weather-model level), not when optimized. The test used the gfortran compiler. |
…ncorrectly initialized memory. (#219) * fixes and workarounds for uninitialized memory in fv_regional_bc * remove workarounds and fix remaining known bugs in ps_reg * a few more surface pressure bug fixes; now the test case runs in debug mode * workarounds and bug fixes from gnu compiler testing * remove -9999999 commented-out code * quiet the NaNs passed to Atmp%ps * simplify comments and explain snan * use i-1 & j-1 for two-point averages, when available * Replace many changes with PR #220
* fixes io performance issues by making everyone a reader when io_layout=1,1 adds capability to use FMS feature to ignore data integrity checksums in restarts * rename enforce_rst_cksum to ignore_rst_cksum and change the default value for compatibility * updated UFS/GFS atmosphere.F90 driver as per @BinLiu-NOAA and @junwang-noaa * Regional decomposition test fix (when nrows_blend > 0) (NOAA-GFDL#194) * Add missing instance for hailwat * Regional bc blend changes to extend into interior halos and overlap on corners. Still not working for u and v. * atmosphere.F90 : add hailwat to check dyn_core.F90 : Fix from Jun Wang to correct sync of u,v fv_regional_bc.F90 : add check for nrows_blend > tile size; fix error when nrows_blend=1 * Explanatory comment added * Removed commented code * Clean old code * In fv_fill.F90, use kind_phys for kind_phys instead of hard-coding 8 byte reals. (NOAA-GFDL#193) * Expose remap_scalar and remap_dwinds to fv3-jedi (NOAA-GFDL#199) * changed interface to public * added public * removed source * mods for jedi build * Transfer changes from PR NOAA-GFDL#202 to NOAA-GFDL#199 Made small changes from PR NOAA-GFDL#202 manually. * returned ignore checksum * fixed ignore checksum * Fix several bugs in fv_regional_bc.F90 relating to uninitialized or incorrectly initialized memory. (NOAA-GFDL#219) * fixes and workarounds for uninitialized memory in fv_regional_bc * remove workarounds and fix remaining known bugs in ps_reg * a few more surface pressure bug fixes; now the test case runs in debug mode * workarounds and bug fixes from gnu compiler testing * remove -9999999 commented-out code * quiet the NaNs passed to Atmp%ps * simplify comments and explain snan * use i-1 & j-1 for two-point averages, when available * Replace many changes with PR NOAA-GFDL#220 Co-authored-by: Rusty.Benson <rusty.benson@noaa.gov> Co-authored-by: Ted Mansell <37668594+MicroTed@users.noreply.github.com> Co-authored-by: Rusty Benson <6594772+bensonr@users.noreply.github.com> Co-authored-by: Samuel Trahan (NOAA contractor) <39415369+SamuelTrahanNOAA@users.noreply.github.com> Co-authored-by: Mark Potts <33099090+mark-a-potts@users.noreply.github.com>
|
@junwang-noaa @kaiyuan-cheng - is this PR still needed? |
|
@kaiyuan-cheng - it's been just about a year since you were last asked about the relevance of this PR. If it is no longer needed, please respond so I can close it or work to ensure it can be merged. |
|
@bensonr I don't think this PR is needed anymore. My proposed change was merged into the emc branch. |
Description
Address the PR #219.
Fixes # (issue)
How Has This Been Tested?
Tested on Gaea and Stellar. The fix does not change the answer.
Checklist:
Please check all whether they apply or not