Skip to content

Commit

Permalink
Rename physics dataset keys to '3d physics fields'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
douglatornell committed Mar 29, 2024
1 parent 53d63c3 commit d7cfd2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/nowcast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion nowcast/workers/make_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tests/workers/test_make_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
(
Expand Down

0 comments on commit d7cfd2c

Please sign in to comment.