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

[Bug]: plot climatology function needs to handle 4d variables properly #1228

Closed
lee1043 opened this issue Jan 8, 2025 · 0 comments · Fixed by #1229
Closed

[Bug]: plot climatology function needs to handle 4d variables properly #1228

lee1043 opened this issue Jan 8, 2025 · 0 comments · Fixed by #1229
Assignees
Labels
Milestone

Comments

@lee1043
Copy link
Contributor

lee1043 commented Jan 8, 2025

What happened?

Message from @ShihengDuan:

A follow-up question regarding the mean climatology:

The calculate_climatology function in calculate_climatology.py has the parameter “plot” set to True as default. This is convenient to visualize the annual map, but it cannot plot the 4D variables (like UVTQ at different pressure levels).

It seems that I cannot set this parameter to false, because in pcmdi_compute_climatologies.py, there is no argument for that plot function (PMPMetricsParser()). Could you please check that? Did I miss any parameter?

What did you expect to happen? Are there are possible answers you came across?

plot_climatology function has optional parameter level but this information is not given when the function is being called. It needs to be fixed.

@lee1043 lee1043 self-assigned this Jan 8, 2025
@lee1043 lee1043 added the bug label Jan 8, 2025
@lee1043 lee1043 added this to the 3.8.2 milestone Jan 8, 2025
@lee1043 lee1043 linked a pull request Jan 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant