Skip to content

Historic Streamflow File - Daily (*.riy)

The daily historic streamflow file contains streamflows or a daily pattern for each day of the simulation period. To simplify the preparation of daily data, StateMod allows the user to provide daily data or a pattern to be used with monthly data. When the river station variable crunidy is set to 3 the river station variable crunid is used to indicate daily data controls and any monthly data provided in the monthly historic streamflow file (*.rih) is ignored. When the river station variable crunidy is set to any ID including its own (crunid) StateMod uses daily data as a pattern to estimate daily data using the same approach described under daily streamflow data (Section 4.36).

This file is only required if the model is operated in a daily baseflow mode. Data can be entered with stations entered in any order. This file is read by subroutine DAYDATA.

Row-data Variable Description
Control Data
1 Format (i5,1x,i4,5x,i5,1x,i4,a5,a5)
1-1 ibm Beginning month of data (e.g. 1 = Jan)
1-2 iby Beginning year of data (e.g. 1975)
1-3 iem Ending month of data
1-4 iey Ending year of data
1-5 cunit Units of data ('CFS')
1-6 cyr Year type
'CYR' = calendar year (1-12)
'WYR' = water year (10-9)
'IYR' = irrigation year (11-12)
Time Series Data
2 Format (i4, i4, 1x, a12, 31f8.0, f8.0)
2-1 idyr Year
2-2 cistat Daily station ID
2-3 virindx(1-31) Historic Streamflow (cfs) or pattern (unitless) for days 1-31, etc.

Repeat for the number of stream gage stations

Repeat for each year of the simulation