Skip to content

Commit

Permalink
Replace 'ciliates' with 'microzooplankton' in time series plot
Browse files Browse the repository at this point in the history
The variable 'ciliates' was replaced with 'microzooplankton' in both
time_series_plots.py and make_plots.py. This change is due to the 'ciliates'
variable having been dropped from the v202111 NEMO SMELT model outputs.
  • Loading branch information
douglatornell committed Jan 1, 2024
1 parent 68345cd commit ff0f39d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 3 additions & 5 deletions nowcast/figures/research/time_series_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,13 @@ def make_figure(
theme=nowcast.figures.website_theme,
):
"""
:param xr_dataset: Hourly average 3d biological fields
(ubcSSg3DBiologyFields1hV17-02) and tracer fields
(ubcSSg3DTracerFields1hV17-02) from the gridapp datasets
of the data server ERDAPP
:param xr_dataset: Hourly average 3d biological fields and tracer fields
from the gridapp datasets of the data server ERDAPP
(https://salishsea.eos.ubc.ca/erddap/griddap/index.html?page=1&itemsPerPage=1000).
:type xr_dataset: :class:`xarray.core.dataset.Dataset`
:param left_variable: One of the data variables among 'nitrate',
'mesozooplankton', 'ciliates', 'temperature'.
'mesozooplankton', 'microzooplankton', 'temperature'.
:type left_variable: :class:`xarray.Variable`
:param right_variable: One of the data variables among 'diatoms',
Expand Down
7 changes: 1 addition & 6 deletions nowcast/workers/make_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,11 +514,6 @@ def _prep_nowcast_green_research_fig_functions(
"cmap": cmocean.cm.algae,
"depth integrated": True,
},
"ciliates": {
"nemo var": "ciliates",
"cmap": cmocean.cm.algae,
"depth integrated": True,
},
"flagellates": {
"nemo var": "flagellates",
"cmap": cmocean.cm.algae,
Expand Down Expand Up @@ -625,7 +620,7 @@ def _prep_nowcast_green_research_fig_functions(
},
"mesodinium_flagellates_timeseries": {
"function": time_series_plots.make_figure,
"args": (bio_dataset, "ciliates", "flagellates", place),
"args": (bio_dataset, "microzooplankton", "flagellates", place),
},
"mesozoo_microzoo_timeseries": {
"function": time_series_plots.make_figure,
Expand Down

0 comments on commit ff0f39d

Please sign in to comment.