-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update ETM / stream_wdm routine to to handle hsp2 land hdf5 files #74
Comments
Using wdm_insert_one:
Inflows to our test wdm (before using ETM):
Outflows from our test wdm:
|
New Rscript to create CSVs with OVOL3 and ROVOLName: flow_hspf_format.R Location (created a new folder for the files):
Contents:
Is there anything I should change regarding names/locations/arguments? I could just have the river segment as the only argument. NOTE: This code is used after the conversion script has been run on the csv. |
Problem running
|
Testing:
|
OVOL 3
is what is used here? we can verify with Gopal)stream_wdm
routine converts runoff into WDM for river inflow ./code/src/etm/stream_wdm/makefilewdm_insert_one
in fortran andh5_insert_one
in python (or locate those if they are already in existence)wdm_insert_one destination.wdm import.csv DSN has_header[0/1] path_to_message.wdm mode[0=replace,1=add]
h5_insert_one destination.h5 import.csv h5_path has_header[0/1] mode[0=replace,1=add]
hsp2 import_uci
seems to take quite a bit of time).hsp2 import_uci
step only once when usingrun_rug.csh
, and then simply update the upstream inflow data in the h5, we can eliminate approximately 1 minute per river segment run. This can be a huge savings.ETM
The text was updated successfully, but these errors were encountered: