Skip to content
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

Add smoke density from RAP files as an optional output from chgres #851

Closed
DavidHuber-NOAA opened this issue Sep 7, 2023 · 5 comments · Fixed by #923
Closed

Add smoke density from RAP files as an optional output from chgres #851

DavidHuber-NOAA opened this issue Sep 7, 2023 · 5 comments · Fixed by #923
Assignees

Comments

@DavidHuber-NOAA
Copy link
Collaborator

To support RRFS-Smoke and Dust (SD) sub-CONUS experiments, it would be very helpful to have boundary conditions for smoke concentration. The RAP and HRRR output this parameter (MASSDEN, GRIB2 octet 10/11 = 20/0). RRFS-SD smoke concentrations are calculated as a mixing ratio (μg·kg$^{-1}$) while the RAP output is in mass density (kg·m$^{-3}$), so this conversion will also need to be applied.

@GeorgeGayno-NOAA
Copy link
Collaborator

@DavidHuber-NOAA there was a PR issued for this option (#923). Were you aware of this?

@DavidHuber-NOAA
Copy link
Collaborator Author

No, but that's great! I'm glad to hear it was picked up.

@MichaelLueken
Copy link

@DavidHuber-NOAA, @jordanschnell, and @GeorgeGayno-NOAA -

I've been attempting to run PR #923 through the SRW App (fundamental tests only, no RRFS-SD testing) and noted an issue:

If the RAP or HRRR external model file doesn't contain smoke data (which is the case for the majority of the currently staged HRRR files), chgres_cube will fail while attempting to read in the smoke data with an I/O error code (makes sense because there is no data to read in).

Should the modifications in PR #923 be controlled by a namelist variable (or some other method), so that the smoke data will only be pulled for RRFS-SD testing, or will it be a case that RAP and HRRR files will no longer be able to run through chgres_cube unless they contain smoke data?

@jordanschnell
Copy link
Contributor

@MichaelLueken This is a good point and we had not considered this. So yes, there should be additional controls for this situation. I will look into it. Thanks!

@GeorgeGayno-NOAA
Copy link
Collaborator

@MichaelLueken This is a good point and we had not considered this. So yes, there should be additional controls for this situation. I will look into it. Thanks!

The read of GRIB2 data is controlled by the varmap file:
https://github.com/ufs-community/UFS_UTILS/tree/develop/parm/varmap_tables

GeorgeGayno-NOAA pushed a commit that referenced this issue Nov 12, 2024
This smoke data is available in the RAP/HRRR GRIB2 data. 

This PR includes a new varmap file for using this data. 

A new regression test was added for testing this configuration.

Fixes #851
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants