-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add histogram plot type and ocean histogram task #917
Conversation
I've tested this out on chrysalis. Using this cfg section:
You can create the figures shown here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbegeman, this is really great work, and it will be such a nice capability to have!
I tested this out and ran across a few things that could be done to improve the task a bit. The main one is that you need to make sure the plot subtasks only run after the weight subtasks.
But it also seems like it would be a good idea to make sure the subtask names and file names include the region group, since some regions are in multiple region groups so there could be conflicts.
I'll re-test as soon as these changes are in place.
Co-authored-by: Xylar Asay-Davis <xylarstorm@gmail.com>
4ed320d
to
befb404
Compare
befb404
to
5f5972b
Compare
5f5972b
to
ba6dacd
Compare
@cbegeman, oh, great, thanks for fixing the sea-ice typo! I think that's fine to fix here. I can't believe we missed that! |
I'll re-test now and then run the full test suite if everything goes well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Just 2 small things I noticed when I ran my test, now that the web page came up. Almost done...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we had it but that's why we do testing...
Two more little things. Please double check my suggestions, I'm not 100% sure they're right, well formatted and typo free.
ea4fd94
to
70d9ee3
Compare
One more request would be to add some documentation, both in the API: |
70d9ee3
to
1ba4bbb
Compare
1ba4bbb
to
c48363d
Compare
@xylar I added the task to the docs and fixed up a couple config-related issues in the code. This is ready for your review. |
Running one last set of tests, then I think this will be ready to merge! |
Other config options include ``lineWidth``, ``mainColor``, ``obsColor``, | ||
``controlColor``, ``titleFontSize``, ``defaultFontSize``. For more details on | ||
the remaining config options, see | ||
* :ref:`config_seasons` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm seeing:
/gpfs/fs1/home/ac.xylar/mpas-work/MPAS-Analysis/add_ocean_hisogram_task/docs/users_guide/tasks/oceanHistogram.rst:113: ERROR: Unexpected indentation.
But this line looks perfectly fine to me. I'm going to ignore it but figured I'd note this in case you can spot the problem for a later clean-up PR.
I thought we were there but I'm seeing an error when testing this without
I don't think this error has anything directly to do with this PR. I think the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results of the test suite on Chrysalis are here:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.xylar/analysis_testing/chrysalis/add_ocean_hisogram_task/
All runs except no_ncclimo
ran great, and the new documentation looks good.
Thanks, @xylar! |
Adds the ability to create histogram plots from 2-d ocean variables.