-
Notifications
You must be signed in to change notification settings - Fork 13
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
base: main
Are you sure you want to change the base?
Conversation
d60a26b
to
5326771
Compare
7ca091b
to
e56e5ca
Compare
|
||
include("data_paper_plots.jl") | ||
|
||
function compute_global_average(masked_var) |
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.
As of recent ClimaAnalysis (need a release after 0.5.14), we can use weighted_average_lonlat(masked_var)
instead of this function
sim_var_global_average = ClimaAnalysis.average_lon( | ||
ClimaAnalysis.weighted_average_lat( | ||
ClimaAnalysis.apply_oceanmask(sim_var_window), | ||
), | ||
) |
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.
sim_var_global_average = CAN.weighted_average_lonlat(ClimaAnalysis.apply_oceanmask(sim_var_window))
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), | |
), | |
) |
Purpose
Add global heatmaps, seasonal cycle plots, and biases compared to ERA5 of SHF, LHF, LW_u, SW_u.
To-do