-
Notifications
You must be signed in to change notification settings - Fork 258
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
Write-component hangs for lambert_conformal regional grids in the southern hemisphere #838
Comments
@gsketefian Please take a look at changes in this branch https://github.com/DusanJovic-NOAA/fv3atm/tree/lambert_sh |
@DusanJovic-NOAA I left a couple of comments and a question in that branch. Also, just wondering if you've run any tests yet on regional grids. I was starting work to create a PR for this as well since there's an SRW release coming up soon, but I ran into issues running the |
I ran full rt.sh on Hera, all tests pass except 4 tests that create history outputs on Lambert grid, but the differences are expected ( roundoff errors ). I also ran one regional run with the domain over southern hemisphere, see this run directory: |
I fixed to formula used to compute |
@DusanJovic-NOAA Ok, thanks. When you think the code is finalized, please let me know. I'd like to run with your branch the 6 cases in the SRW App that I tried when I first created this issue. |
I think you can run the SRW tests. |
Description
Specifying a regional
lambert_conformal
write-component grid in the southern hemisphere causes the forecast model to hang.To Reproduce
Run a custom domain/grid the UFS SRW App that is in the southern hemisphere and uses a lambert_conformal write-component grid. Here is an example of a custom grid in the SRW App's
config.sh
file that fails (it is over Peru):Running with this grid causes the
ufs_model
executable to hang until therun_fcst
task in the SRW App runs out of wallclock time.Tests Conducted
I tried running short forecasts (6 hours; using FV3GFS data for ICs/LBCs; all on Hera) that use
lambert_conformal
write-component grids on the following domains/regions:Cases 1-3 (in the northern hemisphere) worked with the original code, but cases 4-6 (in the southern hemisphere) failed. These tests can be found on Hera in the directories
/scratch2/BMC/det/Gerard.Ketefian/UFS_CAM/TEST_develop_custom_grids/expt_dirs/orig_code/${EXPT_SUBDIR}
where
EXPT_SUBDIR
can have one of the following six values:The log file for the
run_fcst
task (which calls theufs_model
executable) is atlog/run_fcst_2019061500.log
under each experiment directory. The 3 failed cases just hang during the forecast.Possible Solution
I tried changing the Lambert conformal transformation formulas used in the write-component (in
module_wrt_grid_comp.F90
) to ones I use in other codes I have (obtained here). I then retried the 6 cases above. All were successful, confirming that the formulas used may have a bug (at least for the southern hemisphere). The six successful runs with the modified formulas can be found on Hera in the directories:/scratch2/BMC/det/Gerard.Ketefian/UFS_CAM/TEST_develop_custom_grids/expt_dirs/new_code/${EXPT_SUBDIR}
The specific modifications I made to the formulas are as follows (where
module_wrt_grid_comp.F90.orig
is the original file andmodule_wrt_grid_comp.F90.new
is the file with my changes to the Lambert conformal formulas):The text was updated successfully, but these errors were encountered: