Complete Data Retrieval, Meta Data Retrieval

Using the parameters 'lat', 'lon' and 'layer' together will retrieve weather data that is '|' section delimited, '~' segment delimited and '*' element delimited. The values for the 'lat' and 'lon' parameters can be found here: http://developer.mapquest.com/web/tools/lat-long-finder.

'layer=meta' will retrieve the meta data about the forecast.

Example Link:

http://api.parfait.snarkybox.com/forecast?lat=33.94&lon=-118.4&layer=meta

What that link returns will look like this if viewed in a browser:

mt**46*-113.05*7000**2013-09-25T21:36:21-06:00*14*PT1H*Missoula, MT*http://www.wrh.noaa.gov/mso*markMitchell~|

Element Names:

ID mt00 mt01 mt02 mt03 mt04 mt05 mt06 mt07 mt08 mt09
Name layer_code description latitude longitude elevation NULL creation-date period_count refresh-frequency production-center
Data Type token token decimal decimal nonNegativeInteger NULL dateTime nonNegativeInteger duration string

ID mt10 mt11
Name credit wordGenerator
Data Type anyURI token

NOTE: Element mt07 is not actually contained in the data from NWS. It is either the count of periods that NWS has sent in the data or the quantity specified in the 'periods' parameter.