Skip to content
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

Refactor analysis_ops to allow users to specify a plot quality attribute #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mnlevy1981
Copy link
Contributor

Let users choose between a publication-quality plot and something that can be produced faster (and also add hooks for additional quality levels in between).

Trying to organize the code in a way where it makes sense to pull out the
individual plotting routines to allow different functions to produce different
quality plots (e.g. a publication-level plot may take more time to plot than a
simple contour plot on the native grid, but we want to be able to produce both)
@mnlevy1981 mnlevy1981 added the Work In Progress This PR is not yet ready to merge label Jun 4, 2019
_plot_climo() still loops over variables, time periods, and levels, but the
loop over datasets and the actual plotting is moved to _gen_plots()
_get_fancy_plots() and _get_fancy_plot() push Matt's adjust_pop_grid() further
into the code to make it easier to avoid calling them when we just want to use
da.plot()
Note that this requires esmlab at commit bbad55c or later (commit made June 7,
2019); I won't merge this PR until I can verify that it runs with a released
version of esmlab.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Work In Progress This PR is not yet ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant