History outputs from GCHP may have vertical orientation that is either positive 'up' or 'down' depending on the collection. However, positive is always specified as 'down' in the file metadata even when it is actually 'up'. A fix for this could be as follows per discussion with @bena-nasa:
Specify positive attribute as 'up' or 'down' when creating state fields. We need this for exports but it could be for exports, imports, and internal state. This could be optional with 'down' as the default so that nothing needs to change in GEOS.
When writing history files check the positive attribute for all fields in a given collection. Require that all of them are the same, and then include that positive attribute value in the output file. Fail with an error if they are not all the same.
Do not do any special flipping of the arrays based on whether it is specified as 'up' or 'down'. Trust that the user knows what they are doing in handling the flipping during array assignment if needed.
History outputs from GCHP may have vertical orientation that is either positive 'up' or 'down' depending on the collection. However, positive is always specified as 'down' in the file metadata even when it is actually 'up'. A fix for this could be as follows per discussion with @bena-nasa: