Skip to content

Commit

Permalink
Undo accidental changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Sep 8, 2023
1 parent 36f1db2 commit 3d106a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nwp/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
import datetime as dt


base_path = "/mnt/storage_b/data/ocf/data/ocf/solar_pv_nowcasting/nowcasting_dataset_pipeline/NWP/DWD"

dwd_base_path = "/mnt/storage_b/data/ocf/solar_pv_nowcasting/nowcasting_dataset_pipeline/NWP/DWD"

def build_config_on_runtime(model, run, delay=0):
config = IconConfig(model=model,
run=run,
delay=delay,
folder=f"{base_path}/ICON_Global/{run}",
zarr_path=f"{base_path}/ICON_Global/{run}/{run}.zarr.zip")
config_dict = {"delay": config.delay, "folder": config.folder, "model": config.model, "run": config.run,
zarr_path=f"{base_path}/ICON_Global/{run}/{run}.zarr.zip"),
config_dict = {"delay": config.delay, "folder": config.folder, "model": config.model, "run": config.run,
"zarr_path": config.zarr_path}
return config_dict

Expand Down

0 comments on commit 3d106a1

Please sign in to comment.