From d7cfd2c033bd249d0ce6c8ecf2e8941b68b02d55 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Fri, 29 Mar 2024 10:08:23 -0700 Subject: [PATCH] Rename physics dataset keys to '3d physics fields' This commit changes the '3d tracer fields' key in the nowcast.yaml configuration file, the make_plots.py worker and test_make_plots.py tests to '3d physics fields'. This change better reflects in the relevant data source URLs. --- config/nowcast.yaml | 4 ++-- nowcast/workers/make_plots.py | 2 +- tests/workers/test_make_plots.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nowcast.yaml b/config/nowcast.yaml index ba59a660..43a543ae 100644 --- a/config/nowcast.yaml +++ b/config/nowcast.yaml @@ -541,8 +541,8 @@ figures: tide stn ssh time series: # **Must be quoted to project {} characters** "https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSf{place}SSH10m" - 3d tracer fields: - https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSg3DTracerFields1hV21-11 + 3d physics fields: + https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSg3DPhysicsFields1hV21-11 3d biology fields: https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSg3DBiologyFields1hV21-11 2nd narrows hadcp time series: diff --git a/nowcast/workers/make_plots.py b/nowcast/workers/make_plots.py index a7e7d86c..9a455dc1 100644 --- a/nowcast/workers/make_plots.py +++ b/nowcast/workers/make_plots.py @@ -601,7 +601,7 @@ def _prep_nowcast_green_research_fig_functions( ) place = "S3" phys_dataset = xarray.open_dataset( - config["figures"]["dataset URLs"]["3d tracer fields"] + config["figures"]["dataset URLs"]["3d physics fields"] ) bio_dataset = xarray.open_dataset( config["figures"]["dataset URLs"]["3d biology fields"] diff --git a/tests/workers/test_make_plots.py b/tests/workers/test_make_plots.py index da5b5575..9a860064 100644 --- a/tests/workers/test_make_plots.py +++ b/tests/workers/test_make_plots.py @@ -237,7 +237,7 @@ def test_coastline(self, prod_config): "https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSf2DWaveFields30mV17-02", ), ( - "3d tracer fields", + "3d physics fields", "https://salishsea.eos.ubc.ca/erddap/griddap/ubcSSg3DPhysicsFields1hV21-11", ), (