Make load_dataset function in plotting_functions.py that replaces _load_dataset function in various plotting scripts.
Now all plotting scripts will call this function from plotting_functions.py to get datasets.
Website
In adf_web.py, add a list of defualt plot types and loop over any additional plot types. The point of this is to show all plot types on the landing page (index.html) and grey out any unavailable types. This will keep the main page consistent as well as always showing potential ADF plot types.
Also in adf_web.py, the check for mean_diag html file existence is removed. The reasoning is if a certain plot type (ie LatLon) is created from separate plotting scripts, it will only produce the plots from the last instance on the webpage.
In template_index.html there is code now that will grey out any unavailable plot types.
Tape Recorder
Currently there is a bug that is not producing the correct html plot page for the tape recorder. The plot name and web object has been updated to reflect the variable Q specifically in the case a different variable is desired for this plot in the future, like temperature, etc.
Generalize load dataset
Make
load_dataset
function inplotting_functions.py
that replaces_load_dataset
function in various plotting scripts. Now all plotting scripts will call this function fromplotting_functions.py
to get datasets.Website
In
adf_web.py
, add a list of defualt plot types and loop over any additional plot types. The point of this is to show all plot types on the landing page (index.html
) and grey out any unavailable types. This will keep the main page consistent as well as always showing potential ADF plot types.Also in
adf_web.py
, the check for mean_diag html file existence is removed. The reasoning is if a certain plot type (ie LatLon) is created from separate plotting scripts, it will only produce the plots from the last instance on the webpage.In
template_index.html
there is code now that will grey out any unavailable plot types.Tape Recorder
Currently there is a bug that is not producing the correct html plot page for the tape recorder. The plot name and web object has been updated to reflect the variable Q specifically in the case a different variable is desired for this plot in the future, like temperature, etc.