-
Notifications
You must be signed in to change notification settings - Fork 355
Usability: Add postprocessing instructions and tools #4044
Copy link
Copy link
Open
Parent
0 / 10 of 1 issue completed
Copy link
Labels
b4bbit-for-bitbit-for-bitnextthis should get some attention in the next week or two. Normally each Thursday SE meeting.this should get some attention in the next week or two. Normally each Thursday SE meeting.size: largeLarge project that will take a few weeks or moreLarge project that will take a few weeks or moreusabilityImprove or clarify user-facing optionsImprove or clarify user-facing options
Milestone
Metadata
Metadata
Assignees
Labels
b4bbit-for-bitbit-for-bitnextthis should get some attention in the next week or two. Normally each Thursday SE meeting.this should get some attention in the next week or two. Normally each Thursday SE meeting.size: largeLarge project that will take a few weeks or moreLarge project that will take a few weeks or moreusabilityImprove or clarify user-facing optionsImprove or clarify user-facing options
Type
Fields
Give feedbackNo fields configured for Parent.
CTSM history variables can be confusing and processing the history files is nontrivial, meaning that there's a lot of room for mistakes. A significant volume of our support requests are questions like, "What variables should I save to get aboveground biomass?" and "How do I make maps with this PFT-level output?" We should support documentation and tools to help with such common questions.
I'm starting this issue as a parent for eventual children. As we decide to work on things listed here, we can convert them from check boxes to sub-issues.
What?
"Which outputs should I save to calculate X?"
Make sure to include information like what variables to save and at what subgrid level, if applicable. These would be mostly just documentation updates, but it would be good to also test somehow that whatever variable list we give at least doesn't contain bad names.
"How do I do Y with the history files?"
These would require both (a) development of tooling and/or testing and (b) additions to our docs.
*1d_ityp*variable valuesWhere?
The NCAR/ctsm_python_gallery repo had some notebooks and functions to illustrate and/or help with common tasks. However, it hasn't been touched in years, it has nothing in the way of testing, and it's seemingly run out of space. I would be in favor of deprecating it in favor of a new repo focused mainly around Python tools/modules. We could include some notebooks as illustrative examples, I guess, but I would prefer to instead have proper documentation. (Although apparently there are Sphinx extensions to embed Jupyter Notebooks...)
I've already done some work in this direction in my ctsm_postprocessing repo. This contains the Python modules from the other repo and has added testing for some of them. It's currently used as an external in my crop CUPiD branch, so once that comes into main CUPiD and CUPiD comes into CTSM we'll get it for "free." In the meantime, I think we'd want to bring it in as a submodule to CTSM at
python/ctsm/ctsm_postprocessing/.The postprocessing code there would be available for anyone to import, copy into their own stuff, whatever. We would also add wrapper scripts to
tools/as necessary for any command-line utilities we want to support.