Download reservoir data (mkres)



The mkres program is used to download reservoir end-of-month stage from the US Bureau of Reclamation web site and save the data in a suitable format.

The mkres program takes a year (or years) specified on the command line and writes the output to the screen. The output can be redirected to a file.

Principles of Operation

The mkres program downloads the daily stage (Reservoir Forebay Elevation or FB) in feet from the USBR website in ARC040 format from http://www.usbr.gov/gp-bin/arc040_form.pl for each of the seven reservoirs for each month. It selects the last stage for the month. If this is not the last day of the month, a warning is printed. The identifiers for each reservoir used in ARC040 is shown in the following table:

Identifier Name
BONCBonny Reservoir
EDNEEnders Lake
HBNEHugh Butler Reservoir
HCNEHarlan County Reservoir
HSNEHarry Strunk Reservoir
KSKSKeith Sebelius Reservoir
TRNESwanson Lake (Trenton Dam)

Example: Download resevoir data for 2002

The monthly reservoir data for 2002 are directed to the filereservoir.new
mkres 2002 > reservoir.new

Home | Index | Previous | Next

Model Units
Directory Structure
Programs
Static Files
Precipitation Data Entry
Colorado Data Entry
ET Data Entry
Stream Data Entry
Kansas Data Entry
Nebraska Data Entry
Running the Model