forked from NOAA-OWP/t-route
-
Notifications
You must be signed in to change notification settings - Fork 7
Final 0.3.0 #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
slama0077
wants to merge
21
commits into
CIROH-UA:release/0.3.0
Choose a base branch
from
slama0077:Final_0.3.0
base: release/0.3.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Final 0.3.0 #36
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
370a91b
make read_geopkg compatible with both v2.2 and v3.0 by creating def r…
kumdonoaa c9f033e
draft to make qlat work for hydrofabric v3.0
kumdonoaa aa82ce9
prototype for hydrofabric v3.0: preprocess_network, crosswalk_nex_flo…
kumdonoaa a8ca3ea
Works with both version, version 3 and version 2.2
slama0077 7943aa8
Works for both version version3 and version2.2
slama0077 b8b7cd8
Used Multiprocessing to read the channelrouting files to build the ql…
slama0077 99345b8
Combined Dongha's new code with mine and made it run for version 3. Q…
slama0077 a7a4433
Cleared some test garbage
slama0077 f7dd732
Completed Head Water Interpoltion
slama0077 07a9624
Fix the broken lateralflow dataframe is version 2.2. Forgot to set fe…
slama0077 faadc27
empty commit
slama0077 c299741
changed compiler.sh
slama0077 90d1580
skip the headwater interpolation for potential headreaches that flows…
slama0077 49f0aa4
This commit should route v2.2 hydrofabric the new way
slama0077 0c9de8c
Make the code always read nexus layer
slama0077 ce96ed0
Updated the code to create gage dataframes regardless of what break_n…
slama0077 7803276
Added a yaml file and a jupyter notebook for testing
slama0077 cfb2c7f
This is the FINAL cleaned code for 0.3.0. There are a few significant…
slama0077 d12486a
removed redundant code and file
slama0077 ddafccd
Changed .CHROUT.csv files to nexus files
slama0077 d95660a
Fixes #38
slama0077 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,89 @@ | ||
| # $ python3 -m nwm_routing -f -V4 ipu08b.yaml # CHANGE THIS | ||
| #-------------------------------------------------------------------------------- | ||
| log_parameters: | ||
| #---------- | ||
| showtiming: True | ||
| log_level : DEBUG | ||
| # log_directory: /ngen/t-route-files/ipu_01/logs/ | ||
| #-------------------------------------------------------------------------------- | ||
| network_topology_parameters: | ||
| #---------- | ||
| supernetwork_parameters: | ||
| #---------- | ||
| geo_file_path: /home/quinn/t-route/conus_datastream/RouteLink_CONUS.nc | ||
| mask_file_path: /home/quinn/t-route/conus_datastream/ipu_runs/mask_files/reaches08b.txt # CHANGE THIS | ||
| network_type: 'NHDNetwork' | ||
| columns: | ||
| key: 'link' | ||
| downstream: 'to' | ||
| dx : 'Length' | ||
| n : 'n' | ||
| ncc : 'nCC' | ||
| s0 : 'So' | ||
| bw : 'BtmWdth' | ||
| waterbody : 'NHDWaterbodyComID' | ||
| gages : 'gages' | ||
| tw : 'TopWdth' | ||
| twcc : 'TopWdthCC' | ||
| musk : 'MusK' | ||
| musx : 'MusX' | ||
| cs : 'ChSlp' | ||
| alt: 'alt' | ||
| synthetic_wb_segments: | ||
| default_factory=lambda: [ | ||
| 4800002, | ||
| 4800004, | ||
| 4800006, | ||
| 4800007, | ||
| ] | ||
| waterbody_parameters: | ||
| #---------- | ||
| break_network_at_waterbodies: False | ||
| #-------------------------------------------------------------------------------- | ||
| compute_parameters: | ||
| #---------- | ||
| parallel_compute_method: by-subnetwork-jit-clustered # CHANGE THIS | ||
| compute_kernel : V02-structured | ||
| assume_short_ts : False | ||
| subnetwork_target_size : 1000 # according to t-route this is the most efficient for conus-wide simulations | ||
| cpu_pool : 60 #CHANGE THIS | ||
| restart_parameters: | ||
| #---------- | ||
| start_datetime: 1979-02-06_18:00 | ||
| # lite_channel_restart_file: /ngen/t-route-files/warmstate-2002/restart/channel_restart_200204171700 | ||
| forcing_parameters: | ||
| #---------- | ||
| qts_subdivisions : 12 # 3600 / 300 = 12 (dt_qlateral / dt = qts_subdivisions) | ||
| dt : 300 # [sec] | ||
| qlat_input_folder : /home/quinn/t-route-inputs/ | ||
| qlat_file_pattern_filter : "*.CHRTOUT_DOMAIN1" | ||
| nts : 2016 # 288 for 1day | ||
| max_loop_size : 168 # [hr] 168 hours for one week | ||
| data_assimilation_parameters: | ||
| streamflow_da: | ||
| #---------- | ||
| streamflow_nudging : False | ||
| diffusive_streamflow_nudging : False | ||
| reservoir_da: | ||
| #---------- | ||
| reservoir_persistence_da: | ||
| #---------- | ||
| reservoir_persistence_usgs : False | ||
| reservoir_persistence_usace : False | ||
| reservoir_persistence_greatLake : False | ||
| reservoir_rfc_da: | ||
| #---------- | ||
| reservoir_rfc_forecasts : False | ||
| reservoir_rfc_forecasts_time_series_path: rfc_TimeSeries/ | ||
| reservoir_rfc_forecasts_lookback_hours : 48 | ||
|
|
||
| #-------------------------------------------------------------------------------- | ||
| output_parameters: | ||
| # #---------- | ||
| stream_output: | ||
| stream_output_directory: /home/quinn/Contribute_troute/t-route/Not_Fixed # CHANGE THIS | ||
| stream_output_time: -1 #[hr] | ||
| 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 | ||
| lite_restart: | ||
| lite_restart_output_directory: /home/quinn/Contribute_troute/t-route/Restart/ # CHANGE THIS |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.