NOAA-EMC / UPP

Other
33 stars 95 forks source link

Updates to use GRIB2 template 4.9 for QPFFFG and QPFARI variables in RRFS #929

Closed EricJames-NOAA closed 2 months ago

EricJames-NOAA commented 3 months ago

In order to appropriately encode the new QPFFFG and QPFARI variables as probabilities of QPF exceeding certain thresholds, we need to use GRIB2 template 4.9.

This change requires an update to NCEPLIBS-g2tmpl...and a PR for the required changes has been opened:

https://github.com/NOAA-EMC/NCEPLIBS-g2tmpl/pull/117

The code was tested for RRFS_NA_3km on Jet.

Combine another update: output of the instantaneous clear-sky downward shortwave flux at the surface for RRFS, which is required since this field was output in NAM-Nest.

WenMeng-NOAA commented 2 months ago

@EricJames-NOAA Can you sync your branch with the latest UPP develop branch?

WenMeng-NOAA commented 2 months ago

@EricJames-NOAAA All flat control files besides RRFS need to be recreated since the updates in POST-XML-Library-NT.pl. you might do:

cd UPP/parm
make clean
make
WenMeng-NOAA commented 2 months ago

@EricJames-NOAA I conducted the UPP standalone test with model files provided by you at /scratch1/BMC/wrfruc/ejames/wen_clearsky/ My test results are at /home/Wen.Meng/stmp2/rrfs_2023072903 on Hera. I saw instant clear-sky SW downward flux generated as:

822:617809883:ndata=1905141:undef=0:mean=0.223535:min=0:max=48.45:cos_wt_mean=0.193224:d=2023072903:CSDSF:surface:1 hour fcst:

Please validate my test. Thanks!

WenMeng-NOAA commented 2 months ago

The UPP RTs have been completed on WCOSS2 and Hera. The baseline updates are needed for fv3r and 3drtma.

Wen.Meng@hfe07 stmp2$ pwd
/home/Wen.Meng/stmp2
Wen.Meng@hfe07 stmp2$ ls -ltr */*diff
-rw-r--r-- 1 Wen.Meng stmp   75 May 10 16:17 rap_2020072316_pe_test/WRFPRS.GrbF16.diff
-rw-r--r-- 1 Wen.Meng stmp  616 May 10 16:18 fv3r_2023062800/PRSLEV10.tm00.diff
-rw-r--r-- 1 Wen.Meng stmp  616 May 10 16:19 fv3r_2023062800_pe_test/PRSLEV10.tm00.diff
-rw-r--r-- 1 Wen.Meng stmp 1086 May 10 16:19 rtma_2023040400_pe_test/PRSLEV00.tm00.diff
-rw-r--r-- 1 Wen.Meng stmp 1086 May 10 16:19 rtma_2023040400/PRSLEV00.tm00.diff
EricJames-NOAA commented 2 months ago

@EricJames-NOAA I conducted the UPP standalone test with model files provided by you at /scratch1/BMC/wrfruc/ejames/wen_clearsky/ My test results are at /home/Wen.Meng/stmp2/rrfs_2023072903 on Hera. I saw instant clear-sky SW downward flux generated as:

822:617809883:ndata=1905141:undef=0:mean=0.223535:min=0:max=48.45:cos_wt_mean=0.193224:d=2023072903:CSDSF:surface:1 hour fcst:

Please validate my test. Thanks!

@WenMeng-NOAA your results are identical to mine. Thanks!

WenMeng-NOAA commented 2 months ago

@EricJames-NOAA I conducted the UPP standalone test with model files provided by you at /scratch1/BMC/wrfruc/ejames/wen_clearsky/ My test results are at /home/Wen.Meng/stmp2/rrfs_2023072903 on Hera. I saw instant clear-sky SW downward flux generated as:

822:617809883:ndata=1905141:undef=0:mean=0.223535:min=0:max=48.45:cos_wt_mean=0.193224:d=2023072903:CSDSF:surface:1 hour fcst:

Please validate my test. Thanks!

@WenMeng-NOAA your results are identical to mine. Thanks!

@EricJames-NOAA Thanks for confirming. I will warp up this PR for the merging process.

WenMeng-NOAA commented 2 months ago

This PR is ready for merging.