Skip to content

Commit

Permalink
look for latest.zarr not latest.zarr.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 14, 2025
1 parent 40b6d17 commit c52540a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/services/airflow/dags/uk/nwp-dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
task_id="determine_latest_zarr_ecmwf",
)(bucket=f'nowcasting-nwp-{env}', prefix='ecmwf/data')

file = f's3://nowcasting-nwp-{env}/data-metoffice/latest.zarr.zip'
file = f's3://nowcasting-nwp-{env}/data-metoffice/latest.zarr'
command = f'curl -X GET "{url}/v0/solar/GB/update_last_data?component=nwp&file={file}"'
nwp_update_ukv = BashOperator(
task_id="nwp-update-ukv",
bash_command=command,
)

file = f's3://nowcasting-nwp-{env}/ecmwf/data/latest.zarr.zip'
file = f's3://nowcasting-nwp-{env}/ecmwf/data/latest.zarr'
command = f'curl -X GET "{url}/v0/solar/GB/update_last_data?component=nwp&file={file}"'
nwp_update_ecmwf = BashOperator(
task_id="nwp-update-ecmwf",
Expand Down

0 comments on commit c52540a

Please sign in to comment.