NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
181 stars 139 forks source link

route_link.nc file #704

Closed jbensabat closed 1 year ago

jbensabat commented 1 year ago

Hello I am building a model for wrfhydro and since I have not found detailed documentation about many variables I would be grateful if you could help. In this file there is a variable - Gages I understand that this should point to gage (s) id. My questions are: is this variable a scalar or a vector ? if it is vector does it have a fixed size ? what is the meaning of this variable being a vector ? do we allow for many gages in one stream link ? what is the meaning of the position of an id inside this vector I am learning from the crotton test in the wrfhydro distribution there for each link they defined an array of size 15, the array is empty or filled with integer numbers at specific locations is there any doc explaning that ? bes jac

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Your Environment

scrasmussen commented 1 year ago

Hi, sorry for the slow response! The detailed documentation for the model can be found here, in the WRF-Hydro V5.2.0 Technical Description document. To answer a few of your questions, gage ids are a fixed vector. Also, on page 46 of the documentation you'll find the sentence "The station Id variable has dimensions of the number of individual stream gages contained in the file by the fixed width of the strings (stationIdStrLen=15)." Appendix 9 on page 89 of the document has helpful information listing the variable names and description for the Route_link.nc file.

I believe the documentation should be helpful in answering most of your questions, if you have any more questions please let us know!

jbensabat commented 1 year ago

hi thanks a lot for your help. So the id of the gage is entered as a string of 15 chars although the array is defined as 32 bit integers best jac