-
Notifications
You must be signed in to change notification settings - Fork 23
Feature/rrfs dev1: add retro and radar tten functions #108
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
Changes from 6 commits
00521b1
8bae7f7
b4d0d0e
adc6703
1b99c70
8138ddb
5de8919
3a85143
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,7 @@ FIX_GSI=/mnt/lfs4/BMC/nrtrr/RRFS/fix/fix_gsi | |
| FIX_CRTM=/home/rtrr/FIX_EXEC_MODULE/crtm/CRTM_v2.3.0 | ||
| OBSPATH_NSSLMOSIAC=/public/data/radar/nssl/mrms/conus | ||
| RADARREFL_TIMELEVEL=(0 15 30 45) | ||
| #FH_DFI_RADAR=(0.0,0.25,0.5) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you mean
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has to include comma as it will be used to fill in namelist variable.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, I see. In this case, to avoid confusion, would it be enough to just let
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That doesn't not work when python generates the namelist for FV3. |
||
|
|
||
| VERBOSE="TRUE" | ||
|
|
||
|
|
@@ -53,6 +54,17 @@ CYCLEMONTH="5-7" | |
| #CYCLEDAY="1-4" | ||
|
|
||
| if [[ $DO_RETRO == "true" ]] ; then | ||
|
|
||
| if [[ $MACHINE == "jet" ]] ; then | ||
| EXTRN_MDL_SOURCE_BASEDIR_ICS=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/hrrr/conus/wrfnat/grib2 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have data staging scripts available? Or most users will get retro data from /mnt/lfs4/BMC/wrfruc/Ruifang.Li/data?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we only needs one copy of the data in the disk and all retros should use this one copy of the data to save the disk space. |
||
| EXTRN_MDL_SOURCE_BASEDIR_LBCS=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/rap/full/wrfnat/grib2 | ||
| # EXTRN_MDL_SOURCE_BASEDIR_LBCS=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/gfs/0p25deg/grib2 | ||
| OBSPATH=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/obs_rap | ||
| OBSPATH_NSSLMOSIAC=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/reflectivity | ||
| LIGHTNING_ROOT=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/lightning/vaisala/netcdf/ | ||
| ENKF_FCST=/mnt/lfs4/BMC/wrfruc/Ruifang.Li/data/enkf/atm | ||
| fi | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove user-specific paths.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the location we stage the retro data now. Will be used by all other users to run the same retro. |
||
|
|
||
| if [[ $LBCS_ICS_ONLY == "true" ]]; then | ||
| PREEXISTING_DIR_METHOD="rename" | ||
| INITIAL_CYCLEDEF="00 10,22 ${CYCLEDAY} ${CYCLEMONTH} 2021 *" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -669,9 +669,9 @@ NOMADS_file_type="nemsio" | |
| #----------------------------------------------------------------------- | ||
| # | ||
| USE_USER_STAGED_EXTRN_FILES="FALSE" | ||
| EXTRN_MDL_SOURCE_BASEDIR_ICS="/base/dir/containing/user/staged/extrn/mdl/files/for/ICs" | ||
| EXTRN_MDL_SOURCE_BASEDIR_ICS="" | ||
| EXTRN_MDL_FILES_ICS=( "ICS_file1" "ICS_file2" "..." ) | ||
| EXTRN_MDL_SOURCE_BASEDIR_LBCS="/base/dir/containing/user/staged/extrn/mdl/files/for/LBCs" | ||
| EXTRN_MDL_SOURCE_BASEDIR_LBCS="" | ||
| EXTRN_MDL_FILES_LBCS=( "LBCS_file1" "LBCS_file2" "..." ) | ||
| # | ||
| #----------------------------------------------------------------------- | ||
|
|
@@ -1009,6 +1009,11 @@ ESGgrid_WIDE_HALO_WIDTH="" | |
| # BLOCKSIZE: | ||
| # The amount of data that is passed into the cache at a time. | ||
| # | ||
| # FH_DFI_RADAR: | ||
| # The forecast period of using radar tten. Array of 5: | ||
| # (0.0,0.25,0.5,0.75,1.0) to use radar tten in the first hour of the | ||
| # forecast with reading new observed tten every 15 minutes. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggest to change the comments here to something as follows to adapt to the change of FH_DFI_RADAR to a string |
||
| # | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When does the period start and end? Is this 0-4 if
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added more details. |
||
| # Here, we set these parameters to null strings. This is so that, for | ||
| # any one of these parameters: | ||
| # | ||
|
|
@@ -1033,6 +1038,7 @@ DT_ATMOS="" | |
| LAYOUT_X="" | ||
| LAYOUT_Y="" | ||
| BLOCKSIZE="" | ||
| FH_DFI_RADAR=(-20000000000) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to leave FH_DFI_RADAR as an empty array if expected to run without radar tten?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We cannot set empty value to namelist parameters. This is default value for this namelist variable.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggest changing to
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does not work that way. |
||
| # | ||
| #----------------------------------------------------------------------- | ||
| # | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -840,7 +840,10 @@ if [ "${DO_DACYCLE}" = "true" ]; then | |
| 'nggps_ic' : false, | ||
| 'mountain' : true, | ||
| 'warm_start' : true, | ||
| }" | ||
| } | ||
| 'gfs_physics_nml': { | ||
| 'fh_dfi_radar': [${FH_DFI_RADAR[@]}], | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hu5970 To accommodate changing FH_DFI_RADAR to a string, line 845 will need to be updated as:
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. String works now and it is better solution. I have committed the changes. Thanks. |
||
| }" | ||
|
|
||
| $USHDIR/set_namelist.py -q \ | ||
| -n ${FV3_NML_FP} \ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,7 @@ FV3_GSD_SAR: | |
|
|
||
| FV3_HRRR: | ||
| fv_core_nml: | ||
| dz_min: 6.0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this an intended change for tten?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is bug fix from Tanya. |
||
| hord_dp: -5 | ||
| hord_mt: 5 | ||
| hord_tm: 5 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -955,6 +955,7 @@ MODULES_RUN_TASK_FP script. | |
|
|
||
| </metatask> | ||
|
|
||
| {%- if not do_retro %} | ||
| <!-- | ||
| ************************************************************************ | ||
| ************************************************************************ | ||
|
|
@@ -993,6 +994,8 @@ MODULES_RUN_TASK_FP script. | |
| </metatask> | ||
|
|
||
| {%- endif %} | ||
| {%- endif %} | ||
|
|
||
| {%- if not do_retro %} | ||
| <!-- | ||
| ************************************************************************ | ||
|
|
@@ -1013,7 +1016,6 @@ MODULES_RUN_TASK_FP script. | |
|
|
||
| </task> | ||
|
|
||
| {%- endif %} | ||
| {%- if machine in ["JET", "HERA"] %} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A general question, do retros need the archive task?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure. But I never archived my retros runs and it is OK so far. If we need to archive retro for paper, we should only archive grib2 files under com. |
||
| <!-- | ||
| ************************************************************************ | ||
|
|
@@ -1035,5 +1037,6 @@ MODULES_RUN_TASK_FP script. | |
| </task> | ||
|
|
||
| {%- endif %} | ||
| {%- endif %} | ||
|
|
||
| </workflow> | ||
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.
Should this setting be on? If not, please remove commented code.
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.
Some will be on and some will be off. It will be used in 3km CONUS if the parallel test in the next couple of week show positive impact.