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

TEM calculation and plotting updates #351

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

Conversation

justin-richling
Copy link
Collaborator

@justin-richling justin-richling commented Dec 19, 2024

This PR will bring much needed updates and improvements to the TEM plots and calculations.

In addition, there are small changes to the plot page names, mainly adding an argument for file name extension. This replaces the default "Mean" extension attached to all plot html names so that it can be flexible for other averaged plots.

This PR also cleans up the variable_defaults.yaml file by removing percent difference arguments that are now defaulted in plotting_functions.py. The user can still add these arguments in the variable defaults file to override the default values. Additionally, the TEM defaults have been improved for better plots.

The zonal mean potential temperature variable added to TEM diagnostics requires PMID, so in the usual plotting scripts a check has been made to skip plotting PMID as it is unnecessary.

Add check for strings in contour ranges.

Add function for averaging the cosine of latitudes

Add function to check supplied obs file(s)
This is an unnecessary variable to plot, so don't waste time with it
@justin-richling
Copy link
Collaborator Author

Examples of updated plots:

uzm_ANN_WACCM_SeasonalCycle_Mean

thzm_ANN_WACCM_SeasonalCycle_Mean

epfy_ANN_WACCM_SeasonalCycle_Mean

epfz_ANN_WACCM_SeasonalCycle_Mean

vtem_ANN_WACCM_SeasonalCycle_Mean

wtem_ANN_WACCM_SeasonalCycle_Mean

psitem_ANN_WACCM_SeasonalCycle_Mean

utendepfd_ANN_WACCM_SeasonalCycle_Mean

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