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

Adding gsl gwd oro data files #448

Merged
merged 10 commits into from
May 5, 2021
Merged

Adding gsl gwd oro data files #448

merged 10 commits into from
May 5, 2021

Conversation

mdtoy
Copy link
Collaborator

@mdtoy mdtoy commented Feb 26, 2021

*** NOTE: This PR should be merged only after PR #273 into UFS_UTILS has been merged. ***

DESCRIPTION OF CHANGES:

Added the creation of orog_data files required for the GSL drag suite as part of the FV3_HRRR CCPP suite, by adding the execution of "orog_gsl", which was recently added to the UFS_UTILS repository. Before, these files were created manually, and the regional_workflow used to copy them to the appropriate destination.

Files changed:

  1. scripts/exregional_make_orog.sh: The required fix files are located and copied over to the working directory and the "orog_gsl" executable is called, which generates the files "oro_data_ls*.nc" and "oro_data_ss*.nc".

  2. tests/run_experiments.sh: Removed lines that used to copy pre-made oro_data files over to where they needed to go.

  3. ush/config_defaults.sh: Added two files to the list of "fix" files needed to generate orog_data files. Removed the workflow variable GWD_HRRRsuite_BASEDIR since it's no longer needed.

  4. ush/setup.sh: Removed lines involved with looking for pre-made orog_data files (the old method).

TESTS CONDUCTED:

Conducted experiments on Hera at:
/scratch1/BMC/wrfruc/mtoy/git_local/ufs-srweather-app/regional_workflow/tests/my_experiments.txt

These were:
grid_RRFS_CONUS_13km_ics_HRRR_lbcs_RAP_suite_HRRR
grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_RAP_suite_HRRR
grid_RRFS_CONUS_25km_ics_HRRR_lbcs_HRRR_suite_HRRR
grid_RRFS_CONUS_25km_ics_HRRR_lbcs_RAP_suite_HRRR
grid_RRFS_CONUS_25km_ics_NAM_lbcs_NAM_suite_HRRR
grid_RRFS_CONUS_3km_ics_HRRR_lbcs_RAP_suite_HRRR
nco_grid_RRFS_CONUS_25km_ics_HRRR_lbcs_RAP_suite_HRRR
nco_grid_RRFS_CONUS_3km_ics_HRRR_lbcs_RAP_suite_HRRR

All tests were successful.

CONTRIBUTORS:

@gsketefian

@mdtoy mdtoy marked this pull request as ready for review February 28, 2021 00:15
@gsketefian
Copy link
Collaborator

@mdtoy This looks good. Just a minor request: In the PR message, can you mention for config_defaults.sh that you removed the workflow variable GWD_HRRRsuite_BASEDIR since it's no longer needed? Once you do that and update the comment in exregional_make_orog.sh, it's just a matter of waiting for the UFS_UTILS PR #273 to get merged (looks like it hasn't been merged yet).

Copy link
Collaborator

@mkavulich mkavulich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good aside from my one comment.

grid_fp="${FIXLAM}/${grid_fn}"
ls_fn="geo_em.d01.lat-lon.2.5m.HGT_M.nc"
ss_fn="HGT.Beljaars_filtered.lat-lon.30s_res.nc"
if [ "${MACHINE}" = "WCOSS_CRAY" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --relative flag does not work on MacOS either, and probably many Linux distros if my glance at the various man pages out there is representative. Can we just omit the flag completely rather than introducing this logic?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry apparently I can't figure out GitHub's line-highlighting capability; this comment refers to the following several lines

Copy link
Collaborator

@JeffBeck-NOAA JeffBeck-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested on Hera with the FV3_HRRR SDF. Approving this PR. Hopefully it can be merged shortly after Mike's comment is addressed.

@JeffBeck-NOAA
Copy link
Collaborator

@mdtoy, any update on this PR/@mkavulich's comment?

@mkavulich
Copy link
Collaborator

Offline discussion resolved my issues, this PR can be merged.

@JeffBeck-NOAA JeffBeck-NOAA merged commit 0b018a3 into ufs-community:develop May 5, 2021
shoyokota pushed a commit to shoyokota/regional_workflow that referenced this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants