-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add time series plots #232
Conversation
- Clean up amwg tables for derived quantities and move RESTOM to top of table - Block out missing seasons on website - Fix error if missing mclim_fils in regrid_and_vert_interp * part of Issue 228
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.
Mostly looks good, except it doesn't appear that timeseries_var_list
is actually defined anywhere in the ADF object, at least in this PR. Maybe there is a local commit somewhere that still needs to be pushed?
Otherwise mostly just a bunch of small change requests and slight feature expansions. As always let me know if you have any questions or concerns with any of my requests. Thanks!
Closing due to updated PR coming |
This will add time series plots to scripts directory and will have the option in the config yaml file to plot only certain variables, as opposed to all declared in
diag_var_list
The time series variables get declared in
timeseries_var_list
and must also be indiag_var_list
. It's not ideal and has some redundancy, but this can be addressed in the future if desired.timeseries_var_list
w/o its constituents so long as they (FSNT and FLNT) are in thediag_var_list
.It is also set up to plot any derived quantity, the user just needs to create functions to do so. The RESTOM calculation can be used a rough guide.
The script also looks at any variable with vertical levels and ignores it (similar to AMWG tables). In the future it might be nice to have an option to plot variables with vertical levels if single levels are designated, but currently it just skips them.
The time series also calculates seasonally weighted averages based on month length.
There is also a flag in
adf_variable_defaults.yaml
to set a rolling 5-year mean. Currently RESTOM is defaulted to this, but can be changed.In addition, some minor cleanup included:
adf_variable_defaults.yaml
* Part of Issue 228