Historic Diversion File - Daily (*.ddy)
The daily historic diversion file contains diversions 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 diversion station variable cdividy
is set to 3 the diversion
station variable cdivid
is used to indicate daily data controls and any monthly data provided in the monthly
direct flow demand file (*.ddm) is ignored. When the diversion station variable cdividy
is set to any ID including
its own (cdivid
) 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.2, f8.0) | |
2-1 | iy | Year |
2-2 | im | Month |
2-2 | cdividx | Daily station ID |
2-3 | diverdx(1-31) | Historic diversion (cfs) or pattern (unitless) for days 1-31, etc. |
Repeat for the number of stations numdiv
Repeat for each year of the simulation