Skip to content

Exceedance code to output comparisons of QPF with Flash Flood Guidance#8

Merged
EricJames-NOAA merged 8 commits into
NOAA-GSL:RRFS_devfrom
EricJames-NOAA:exceed_code
Jul 7, 2021
Merged

Exceedance code to output comparisons of QPF with Flash Flood Guidance#8
EricJames-NOAA merged 8 commits into
NOAA-GSL:RRFS_devfrom
EricJames-NOAA:exceed_code

Conversation

@EricJames-NOAA
Copy link
Copy Markdown
Collaborator

This code is to output gridded binary fields indicating where model QPF exceeds Flash Flood Guidance (FFG) for 1h, 3h, 6h, and 12h accumulation periods. SURFCE.f and grib2_module.f were modified to read in FFG GRIB2 files (available on /public) and do the comparison. Flat files were also modified to add the four new exceedance fields.

Code was tested both in a stand-alone UPP setup, and in a full RRFS-dev1 like deployment in my own space (in combination with small modifications to exregional_run_post.sh in the regional_workflow repository, which is a separate pull request).

@EricJames-NOAA EricJames-NOAA requested a review from hu5970 June 24, 2021 19:57
@EricJames-NOAA EricJames-NOAA self-assigned this Jun 29, 2021
DATA IFILV(925),AVBL(925),IQ(925),IS(925),AVBLGRB2(925) &
& /1,'6H 100Y ARI EXCEDNCE',166,001, &
& '6H 100Y ARI ON surface'/
! CD and CH exchange coefficients
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This piece of the code is for grib1 but grib1 is not in UPP anymore.
So we don't need to change code in RQSTFLD.F
You can delete this part.

@hu5970
Copy link
Copy Markdown

hu5970 commented Jul 6, 2021

@EricJames-NOAA Please clean the code based on my comment and merge the code.

We can use the current code to start merge with EMC develop. But if we want to commit our code back to EMC development branch, we may need to do more work to improve the code. We can leave this when we talk about commit code back to EMC.

@EricJames-NOAA EricJames-NOAA merged commit b79dda0 into NOAA-GSL:RRFS_dev Jul 7, 2021
@EricJames-NOAA
Copy link
Copy Markdown
Collaborator Author

Thanks for the comments @hu5970 ! Yes, the code could be improved I'm sure. My focus was just to get something that works.

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.

2 participants