Instructions:
http://www7.ncdc.noaa.gov/rest/ ISH build catalog
The complete Global Hourly Dataset (ISH) station list in waterML can
be obtained by
http://www7.ncdc.noaa.gov/rest/services/sites/ish?output=waterml&token=
We're still finishing up the values request for providing only hourly
accumulated precipitation and wind vector. This should be finished up
tomorrow with units included.
http://www7.ncdc.noaa.gov/rest/services/values/ish/72315003812/AA1/200901/200902/?output=waterml&token=
In the meantime, you can build your inventory using the following request
http://www7.ncdc.noaa.gov/rest/services/sites/ish/?output=csv&token=
This will provide
ncdc_datasetid,stationid,country_code,station_name,lat,lon,elev,null,begin_date,end_date
Rich
Example
Token hidden in comment
GetSites
http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/usa/?output=xml&token=[TOKEN]
http://www7.ncdc.noaa.gov/rest/services/sites/daily/stateAbbrev/ca/?output=xml&token=[TOKEN]
http://www7.ncdc.noaa.gov/rest/services/sites/daily/stateAbbrev/ca/?output=waterml&token=[TOKEN]
GetSiteInfo
Url Pattern: /services/siteinfo/datasetId/stationId/
http://www7.ncdc.noaa.gov/rest/services/siteinfo/daily/01000899999/?output=waterml&token=[TOKEN]
http://www7.ncdc.noaa.gov/rest/services/siteinfo/isd/72584523225/?output=waterml&token=[TOKEN]
Get Values
http://www7.ncdc.noaa.gov/rest/services/values/datasetId/stationId/variableId/{startDate}/{endDate}/
http://www7.ncdc.noaa.gov/rest/services/values/daily/01018499999/CIG/20080101/20080131/?output=waterml&token=[TOKEN]
Do not work, lets try isd 72584523225
http://www7.ncdc.noaa.gov/rest/services/values/isd/72584523225/CIG/20080101/20080131/?output=waterml
Data Notes
Variables are in the old ASOS database
Requirements -Quirks-
NCDC Web Service http response codes
Not all sites are ASOS
I have removed the time restriction for SDSC access frequency.
Strictly speaking, ASOS does not have 30,000 stations. Global Hourly data, which ASOS is a subset of, does have 30,000 stations historically. It might be useful to restrict stations requested by time and country. Also note that
ASOS:72646014897 WAUSAU MUNICIPAL ARPT is an ASOS station
ASOS:72646499999 WATERTOWN is not an ASOS station
Any global hourly station with 99999 in the last five digits is NOT an ASOS station. We will set up a web service which provides only access to ASOS at some point.
RATE LIMITED ACCESS
Addressed. No longer rate limited
You can only access 1 per minute for a certain token.
SDSC token has limit of once per five seconds.
So harvesters and webservice needs to know this, and only send rate limited requests.
Data not always recorded, even if sensor exists at site
E.g. If there is no preciptation for a day, no value is returned
WaterML
SiteCode returns siteName, but SiteID attribute should be used
Get with CURL
curl -o siteFile.txt -d output=csv -d token= http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/usa/
curl -o siteFile.xml -d output=xml -d token=bgFcccciDafJnemlGInn http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/usa/