Skip to content

Commit 6f3e726

Browse files
authored
fix(ceda): Use correct model (#165)
* fix(ceda): Use correct model * fix(ceda): Correct env vars * feat(ceda): Update archive location
1 parent d3a8e69 commit 6f3e726

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dagster_dags/assets/nwp/ceda_mo_um_global.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
ARCHIVE_FOLDER = "/var/dagster-storage/nwp/ceda-mo-um-global"
2323
if os.getenv("ENVIRONMENT", "local") == "leo":
24-
ARCHIVE_FOLDER = "/mnt/storage_ssd_4tb/nwp/ceda-mo-um-global"
24+
ARCHIVE_FOLDER = "/mnt/storage_b/nwp/ceda-mo-um-global"
2525

2626
partitions_def: dg.TimeWindowPartitionsDefinition = dg.MonthlyPartitionsDefinition(
2727
start_date="2019-01-01",
@@ -58,11 +58,11 @@ def ceda_mo_um_global_asset(
5858
"""Dagster asset for MO Unified Model global NWP data from CEDA."""
5959
it: dt.datetime = context.partition_time_window.start
6060
return pipes_docker_client.run(
61-
image="ghcr.io/openclimatefix/nwp-consumer:1.1.25",
61+
image="ghcr.io/openclimatefix/nwp-consumer:1.1.28",
6262
command=["archive", "-y", str(it.year), "-m", str(it.month)],
6363
env={
64-
"NWP_CONSUMER_MODEL_REPOSITORY": "ceda-metoffice-global",
65-
"NWP_CONSUMER_NOTIFICATION_REPOSITORY": "dagster-pipes",
64+
"MODEL_REPOSITORY": "ceda",
65+
"NOTIFICATION_REPOSITORY": "dagster-pipes",
6666
"CEDA_USER": os.environ["CEDA_USER"],
6767
"CEDA_PASS": os.environ["CEDA_PASS"],
6868
"CONCURRENCY": "true",

0 commit comments

Comments
 (0)