-
Notifications
You must be signed in to change notification settings - Fork 104
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 capability to use RAP/HRRR MASSDEN as smoke IC/LBCs #923
base: develop
Are you sure you want to change the base?
Conversation
I am curious what project or implementation this PR supports. |
I'm not sure exactly which details you need, but this is largely research oriented e.g., For computational efficiency, for retrospective experiments prior to RRFS-A SD implementation, we often only want to run the CONUS domain but would still like e.g., Canadian originated smoke to enter the domain (e.g., DRSA FIRE3). The same could be said for using HRRR IC/BCs for the fire nest. This wIll also support NOAA ERB funded work. |
We ask that developers run the consistency tests located in |
Will do - and will look into these failures. Thank you for the information. |
I ran the tests on Jet and also received the two failures (13-km CONUS RAP W/ GSD PHYSICS AND SFC FROM FILE GRIB2 and 3-km CONUS HRRR W/ GSD PHYSICS AND SFC FROM FILE GRIB2). This makes sense though, since smoke is being added to the files and so e.g., there is an additional tracer in the out files. How would you like this to be addressed? |
The number of tracers in |
As a test, I ran the The test script was updated as follows:
The modified input data and the script used to create it is here: |
But if the end result of my modifications is to add a new tracer to the out file, won't it automatically fail? |
For the first test using the modified input data, I updated the varmap file as follows:
Since there are no smoke records, processing should stop. And that is what the log file shows:
|
I don't have access to this system. Are you suggesting I add something to the code? Or the reg test? |
Can you explain why you modified this? |
The varmap files have several choices with how to process fields:
According to the README file, users can adjust how fields are processed using the varmap file. (See the instructions for column 3). Options include 'stop', 'skip' 'set_to_fill' etc. These different options need to be tested. So, I am temporarily modifying the varmap file. https://github.com/ufs-community/UFS_UTILS/blob/develop/parm/varmap_tables/README |
Next, test the 'skip' function. Modify the varmap table as follows:
The log file shows:
And the out.atm.tile7.nc file contains a smoke record. Because the input GRIB2 file does not contain smoke, that was unexpected. According to the README, when 'skip' is used, there should not be a smoke record.
@LarissaReames-NOAA and @JeffBeck-NOAA - you understand the GRIB2 option better I do. What is the expected result in this case? |
DESCRIPTION OF CHANGES:
Previously, massden/smoke was not part of the variable list to ingest into IC/LBCs from RAP/HRRR models. This PR adds the massden/smoke to the mapping table and adds the necessary functionality to read in and convert to the correct units. An additional allocated array is created when using RAP/HRRR for ICs/LBCs during the smoke read to be able to convert units. Other models (e.g., GFS) will not attempt to read in smoke.
TESTS CONDUCTED:
Describe any additional tests performed.
DEPENDENCIES:
none
DOCUMENTATION:
If this PR is contributing new capabilities that need to be documented, please also include updates to the RST files in the docs/source directory as supporting material.
ISSUE:
Fixes #851.
CONTRIBUTORS:
Johana Romero-Alvarez (CIRES/NOAA GSL)