NCAR / ADF

A unified collection of python scripts used to generate standard plots from CAM outputs.
Creative Commons Attribution 4.0 International
36 stars 30 forks source link

Global mean time series plotting script #334

Closed brianpm closed 3 days ago

brianpm commented 1 month ago

Add a script to plot global mean time series (annual mean only right now).

Uses time series files directly. To do this, I added some functionality to adf_dataset.py to get time series data.

Adds a TimeSeries type of plot category to adf_variable_defaults.yaml.

Modifies plotting_functions.py to try to keep units in tact while doing spatial and annual averages.

Changes in adf_info.py is incidental (two print statements), and can be ignored. The change in adf_web.py is literally whitespace and can be ignored.

justin-richling commented 3 days ago

@brianpm This all looks good to me now. I've tested with obs and tested with with fake variables and it works now as intended.

@adagj Thanks again for the review and changes, we appreciate your time in helping!