-
Notifications
You must be signed in to change notification settings - Fork 28
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
Feature/minmaxtrh #183
Feature/minmaxtrh #183
Conversation
… as expanded the prdgen products to including SPC-specific fields.
fix/upp/spc_fields_rtma.txt
Outdated
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.
@EdwardColon-NOAA We no longer use "spc_fields_rtma.txt". If you want to update fields for SPC, please go ahead to update the file fix/upp/testbed_fields_rtma.txt
.
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.
@EdwardColon-NOAA, is this file still necessary for your PR? If not, please remove this file.
jobs/JRRFS_RUN_MAXTMINRH
Outdated
set -x | ||
|
||
if [ ${cyc} != "07" ] ; then | ||
echo -e "\nWARNING: GETMINT only runs at 07z. Exiting.\n" |
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.
Suggest changing "WARNING:" to something like "INFO:" or just removing "WARG"
jobs/JRRFS_RUN_MINTMAXRH
Outdated
set -x | ||
|
||
if [ ${cyc} != "19" ] ; then | ||
echo -e "\nWARNING: GETMINT only runs at 19z. Exiting.\n" |
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.
Similar comment about "WARNING:"
parm/FV3LAM_wflow.xml
Outdated
@@ -1235,13 +1249,9 @@ MODULES_RUN_TASK_FP script. | |||
<envar><name>CYCLE_SUBTYPE</name><value><cyclestr>spinup</cyclestr></value></envar> | |||
<envar><name>SLASH_ENSMEM_SUBDIR</name><value><cyclestr>{{ slash_ensmem_subdir }}</cyclestr></value></envar> | |||
<envar><name>NWGES_BASEDIR</name><value>&NWGES_BASEDIR;</value></envar> | |||
<envar><name>ENSCTRL_CYCLE_DIR</name><value><cyclestr>&ENSCTRL_CYCLE_BASEDIR;/@Y@m@d@H</cyclestr></value></envar> |
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.
It looks like these differences should not be here. I guess you might not merge the latest dev-sci branch to your PR correctly for FV3LAM_wflow.xml.
scripts/exrrfs_run_maxrh.ksh
Outdated
"WCOSS2") | ||
module load wgrib2/2.0.8 | ||
module list | ||
wgrib2=/apps/ops/prod/libs/intel/19.1.3.304/wgrib2/2.0.8_wmo/bin/wgrib2 |
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.
For wcoss2, you will need to add a local.lua file under modulefiles/tasks/wcoss2
For other machines, you don't need to do anything because build_.lua is loaded in the first place for any workflow tasks. wgrib2 is already available and no extra module load is needed.
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.
As @guoqing-noaa pointed out, the modules necessary for each task should be loaded in rrfs-workflow/modulefiles/tasks/wcoss2/[task_name].local.lua
. Please add a new file for run_maxrh
.
ush/generate_FV3LAM_wflow.sh
Outdated
@@ -610,6 +621,7 @@ ${EXPTDIR}/run_rocoto.sh" | |||
|
|||
echo "#!/bin/bash" > ${EXPTDIR}/run_rocoto.sh | |||
if [[ "${MACHINE,,}" == "wcoss2" ]] ; then | |||
rocoto_ver=1.3.5 |
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 the rocoto_ver
env variable should be available before line 625.
@chan-hoo Could you confirm whether we need to hardwire a version information in line 624? Thanks!
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.
To meet the NCO standards, the module version should be defined in rrfs-workflow/versions/run.ver
on WCOSS2.
@@ -21,6 +21,7 @@ if [[ -n $RESERVATION ]] ; then | |||
QUEUE_FCST="rth" | |||
QUEUE_ANALYSIS="rth" | |||
QUEUE_PRDGEN="rth" | |||
QUEUE_MINMAXTRH="rt" ` |
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.
remove unexpected trailing sting " `"
Also, replace "rt" with "rth"
@@ -59,6 +60,7 @@ envir="para" | |||
USE_CUSTOM_POST_CONFIG_FILE="TRUE" | |||
TESTBED_FIELDS_FN="testbed_fields_rtma.txt" | |||
TESTBED_FIELDS_FN2="testbed_fields_bgrd3d.txt" | |||
SPC_FIELDS_FN="spc_fields_rtma.txt" |
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.
remove line 63
@@ -53,6 +55,7 @@ envir="para" | |||
USE_CUSTOM_POST_CONFIG_FILE="TRUE" | |||
TESTBED_FIELDS_FN="testbed_fields_rtma.txt" | |||
TESTBED_FIELDS_FN2="testbed_fields_bgrd3d.txt" | |||
SPC_FIELDS_FN="spc_fields_rtma.txt" |
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.
remove line 58
ush/setup.sh
Outdated
@@ -811,6 +816,7 @@ FIX_SMOKE_DUST=${FIX_SMOKE_DUST:-"${HOMErrfs}/fix/smoke_dust"} | |||
FIX_BUFRSND=${FIX_BUFRSND:-"${HOMErrfs}/fix/bufrsnd"} | |||
AIRCRAFT_REJECT=${AIRCRAFT_REJECT:-"${FIX_GSI}"} | |||
SFCOBS_USELIST=${SFCOBS_USELIST:-"${FIX_GSI}"} | |||
FIX_MINMAXTRH=${FIX_MINMAXTRH:-"${HOMErrfs}/fix/minmaxtrh"} |
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.
Could you make a copy of FIX_MINMAXTRH to Hera or Jet? I can facilitate syncing them to all available rrfs-workflow platforms.
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.
We need to sync fix files in all rrfs-workflow platforms.
ush/config_defaults.sh
Outdated
@@ -1539,6 +1541,7 @@ SFC_CLIMO_DIR="" | |||
NCORES_PER_NODE=24 #Jet default value | |||
IS_RTMA="FALSE" | |||
FG_ROOTDIR="" | |||
RRFS_GRIBDIR="" |
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.
Suggest changing RRFS_GRIBDIR
to RRFS_PRODDIR
ush/generate_FV3LAM_wflow.sh
Outdated
@@ -610,6 +621,7 @@ ${EXPTDIR}/run_rocoto.sh" | |||
|
|||
echo "#!/bin/bash" > ${EXPTDIR}/run_rocoto.sh | |||
if [[ "${MACHINE,,}" == "wcoss2" ]] ; then | |||
rocoto_ver=1.3.5 |
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.
To meet the NCO standards, the module version should be defined in rrfs-workflow/versions/run.ver
on WCOSS2.
@EdwardColon-NOAA, Please let us know which sample configuration you used. We'd like to test your PR with the configuration again before approving it. |
Added the contents of spc_fields_rtma.txt to testbed_fields_rtma.txt in order to consolidate postprocessing.
Removed references to SPC prdgen output file.
removed reference to spc_fields_rtma.txt
Changed the RRFS model output filename from RRFS_GRIBDIR to RRFS_PRODDIR. Also removed reference to SPC output.
removed rocoto_ver module load.
ush/set_rrfs_config_general.sh
Outdated
@@ -284,7 +294,7 @@ if [[ ${PREDEF_GRID_NAME} == "RRFS_CONUS_3km" ]] ; then | |||
LAYOUT_X="30" | |||
LAYOUT_Y="40" | |||
PPN_RUN_FCST="40" | |||
WTIME_RUN_PRDGEN="00:20:00" | |||
WTIME_RUN_PRDGEN="00:20:00 |
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.
Need a matching " at the end.
fix/upp/spc_fields_rtma.txt
Outdated
@@ -0,0 +1,347 @@ | |||
PRES:surface: |
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.
Thanks for incorporating changes into testbed_fields_rtma.txt
. This spc_fields_rtma.txt
file may be deleted safely now.
corrected value of QUEUE_MINMAXTRH to rth,
Removed RUN_ENVIR & RUN environment variables.
Removed RUN_ENVIR and RUN environment variables.
removed machine dependencies on module load scripts and updated the executable command lines.
Removed machine dependencies in module loads and updated executable command.
Removed machine-dependent module loads and updated executable statement.
Removed machine-dependent module loads and updated executable command line.
modified RRFS_GRIBDIR to RRFS_PRODDIR
scripts/exrrfs_bufrsnd.sh
Outdated
@@ -269,12 +277,13 @@ ln -sf ./itag fort.11 | |||
|
|||
echo DONE $fhr at `date` | |||
|
|||
mv $DATA/bufrpost/profilm.c1.${tmmark} $DATA/profilm.c1.${tmmark}.f${fhr} | |||
cp $DATA/profilm.c1.${tmmark} $DATA/profilm.c1.${tmmark}.f${fhr} |
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.
This PR not only changes "mv" to "cp" but also changes the directory structure (i.e. removes the "bufrpost" subdir). why do rrfs and rtma have different treatments here?
scripts/exrrfs_bufrsnd.sh
Outdated
mv $DATA/profilm_int $DATA/profilm.c1.${tmmark} | ||
|
||
if [[ "${NET}" = "RTMA"* ]]; then | ||
mv $DATA/profilm_int $DATA/profilm.c1.${tmmark} |
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.
To confirm, rrfs version does not need to do this "mv"?
scripts/exrrfs_run_prdgen.sh
Outdated
for grid in ${ADDNL_OUTPUT_GRIDS[@]} | ||
do | ||
for leveltype in prslev natlev ififip testbed | ||
for leveltype in prslev natlev ififip testbed |
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.
remove the trailing space as there is no change in this line.
Resolved DO_MINMAXTRH option list index.
Removed blank line and correct QUEUE labels.
Updated version number
Removed extraneous conditional block
Removed minmaxtrh fix file path.
Updated the node count variable for MINMAXTRH.
Updated several more variable names.
Converted cp command on line 280 back to mv.
Trailing space on line 446 removed.
@@ -0,0 +1,243 @@ | |||
#!/bin/bash |
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.
Is there a reason these files are named *.ksh, even though they are bash shells?
Hello Edward,
This PR will be supplanted as a new code is being finalized for generating
min/max T & RH calculations on the North American domain rather than on the
HRRR domain. The *.ksh file suffix is a residual suffix for older versions
of the min/max T & RH ex-scripts which employed the korn shell rather than
bash shell. That will be rectified.
…On Sun, Sep 22, 2024 at 4:15 AM Edward Hartnett ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In scripts/exrtma_run_maxtbg.ksh
<#183 (comment)>
:
> @@ -0,0 +1,243 @@
+#!/bin/bash
Is there a reason these files are named *.ksh, even though they are bash
shells?
—
Reply to this email directly, view it on GitHub
<#183 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFXXQHPHNW75K72X4VUOYLZXZ4BPAVCNFSM6AAAAABBG6SBJOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMRQGM4TKOBXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-------------------------------------------------
Edward Colón
*Lynker* at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
Rm #2025
Riverdale, MD 20737
Office: (301) 683-3815
Cell: (301) 213-3566
|
Is there an issue associated with this PR? |
This PR needs to be updated to catch the latest rrfs.v1 version. |
Hello,
Yes, the PR was initially designed to introduce the capability of min/max T
and RH products produced by the RRFS-based 3D-RTMA. However, since it was
initially committed, the scope has changed since those products were
specified on a HRRR specified domain rather than a North American domain.
The update has forced significant modifications in the existing min/max T &
RH executable source codes as well as the ex-scripts. There has also been a
further complication with a disagreement between the first guess and
analysis products. This discrepancy should be the last issue to resolve
before testing, an update in existing code to match the latest rrfs.v1
version, and a recommit.
…On Sat, Oct 5, 2024 at 10:45 AM Edward Hartnett ***@***.***> wrote:
Is there an issue associated with this PR?
—
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFXXQGTZFBJ2U4UA4RHFS3ZZ73SBAVCNFSM6AAAAABBG6SBJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGA4DCMBVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-------------------------------------------------
Edward Colón
*Lynker* at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
Rm #2025
Riverdale, MD 20737
Office: (301) 683-3815
Cell: (301) 213-3566
|
Hi Guoqing,
I am leaning towards closing this PR and issuing a new one since there need
to be updates to the min/max source codes in the rrfs_util repository as
well.
…-Edward
On Sat, Oct 5, 2024 at 10:51 AM Guoqing Ge ***@***.***> wrote:
Is there an issue associated with this PR?
This PR needs to be updated to catch the latest rrfs.v1 version.
@EdwardColon-NOAA <https://github.com/EdwardColon-NOAA> Do you plan to
continue to work on this or close this PR and create a new one?
—
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFXXQBLL67FSFDAUZBZENDZZ74G7AVCNFSM6AAAAABBG6SBJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGA4DENJSGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-------------------------------------------------
Edward Colón
*Lynker* at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
Rm #2025
Riverdale, MD 20737
Office: (301) 683-3815
Cell: (301) 213-3566
|
Can we please start an issue for this work? |
@EdwardColon-NOAA Please close this PR and start an issue for this work if needed. |
Will do.
…-Edward
On Fri, Oct 11, 2024 at 1:43 PM Ming Hu ***@***.***> wrote:
@EdwardColon-NOAA <https://github.com/EdwardColon-NOAA> Please close this
PR and start an issue for this work if needed.
—
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFXXQGNK4PBW2HVMTA6AODZ3AE2HAVCNFSM6AAAAABBG6SBJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXHA3DOMJWGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-------------------------------------------------
Edward Colón
*Lynker* at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
Rm #2025
Riverdale, MD 20737
Office: (301) 683-3815
Cell: (301) 213-3566
|
close as agreed. |
Additional workflow steps, ex-scripts, and j-job scripts have been added in order to facilitate the computation of min/max 2m temperatures and relative humidities for RTMA parallels.
These changes are listed below:
exrrfs_run_maxrh.ksh
exrrfs_run_minrh.ksh
exrrfs_run_mintbg.ksh
exrrfs_run_maxtbg.ksh
JRRFS_RUN_MAXTMINRH
JRRFS_RUN_MINTMAXRH