Skip to content

Commit

Permalink
Revert "Comment out b201702 runoff file template in config"
Browse files Browse the repository at this point in the history
This reverts commit 8b3adf1.
  • Loading branch information
douglatornell committed Jan 1, 2024
1 parent 8b3adf1 commit 61a2f3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/nowcast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ rivers:
# **Must be quoted to project {} characters**
# TODO: collapse to single item for v202111; b201702 key not required
file templates:
# b201702: "R201702DFraCElse_{:y%Ym%md%d}.nc"
b201702: "R201702DFraCElse_{:y%Ym%md%d}.nc"
b202108: "R202108Dailies_{:y%Ym%md%d}.nc"
# Module containing dictionary of the proportions that each river occupies in its watershed
# TODO: collapse to single item for v202111; b201702 key not required
Expand Down
3 changes: 1 addition & 2 deletions tests/workers/test_upload_forcing.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ def test_fraser_turbidity_uploads(self, host, expected, prod_config):
)
def test_river_runoff_uploads(self, host, expected, prod_config):
rivers = prod_config["rivers"]
# assert rivers["file templates"]["b201702"] == "R201702DFraCElse_{:y%Ym%md%d}.nc"
assert rivers["file templates"]["b202108"] == "R202108Dailies_{:y%Ym%md%d}.nc"
assert rivers["file templates"]["b201702"] == "R201702DFraCElse_{:y%Ym%md%d}.nc"
assert rivers["rivers dir"] == "/results/forcing/rivers/"
host_config = prod_config["run"]["enabled hosts"][host]
assert host_config["forcing"]["rivers dir"] == expected
Expand Down

0 comments on commit 61a2f3b

Please sign in to comment.