ESCOMP / mizuRoute

Reach-based river routing model
http://escomp.github.io/mizuRoute/
GNU General Public License v3.0
44 stars 53 forks source link

run testCase #473

Closed rogerzzl closed 3 months ago

rogerzzl commented 3 months ago

Hi, thank you for the nice tool. I was running the testCase v1.2 https://zenodo.org/records/7884836, and the printed message showed SUCCESSFUL EXECUTION, but I cannot find any output file in the output folder. whole message after run `---- read control file ---

--> ./ancillary_data/ --> ./input/ --> ./output/ --> 1950-1-1 12:00:00 --> 1950-12-31 12:00:00 --> ntopo_nhdplus_uco_pfaf.nc --> hru --> seg --> ntopo_nhdplus_cameo_pfaf.nc --> 3179476 --> RUNOFF_case1.nc --> RUNOFF --> time --> hru --> time --> hru --> mm/s --> 86400 --> param.nml.default --> HRU_AREA --> Length --> So --> idFeature --> hru2seg --> link --> to ---- calendar --- calendar will be read from RUNOFF_case1.nc time_unit will be read from RUNOFF_case1.nc ---- runoff unit --- runoff unit is provided as: mm/s WARNING: routOpt=0 is accumRunoff option now. 12 is previous 0 now ---- Read river network data --- Reading HRU_AREA into structure HRU Reading idFeature into structure HRU2SEG Reading hru2seg into structure HRU2SEG Reading Length into structure SEG Reading So into structure SEG Reading link into structure NTOPO Reading to into structure NTOPO Writing HRU_AREA to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing idFeature to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing hru2seg to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing Length to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing So to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing link to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Writing to to file ./ancillary_data/ntopo_nhdplus_cameo_pfaf.nc Running in river network subset mode Created a new network topology file ntopo_nhdplus_cameo_pfaf.nc --> Run again using the new network topology file SUCCESSFUL EXECUTION`
nmizukami commented 3 months ago

You set --> 3179476. By setting to something positive, you just subset the river network based on the outlet id. You create ntopo_nhdplus_cameo_pfaf.nc specified at . For this subset mode, the model does not route anything. You will need to to -9999 or something negative.

rogerzzl commented 3 months ago

Thank you for the suggestion, the issue was solved by setting a negative value in . Another question for my roi basin with grid-based networks, does this tool contain any fast way to format the river network? I'm trying to use Python scripts to generate the river network shown in the sample case from grids.