Skip to content

Commit

Permalink
replace /ngen/ngen/data with relative ./ for pantarhei (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu authored Nov 18, 2024
1 parent 222a977 commit a8ac5db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/data_processing/create_realization.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def configure_troute(
time_step_size=time_step_size,
# troute seems to be ok with setting this to your cpu_count
cpu_pool=multiprocessing.cpu_count(),
geo_file_path=f"/ngen/ngen/data/config/{cat_id}_subset.gpkg",
geo_file_path=f"./config/{cat_id}_subset.gpkg",
start_datetime=start_time.strftime("%Y-%m-%d %H:%M:%S"),
nts=nts,
max_loop_size=nts,
Expand Down
4 changes: 2 additions & 2 deletions modules/data_sources/cfe-nowpm-realization-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
"output_interval": 3600
},
"routing": {
"t_route_config_file_with_path": "/ngen/ngen/data/config/troute.yaml"
"t_route_config_file_with_path": "./config/troute.yaml"
},
"remotes_enabled": false,
"output_root": "/ngen/ngen/data/outputs/ngen"
"output_root": "./outputs/ngen"
}
2 changes: 1 addition & 1 deletion modules/data_sources/dd-catchment-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ initial_state: zero
lat: {lat} # needs calulating
lon: {lon} # needs calulating
slope_mean: {slope_mean} # mean.slope
train_cfg_file: /ngen/ngen/data/config/dd-config.yml
train_cfg_file: ./config/dd-config.yml
verbose: 0
4 changes: 2 additions & 2 deletions modules/data_sources/dd-realization-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"output_interval": 3600
},
"routing": {
"t_route_config_file_with_path": "/ngen/ngen/data/config/troute.yaml"
"t_route_config_file_with_path": "./config/troute.yaml"
},
"remotes_enabled": false,
"output_root": "/ngen/ngen/data/outputs/ngen"
"output_root": "./outputs/ngen"
}

0 comments on commit a8ac5db

Please sign in to comment.