Skip to content

global plots for paper [WIP] #1018

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

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

global plots for paper [WIP] #1018

wants to merge 31 commits into from

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented Feb 7, 2025

Purpose

Add global heatmaps, seasonal cycle plots, and biases compared to ERA5 of SHF, LHF, LW_u, SW_u.

To-do

  • add separate functions for plotting heat maps, seasonal cycles, and bias vs ERA5
  • add global heat maps + seasonal cycles to longrun CI output


include("data_paper_plots.jl")

function compute_global_average(masked_var)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of recent ClimaAnalysis (need a release after 0.5.14), we can use weighted_average_lonlat(masked_var) instead of this function

Comment on lines +53 to +57
sim_var_global_average = ClimaAnalysis.average_lon(
ClimaAnalysis.weighted_average_lat(
ClimaAnalysis.apply_oceanmask(sim_var_window),
),
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sim_var_global_average = CAN.weighted_average_lonlat(ClimaAnalysis.apply_oceanmask(sim_var_window))

Suggested change
sim_var_global_average = ClimaAnalysis.average_lon(
ClimaAnalysis.weighted_average_lat(
ClimaAnalysis.apply_oceanmask(sim_var_window),
),
)
sim_var_global_average = ClimaAnalysis.average_lon(
ClimaAnalysis.weighted_average_lat(
ClimaAnalysis.apply_oceanmask(sim_var_window),
),
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant