-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix time offset issue on ICS with GFS nemsio and netcdf files and add new archive file name on HPSS #457
Merged
MichaelLueken
merged 12 commits into
ufs-community:develop
from
chan-hoo:bugfix/timeoffset_gfs
Nov 9, 2022
Merged
Fix time offset issue on ICS with GFS nemsio and netcdf files and add new archive file name on HPSS #457
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a7fef59
fix time offset with gfs
chan-hoo 9b9658a
add new archive file name and we2e test
chan-hoo 7a80c20
Merge branch 'develop' of https://github.com/ufs-community/ufs-srweat…
chan-hoo 7d6d252
add ics_or_lbcs to test_retrieve.py
chan-hoo 313a3bb
Add check availability of nemsio and netcdf
chan-hoo 37ed64f
Copy file_templates dict before modifying it.
danielabdi-noaa f5e0918
remove native from xml for dev_transfer on wcoss2
chan-hoo 5c8844e
Merge branch 'bugfix/timeoffset_gfs' of https://github.com/chan-hoo/u…
chan-hoo 1d38fca
correct data locations on wcoss2
chan-hoo a021690
remove met_verification from fundamental.cheyenne.gnu
chan-hoo 593cde9
replace cyc to hh in data locations
chan-hoo 4a3e92d
make lbcs condition general
chan-hoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
..._nco/config.nco_grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_timeoffset_suite_GFS_v16.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
metadata: | ||
description: |- | ||
This test is to ensure that the workflow running in nco mode completes | ||
successfully on the RRFS_CONUS_25km grid using the FV3_GFS_v16 physics | ||
suite with time-offset ICs/LBCs derived from the FV3GFS. | ||
user: | ||
RUN_ENVIR: nco | ||
workflow: | ||
CCPP_PHYS_SUITE: FV3_GFS_v16 | ||
DATE_FIRST_CYCL: '2022081012' | ||
DATE_LAST_CYCL: '2022081012' | ||
FCST_LEN_HRS: 6 | ||
PREEXISTING_DIR_METHOD: rename | ||
workflow_switches: | ||
RUN_TASK_MAKE_GRID: false | ||
RUN_TASK_MAKE_OROG: false | ||
RUN_TASK_MAKE_SFC_CLIMO: false | ||
task_get_extrn_ics: | ||
EXTRN_MDL_NAME_ICS: FV3GFS | ||
FV3GFS_FILE_FMT_ICS: netcdf | ||
EXTRN_MDL_ICS_OFFSET_HRS: 6 | ||
task_get_extrn_lbcs: | ||
EXTRN_MDL_NAME_LBCS: FV3GFS | ||
FV3GFS_FILE_FMT_LBCS: netcdf | ||
LBC_SPEC_INTVL_HRS: 3 | ||
EXTRN_MDL_LBCS_OFFSET_HRS: 6 | ||
task_run_fcst: | ||
PREDEF_GRID_NAME: RRFS_CONUS_25km |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you may need to add a similar entry to the "nemsio" format for this to work. Changing the format to
nemsio
for the new test case you added I get this error:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is happening because the
gfs_file_names
anchor is shared for all sources, so when it tries hpss and doesn't succeed it deletes the sfc entry. Then when it tries aws, the entry is already gone. I think you can solve this by not using anchors in the yaml file (bad) or by making a deep copy of the dictionary before deleting the entries.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielabdi-noaa, nemsio is not available for the date (08/2022). netcdf and grib2 are only available. Do we need to add any other conditions for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielabdi-noaa, I've added if-statements to check the availability of
netcdf
andnemsio
for the cycle date injobs/JREGIONAL_GET_EXTRN_MDL_FILES
. If nemsio (or netcdf) is not available, theget_extrn_ics/lbcs
will fail with an error message.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chan-hoo I still think we need a safeguard against multiple deletions of the
sfc
file -- best would be to find another way that does not delete entries in thedata_locations
dictionary. Ifhpss
does not have the file for some reason (maybe it is down), and we want to tryaws
next, it will fail because thesfc
entry has been deleted by HPSS. The invalid nemsio date run i did (although wrong) shows what could happen if we can't find the file on hpss but could be available on aws. I added this before thedel
if statement to make it tryaws
successfully when it could not find it inhpss
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielabdi-noaa, yes, I agree with you. Can you help me? I've sent an invitation to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chan-hoo No big deal, i've pushed the change i think will avoid multiple deletions of the
sfc
file. It is not an ideal solution so lets wait for @christinaholtNOAA .There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!