generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add notes for compute parameters * add notes for network topology parameters * add notes for output parameters * add notes for logging parameters * add notes for config * add type hinting for root_validators * remove v4_config_outline file * add sample, simple configuration files
- Loading branch information
1 parent
a0eaeab
commit eed1f8a
Showing
8 changed files
with
666 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# $ python -m nwm_routing -f -V4 sample_MCOnly.yaml | ||
|
||
# Usage: Parameters that have "#REQUIRED" must be updated by user. All other parameters | ||
# should not be altered. | ||
|
||
# This example serves as the simplest configuration file one can use to perform a | ||
# Muskingum-Cunge (MC) only routing simulation. This means there is no reservoir routing | ||
# (underlying flowpaths within waterbodies are routed using MC), no data assimilation, and | ||
# no diffusive routing. | ||
|
||
# This defaults to computing routing in serial. If you would like to enable parallel routing, | ||
# you can adjust the 'compute_parameters -> parallel_compute_method:' and | ||
# 'compute_parameters -> cpu_pool:' (see documentation). | ||
|
||
# This defaults to creating 1 netcdf output file for every hour of simulation time, each file | ||
# containing 12 time steps (1 every 5 minutes, t-route's default time step). Output files | ||
# are configurable, see documentation. | ||
|
||
#-------------------------------------------------------------------------------- | ||
log_parameters: | ||
#---------- | ||
showtiming: True | ||
log_level : DEBUG | ||
#-------------------------------------------------------------------------------- | ||
network_topology_parameters: | ||
#---------- | ||
supernetwork_parameters: | ||
#---------- | ||
geo_file_path: #REQUIRED | ||
#-------------------------------------------------------------------------------- | ||
compute_parameters: | ||
#---------- | ||
restart_parameters: | ||
#---------- | ||
start_datetime: #REQUIRED | ||
forcing_parameters: | ||
#---------- | ||
nts : #REQUIRED | ||
qlat_input_folder : #REQUIRED | ||
qlat_file_pattern_filter: #REQUIRED | ||
#-------------------------------------------------------------------------------- | ||
output_parameters: | ||
#---------- | ||
stream_output : | ||
stream_output_directory: #REQUIRED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# $ python -m nwm_routing -f -V4 sample_MC_with_waterbodies.yaml | ||
|
||
# Usage: Parameters that have "#REQUIRED" must be updated by user. All other parameters | ||
# should not be altered. | ||
|
||
# This example serves as a simple configuration file one can use to perform a | ||
# Muskingum-Cunge (MC) with reservoir routing simulation. This means there is no data assimilation | ||
# and no diffusive routing. | ||
|
||
# This defaults to computing routing in serial. If you would like to enable parallel routing, | ||
# you can adjust the 'compute_parameters -> parallel_compute_method:' and | ||
# 'compute_parameters -> cpu_pool:' (see documentation). | ||
|
||
# This defaults to creating 1 netcdf output file for every hour of simulation time, each file | ||
# containing 12 time steps (1 every 5 minutes, t-route's default time step). Output files | ||
# are configurable, see documentation. | ||
|
||
#-------------------------------------------------------------------------------- | ||
log_parameters: | ||
#---------- | ||
showtiming: True | ||
log_level : DEBUG | ||
#-------------------------------------------------------------------------------- | ||
network_topology_parameters: | ||
#---------- | ||
supernetwork_parameters: | ||
#---------- | ||
geo_file_path: #REQUIRED | ||
waterbody_parameters: | ||
#---------- | ||
break_network_at_waterbodies: True | ||
#-------------------------------------------------------------------------------- | ||
compute_parameters: | ||
#---------- | ||
restart_parameters: | ||
#---------- | ||
start_datetime: #REQUIRED | ||
forcing_parameters: | ||
#---------- | ||
nts : #REQUIRED | ||
qlat_input_folder : #REQUIRED | ||
qlat_file_pattern_filter: #REQUIRED | ||
#-------------------------------------------------------------------------------- | ||
output_parameters: | ||
#---------- | ||
stream_output : | ||
stream_output_directory: #REQUIRED |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.