Scientific Investigations Report 2006–5318
U.S. GEOLOGICAL SURVEY
Scientific Investigations Report 2006–5318
weather_siteinfo_dpm.f
Establish the weather station parameters.
Establish the weather station parameters for the model and writes to file to see the input parameters. Module based on Bauer and Vaccaro (1987) and Bauer and Mastin (1997).
July, 2004
kzone
National Oceanographic Survey number for state plane code, no units.
ratemn
Minimum monthly temperature lapse rate: for each month, in degrees Fahrenheit per 1,000 feet.
ratemx
Maximum monthly temperature lapse rate: for each month, in degrees Fahrenheit per 1,000 feet.
tsta_x
X for each temperature station (state plane or longitude decimal degrees), in feet.
tsta_y
Y for each temperature station (state plane or latitude decimal degrees), in feet.
tsta_elev
Temperature station elevation, in feet.
tnjulav
Average July minimum temperature for each temperature station, in degrees Fahrenheit.
txjulav
Average July maximum temperature for each temperature station, in degrees Fahrenheit.
psta_x
X for each precipitation station (state plane or longitude decimal degrees), in feet.
psta_y
Y for each precipitation station (state plane or latitude decimal degrees), in feet.
psta_mon_ppt
Average monthly precipitation at each station, in inches.
thrusta_x
X for each throughfall station (state plane or longitude decimal degrees), in feet.
thrusta_y
Y for each throughfall station (state plane or latitude decimal degrees), in feet.
covthru
Land use/cover for each throughfall station, no units.
solsta_x
X for each solar radiation station (state plane or longitude decimal degrees), in feet.
solsta_y
Y for each throughfall station (state plane or latitude decimal degrees), in feet.
hru_ylat
HRU Y of centroid (latitude decimal degrees or state plane), in feet. [basin]
hru_xlong
HRU X of centroid (longitude decimal degrees or state plane), in feet. [basin]
iomain
Unit number to output-echo input values and write water budget, no units. [iopen]
none
none
The module declares and initializes the weather station parameters and does not have a run part. After getting the parameters, the initialization part of the module checks if the input values of location (X,Y) for the weather sites and the HRUs are in decimal degrees or state plane coordinates (or any other consistent distance in feet coordinates). The check is based on the value of kzone, which is the National Oceanographic Survey number (listed in Appendix 3 of documentation report) for the projection for each state (larger states may have 2 numbers). If kzone is less than 1, the module assumes the X,Y-values are in a state plane type of coordinate system. Otherwise, a call to the subroutine plane is made. Plane takes the latitude and longitude (always positive) and converts these values to state plane coordinates. Plane is the U.S. Geological Survey’s General Cartographic Transformation Package (generalized plane coordinate conversion package). For this application, the package has been modified to only complete forward transformation from geographic to plane, and for only the continental United States.
With the general availability of Geographic Information Systems, it is suggested to preprocess the required input X,Y-values from geographic to plane coordinates. The pre-processing will save execution time and allows the input values to be analyzed external to the modeling process.
Bauer, H.H., and Mastin, M.C., 1997, Recharge from precipitation in three small glacial-till mantled catchments in the Puget Sound Lowlands: U. S. Geological Survey Water-Resources Investigations Report 96-4219, 119 p.
Bauer, H.H., and Vaccaro, J.J., 1987, Documentation of a deep percolation model for estimating ground-water recharge: U. S. Geological Survey Open-File Report 86-536, 180 p.
Henry H. Bauer and John J. Vaccaro
U.S. Geological Survey
Washington Water Science Center
934 Broadway, Suite 300
Tacoma, WA 98402
Modified by:
John J. Vaccaro
U.S. Geological Survey
Washington Water Science Center
934 Broadway, Suite 300
Tacoma, WA 98402
Telephone: 253-552-1620
Fax: 253-552-1581
Email: jvaccaro@usgs.gov