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 addresses #914
The GCHP users requested the ability to flip the native output relative to the input. It was agreed that for now we will assume History always gets fields "down" in that level 1 is the top of the atmosphere. This is true in GEOS and in GCHP they adjust the inputs to History so the is the case. However, they were requesting that it would be nice if you could get output from History that conforms to the GCHP convention that level 1 is the surface so it would be less confusing for users.
This PR adds a 'positive' option to the history collection. By default it is 'down' and the only other allowed option is 'up'. If you specify any "levels" either to select model levels to regrid to pressure, height etc ... this is ignored, so only used if you are specifying full native level output. We assume all 3D fields coming to history will be 'down' as in GEOS and so by default nothing is done. If you specify 'up' the positive attribute in the output is now 'up' and the levels will be flipped relative to what came into History.
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: