Output of auxiliary 2d/3d arrays from CCPP (and other parts of the model)#21
Merged
Merged
Conversation
Author
|
Since changes to the CCPP physics for debugging purposes are not to be committed to the repository, I am giving an example for how to use these capabilities and show results here. I modified the GF scheme as follows: and I then added the following lines to input.nml in the Lastly, I added the following three lines to The output was as expected (keeping in mind that the output at 0h is written after the first timestep, i.e. after one pass through the physics) for the three auxiliary output arrays, see screenshots. |
Author
…d/phys_reset logic
This was referenced Apr 28, 2020
DomHeinzeller
approved these changes
Apr 29, 2020
zhanglikate
referenced
this pull request
in zhanglikate/ufsatm
Oct 7, 2025
* Remove unused and unsupported code (See NOAA-EMC#21) * Remove APPBUILD step from rt.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR adds the capability to output auxiliary 2d/3d data from CCPP (and other parts of the model).
For the description of the problem and the proposed solution, see
https://docs.google.com/document/d/1VVHMR89vw6m3ADvAkipvDRiga6GffsVKpYYEZBVnkFU/edit?usp=sharing
In brief, this PR adds the required host model variables and metadata to GFS_typedefs.* and registers the output fields in GFS_diagnostics.F90. Developers who want to use these arrays will need to add the metadata and variables to their physics scheme and populate the arrays inside their scheme (as in the example below).
Associated PRs:
#21
NOAA-GSL/ufs-weather-model#17
For regression testing, see NOAA-GSL/ufs-weather-model#17.