Weather information retrieval
Description | Provides real-time weather information for a given location. | |
Assumptions | User: jdoe@yahoo.com, Private Key: 12345678, Requesting feed ID #3 | |
Call Example | http://pgw.io/?f=3&u=jdoe@yahoo,com&k=12345678 | |
Data type | Fixed length, encoded, proprietary | |
Feed Example | See API |
Login and access your feed workbench (top-right) to customize this feed for your device.
Additional Information
Segments Format
The weather data stream is subdivided in various segments. Some segments have a 2/3 digit code for identification and fixed length for easy processing. Segments are contiguos (no separation) to allow for easy mapping within your sketch. FORECAST TYPES ========================================= Segment: 2 digit fixed length CODE DESCRIPTION ---- ------------------------------------------- CC Current (latest) weather condition segment SF Standard forecast TF Temporary forecast PF Probable forecast BE Becoming forecast UF Undefined forecast type WEATHER CONDITION ====================================== Segment: Typically this is a 5 digit segment, however it can be up to 11 digit since 3 statuses can be reported at one time. Syntax: WExCC WE = Segment identifier (WEather) x = + heavy - light ! vicinity : normal CC = (see below) CODE DESCRIPTION ---- ------------------------------------------- RA Rain RS Rain Showers RT Rain with Thunderstorms DZ Drizzle SH Showers SL Small Hail HA Hail TS Thunderstorm(s) TD Thunderstorm(s) with Drizzle TH Thunderstorm(s) with Hail TG Thunderstorm(s) with small Hail PF Patches of Fog FU Fog SU Shallow Fog PU Partial Fog SM Smoke HZ Haze MI Mist PE Ice Pellets SN Snow SG Snow Grains SS Light Snow Showers BD Blowing Dust LD Low Drifting Dust LS Low Drifting Sand SA Sand PO Dust/Sand Wirls DS Dust Storm DT Widespread Dust SQ Squal NS No significant Weather Change Decoding examples: +RA = Heavy Rain -RA = Light Rain :RA = Rain !RA = Rain in vicinity +RA-TS = Heavy Rain with light thunderstorm(s) In addition these special flags can appear: AF Automated Forecast (no human verification) VI Denominates the next segment is 'in vicinity' ex: !VI-RA = Vicinity Light Rain approacing APPLICABLE FORECAST TIME =============================== Segment: 8 digits fixed length with 2 digit code Syntax : TMxhhmmddMM TM = Segment identifier (TiMe) hh = Hours mm = Minute dd = Day MM = Month CODE DESCRIPTION ---- ------------------------------------------- TM Time forecast was observed/applicable TEMPERATURE ============================================ Segment: 3 digits fixed length with 2 digit code Syntax : TTfff TT = Segment identifier (TemperaTure) fff = Degrees in Fahrenheit DEW POINT ============================================== Segment: 3 digits fixed length with 2 digit code Syntax : DPfff DP = Segment identifier (Dew Point) fff = Degrees in Fahrenheit RELATIVE HUMIDITY ====================================== Segment: 2 digits fixed length with 2 digit code Syntax : RHpp RH = Segment Identifier (Relative Humidity) pp = Humidity expressed in percent (0-99) PRESSURE (ALTIMETER) ===================================== Segment: 5 digits fixed length with 2 digit code Syntax : PRhh.hhmmmm.m PR = Segment identifier (PRessure) hh.hh = Pressure expressed in Hg WIND SPEED & DIRECTION =================================== Segment: 8 digits fixed length with 2 digit code Syntax : WIxxxnnn WI = Segment identifier (WInd) xxx = Wind direction (N, S, NE, ESE, WSW etc) nnn = Speed in MPH CLOUDS COVERAGE ========================================== Segment: 6 digits fixed length with 3 digit code Syntax : CCCnnn CCC = Code (see below) nnn = Altitute in hundreds of feet (add 2 zeros) CODE DESCRIPTION ---- ------------------------------------------- SCT Scattered clouds CLR Clear skies SKC Clear skies (alternative) FEW 1/8 light coverage BKN Broken clouds (> 4/8 coverage) OVC Overcast CAV Clear skies, unlimited visibility VISIBILITY =============================================== Segment: 8 digits fixed length with 2 digit code Syntax : VImmmkkk VI = Segment identifier (VIsibility) mmm = Visibility in miles nnn = Visibility in kilometers CEILING ================================================== Segment: 5 digits fixed length with 2 digit code Syntax : CEfff CE = Segment identifier (CEiling) fff = Altitude in hundreds of feet (add 2 zeros)