Skip to content

Stream Flow File - Monthly (*.rim or *.xbm)

The streamflow file may contain total baseflows or gains for each month of the simulation period. The control variable iopflo identifies which is expected; total baseflow (1) or gains (2). When this file is generated outside StateMod or is generated by StateMod and saved for historic purposes, it is commonly named *.rim. When this file is generated by the StateMod baseflow module it is typically named *.xbm. The user is recommended to rename a StateMod generated baseflow file named *.xbm to *.rim to ensure the preservation of a historic baseflow file and a continuous flow of results from the baseflow module to the simulation module. This file is read by subroutine MDAINP.

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 ('ACFT' or '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, 1x, a12, 12f8.0)
2-1 iryr Year
2-2 cistat Streamflow station ID
2-3 runoff(1-12,1) Streamflow or gain (AF) for months 1-12

Repeat for the number of stations numrun

Repeat for each year of the simulation