Skip to content

Commit

Permalink
rename ngen.yaml to troute.yaml, output in nc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu committed Sep 5, 2024
1 parent 1697295 commit 7c64e98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 @@ -161,7 +161,7 @@ def configure_troute(
# not setting this will cause troute to output one netcdf file per timestep
troute["output_parameters"]["stream_output"]["stream_output_time"] = number_of_hourly_steps

with open(config_dir / "ngen.yaml", "w") as file:
with open(config_dir / "troute.yaml", "w") as file:
yaml.dump(troute, file)

return nts
Expand Down
2 changes: 1 addition & 1 deletion modules/data_sources/ngen-realization-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"nts": 15264.0
},
"routing": {
"t_route_config_file_with_path": "/ngen/ngen/data/config/ngen.yaml"
"t_route_config_file_with_path": "/ngen/ngen/data/config/troute.yaml"
},
"output_root": "/ngen/ngen/data/outputs/ngen"
}
2 changes: 1 addition & 1 deletion modules/data_sources/ngen-routing-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ output_parameters:
stream_output:
stream_output_directory: outputs/troute/
stream_output_time: 1 #[hr]
stream_output_type: ".csv" #please select only between netcdf '.nc' or '.csv' or '.pkl'
stream_output_type: ".nc" #please select only between netcdf '.nc' or '.csv' or '.pkl'
stream_output_internal_frequency: 60 #[min] it should be order of 5 minutes. For instance if you want to output every hour put 60

0 comments on commit 7c64e98

Please sign in to comment.