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

longruns global seasonal cycle #923

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexisRenchon
Copy link
Member

@AlexisRenchon AlexisRenchon commented Nov 15, 2024

closes #913

We currently plot global maps for initial and final time steps (months)
of the long runs. In this commit, we add a global seasonal plot.
This plot takes the monthly global average of each output variables
and plot them as a line, the simulation is one year long so there is
12 data points.

TO DO:

  1. Apply ocean mask:
var_no_ocean = ClimaAnalysis.apply_oceanmask(var)

Note: this sets values to 0.0 in the ocean. When calculating averages, it would drag toward 0. We need to replace with NaN or missing. Probably:

var_mask_missing = ClimaAnalysis.replace(var, 0.0 => missing)
  1. Multiple lines for multiple years
    Currently longruns are one year, but they will be more soon. (can test 2 years in this PR). plot each year in light grey, and the average in thick black.

  2. And of course, add axis labels, legend, etc.

@AlexisRenchon AlexisRenchon self-assigned this Nov 15, 2024
@AlexisRenchon AlexisRenchon force-pushed the ar/seasonal_cycle_longruns branch 2 times, most recently from a29f95f to f8967aa Compare November 21, 2024 20:45
We currently plot global maps for initial and final time steps (months)
of the long runs. In this commit, we add a global seasonal plot.
This plot takes the monthly global average of each output variables
and plot them as a line, the simulation is one year long so there is
12 data points.
@AlexisRenchon AlexisRenchon force-pushed the ar/seasonal_cycle_longruns branch from f8967aa to 42fd6a4 Compare November 22, 2024 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add seasonal cycle to output of land model
1 participant