Skip to content

Commit

Permalink
conversion updates - qneg specifics and temp standard name convenctions
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Sep 12, 2024
1 parent f00f1d1 commit 39a87b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conversion/create-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Replace all `enter_*` sections with appropriate information (standard_name, unit
- If you need to create your own standard name, the current proposal for creating standard names can be found here: https://github.com/ESCOMP/CCPPStandardNames/blob/main/StandardNamesRules.rst
- May need to consult with WRF / MPAS scientists and other SIMA groups to coordinate StandardName usage.
- Keep a list of StandardNames that you introduce and give them to a CAM SE for incorporation into an upcoming CCPPStandardNames PR
- If you create your own name (for now), add `_TBD` to the end fo the name to signify that it has not been discussed yet
!!! Warning "Updated standard names"
If, in the course of your implementation or during code review to the CCPPStandardNames repository, the standard name changes, please update the name in the spreadsheet to reflect the change!

Expand Down
5 changes: 5 additions & 0 deletions docs/conversion/interstitials.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ As mentioned, there are some calculations/conversions/translations that are perf
- **qneg.F90**:
- **qneg**: Set values for constituent variables that are less than the minimum value to the minimum value (and print out what it's doing - configurable!)
- You will want to include qneg in your SDF if you are modifying constituent tendencies in your scheme. It should be after the tendencies are applied and before `geopotential_temp`
- If `qneg` is in your SDF, you will need to provide the output variable `scheme_name` in your physics parameterization that is modifying constituent tendencies

!!! Warning "scheme_name variable"
If you skip this step, you will get either `parse_source.CCPPError: Input argument for qneg_run, scheme_name, not found`, or an incorrect scheme_name from a previous routine will be used

- **physics_tendency_updaters.F90**: apply tendencies output by physics to state variables. You'll need to include a tendency updater in your SDF for any `ptend%X` variables in the CAM-version of your code.

| Scheme name | Description | Inout variable | Input variable |
Expand Down

0 comments on commit 39a87b5

Please sign in to comment.