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 14600 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)
Brown Top (1080) 5830 ft     48.93° N, 121.20° W     2009-September, active
http://www.wcc.nrcs.usda.gov/nwcc/site?sitenum=1080     . . . /sensorhistory?sitenum=1080     . . . /sensors?sitenum=1080&timeseries=Hourly     . . . /sensors?sitenum=1080&timeseries=Daily
http://www.wcc.nrcs.usda.gov/nwcc/view?intervalType=+View+Current+&report=WYGRAPH×eries=Daily&format=plot&sitenum=1080&interval=WATERYEAR
http://www.wcc.nrcs.usda.gov/reportGenerator/view/customSingleStationReport/hourly/1080:WA:SNTL/-23,0/ . . .     . . . /view/customChartReport/hourly/1080:WA:SNTL/-23,0/ . . .
http://www.wcc.nrcs.usda.gov/reportGenerator/view_csv/customSingleStationReport/hourly/1080:WA: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


SNOTEL server error, data file not found.
























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