GetSNOTEL.php
This PHP script displays data for any SNOTEL site (plus SNOLITE, SCAN, and OTHER sites) using the new NRCS Report Generator tool. To view data for all sites in any state, use GetAllStateSNOTEL.php.
Data provided by NRCS National Water and Climate Center   http://www.wcc.nrcs.usda.gov/snow/   http://www.wcc.nrcs.usda.gov/scan/
PHP script by Amar Andalkar, March 2013   (current version 3.2.3 of 15 Dec 2016)   http://www.skimountaineer.com/

NRCS Interactive Map Showing All SNOTEL, SNOLITE, SCAN, and OTHER Sites in All States  |  Information about the NRCS Interactive Map 
Selected Site:  (1175 sites in list)     Data Columns Displayed:
Number of Days: (Limit: 1100 if hourly, or 14965 if daily, back to 1978)     End Date: (Format: yyyy-mm-dd, or current date/time if blank)     Data Frequency:   Hourly   Daily     Data Interval:
NOTE: Large data sets may take a very long time to load!  Public users are allowed to run reports with up to 200,000 values.  Reduce the number of data columns in case of error message.
Plain Version (just the data table)     Smaller Font     Fixed-Width Font     Table Border     Table Dividers (between days or months)     Table Cell Padding: (if blank, then 0 if plain, 1 otherwise)         Show CSV file below    
Show Water Year Graph(s) ONLY, No Data Table:     Current Water Year   All Water Years (Multiple Plots)     All Water Years (JS RollOver)    
Search for a Site by Name or Number: (Enter a full site number, or a partial name, case-insensitive, or show all sites in list)                    
Site Info, Location, Start / End Date:
Site Webpage, Sensor History & Lists:
View Current Water Year Graph:
View Data / Chart in Report Generator:
Full URL for Data Shown Below:
    (link to CSV file)
Clackamas Lake (398) 3400 ft     45.10° N, 121.75° W     1980-June, active
http://www.wcc.nrcs.usda.gov/nwcc/site?sitenum=398     . . . /sensorhistory?sitenum=398     . . . /sensors?sitenum=398&timeseries=Hourly     . . . /sensors?sitenum=398&timeseries=Daily
http://www.wcc.nrcs.usda.gov/nwcc/view?intervalType=+View+Current+&report=WYGRAPH×eries=Daily&format=plot&sitenum=398&interval=WATERYEAR
http://www.wcc.nrcs.usda.gov/reportGenerator/view/customSingleStationReport/hourly/398:OR:SNTL/-23,0/ . . .     . . . /view/customChartReport/hourly/398:OR:SNTL/-23,0/ . . .
http://www.wcc.nrcs.usda.gov/reportGenerator/view_csv/customSingleStationReport/hourly/398:OR:SNTL/-23,0/WTEQ::value,SNWD::value,PREC::value,TOBS::value,TMAX::value,TMIN::value, . . .
. . . TAVG::value,WSPDV::value,WSPDX::value,WDIRV::value,SRAD::value,SRADV::value,SRADX::value,RHUM::value,RHUMV::value,RHUMX::value,PRES::value,BATT::value,BATX::value

Clackamas Lake (398)
Oregon SNOTEL Site - 3400 ft
Reporting Frequency: Hourly; Date Range: 2018-08-18 04:00 to 2018-08-19 03:00
As of: Aug 19, 2018 3:09:00 AM GMT-08:00
Date / Time
(PST)
Snow
Water
  Equiv
(in)
Snow
 Depth
(in)
 Precip
since
Oct 1
(in)
Air
  Temp
(°F)
Air
  Temp
Max
(°F)
Air
 Temp
Min
(°F)
Air
 Temp
Avg
(°F)
  Wind
Avg
(mph)
  Wind
Max
(mph)
  Wind
Dir
(°)
Solar
Rad
Inst
  (W/m2)
Solar
Rad
Avg
  (W/m2)
Solar
Rad
Max
  (W/m2)
Rel
 Humid
Inst
(%)
Rel
 Humid
Avg
(%)
Rel
 Humid
Max
(%)
 Pressure
(in Hg)
 Battery
(V)
 Battery
Max
(V)
2018-08-18 04:00-0.2048.43812.86
2018-08-18 05:00-0.2048.43712.85
2018-08-18 06:00-0.2048.43712.84
2018-08-18 07:00-0.2048.44312.84
2018-08-18 08:00-0.2048.45112.83
2018-08-18 09:00-0.2048.46212.95
2018-08-18 10:00-0.2-148.47213.29
2018-08-18 11:00-0.2048.47813.84
2018-08-18 12:00-0.3048.28113.71
2018-08-18 13:00-0.3-148.18313.54
2018-08-18 14:00-0.4048.08313.42
2018-08-18 15:00-0.4048.08113.36
2018-08-18 16:00-0.4048.17913.26
2018-08-18 17:00-0.4-148.27513.10
2018-08-18 18:00-0.3048.27113.05
2018-08-18 19:00-0.3-148.36613.01
2018-08-18 20:00-0.3048.46012.99
2018-08-18 21:00-0.3048.45612.97
2018-08-18 22:00-0.2048.45312.96
2018-08-18 23:00-0.2048.45012.94
2018-08-19 00:00-0.2048.54812.93
2018-08-19 01:00-0.2048.44612.91
2018-08-19 02:00-0.2048.44412.90
2018-08-19 03:00-0.2048.44312.88

Run time: 1.485 seconds
Requested data: 24 rows, 19 columns, 456 values
Received data: 24 rows