Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
250 lines (218 loc) · 4.84 KB

current.md

File metadata and controls

250 lines (218 loc) · 4.84 KB

Current Weather

GET /weather/current.{format}

Description

This method returns the current weather details from the University of Waterloo Weather Station. http://weather.uwaterloo.ca

Summary

Name Value Name Value
Request Protocol GET Requires API Key No
Method ID 1451 Enabled Yes
Service Name weather Service ID 277
Information Steward UW Weather Station Data Type XML Feed
Update Frequency Every 15 minutes Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /weather/current.{format}
Parameter Type Required Description
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /weather/current.{format}

Response

Field Name Type Value Description
latitude float Station's latitude
longitude float Station's longitude
elevation_m float Station elevation in meters
observation_time string iso8601 timestamp of weather recordings
temperature_current_c float Current temperature in celsius
humidex_c float Humidex temperature in celsius
windchill_c float Windchill in celsius
temperature_24hr_max_c float 24 hour maximum temperature in celsius
temperature_24hr_min_c float 24 hour minimum temperature in celsius
precipitation_15min_mm float Precipitation reading for 15 minute interval in mm
precipitation_1hr_mm float Precipitation reading for 1 hour interval in mm
precipitation_24hr_mm float Precipitation reading for every 24 hour interval in mm
relative_humidity_percent float Relative humidity in percentage
dew_point_c float Dew point in celsius
wind_speed_kph float Wind speed in km per hour
wind_direction_degrees float Wind direction in degrees
pressure_kpa float Pressure in kilopascals
pressure_trend string Word description of the current pressure trend
incoming_shortwave_radiation_wm2 float Incoming radiation in watts per meter square

Any value can be null

Output

JSON

{
  "meta":{
    "requests":476,
    "timestamp":1384890871,
    "status":200,
    "message":"Request successful",
    "method_id":1451,
    "version":2.07,
    "method":{
      
    }
  },
  "data":{
    "latitude":43.4738,
    "longitude":-80.5576,
    "elevation_m":334.4,
    "observation_time":"2013-11-19T14:45:00-05:00",
    "temperature_current_c":1,
    "humidex_c":null,
    "windchill_c":-3,
    "temperature_24hr_max_c":3,
    "temperature_24hr_min_c":-0.5,
    "precipitation_15min_mm":null,
    "precipitation_1hr_mm":0,
    "precipitation_24hr_mm":1,
    "relative_humidity_percent":80.4,
    "dew_point_c":-2,
    "wind_speed_kph":9.2,
    "wind_direction_degrees":45,
    "pressure_kpa":102.5,
    "pressure_trend":"Rising",
    "incoming_shortwave_radiation_wm2":317.8
  }
}