-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature request: configurable lev positive attribute for History files #914
Comments
Agreed. If nothing else, even a global parameter that specifies up/down would be better than what we have now. |
I made custom updates to our fork of MAPL to achieve what we need for GCHP. It is in no way the best solution and would not work for you, but it fixes the problem for us until a more elegant solution comes along. See geoschem#10 for the changes I made. |
@lizziel Did you make a PR here as well? Or only on your fork? |
I did not make a PR here since I don't think my update is something you would want. It is definitely a kludge, and not even what we want long-term. I think what we actually want is an option in An implementation that does this would require some more work on our side. Right now I copy our data arrays into the MAPL exports with the opposite convention that MAPL assumes (surface is index 1). Ideally we would just stick with MAPL convention, so I'd vertically flip when copying into MAPL exports, but specify how they should be stored in the output file via Does that make sense, and is it a feature you would be willing to have? Pinging @sdeastham on this since we've discussed it in the past (see geoschem/GCHP#21). I want to make sure we all agree this is best way to proceed, at least for History exports. Checkpoints and imports are another conversation. |
I'm fine with what we discussed at the meeting today. For now assume that all 3D fields coming to History are following the GEOS convention (index 1 is the top of the atmosphere), but then give the user the ability to invert this. I'll take a look and make sure there are no issues but I can't foresee any. |
@lizziel This was fairly straightforward. I've made a PR to implement this as noted in the conversation. See that for details. |
…el_orientation #914 specify level orientation
@lizziel this already got merged in so this would in the next release (presumably 2.8.3) |
Excellent, thank you! As mentioned earlier we'd also like this functionality for imports and checkpoints. Would you like me to make separate feature requests for these? |
Could you make it a separate request. I'm a little less clear how I would do this in that how would the component know that this should be. This is probably best discussed as a new issue so please open a new one and I'll close this. |
All output files generated by MAPL History have
lev
attributepositive
set todown
by default. This is incorrect for the GEOS-Chem model which outputs most collections using vertical direction of positiveup
. I could custom edit the GEOS-Chem MAPL fork to change the default toup
but it would be better if it were configurable per collection. Right now ourEmissions
collection is down while all others are up. While it would admittedly be best to use the same convention for all collections, having the ability to set per collection would be most convenient.See also geoschem/GCHP#112.
@atrayano, @bena-nasa, @tclune
The text was updated successfully, but these errors were encountered: