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 in diag_var_list. It's not ideal and has some redundancy, but this can be addressed in the future if desired.
Note: RESTOM can be declared in the timeseries_var_list w/o its constituents so long as they (FSNT and FLNT) are in the diag_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.
Note: RESTOM currently is only calculated annually, not seasonally.
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:
Add RESTOM config parameters in adf_variable_defaults.yaml
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
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