GovHack APIs from MetService

Similar documents
Damaging Wind Gust Index. Prepared for Ministry for the Environment

A warm, sunny and very dry month for most of the country.

Warmest August on record for NZ. Dry in many parts; wet in the east and north of the North Island.

The year 2016: New Zealand s warmest on record

Highly variable rainfall but plenty of sunshine

2017: A year of weather extremes across New Zealand

A dry month for much of New Zealand

2018: New Zealand s equal-2 nd warmest year on record

Near average temperatures for most of the country.

Two ex-tropical Cyclones Impact New Zealand

New Zealand national climate summary 2011: A year of extremes

New Zealand s 3 rd -warmest summer on record

NEW ZEALAND WEATHER. BRIEF REVIEW OF THE WEATHER WINTER 1989 (Fig. 1) MONTHLY HIGHLIGHTS JUNE-AUGUST Weather and Climate (1990) 10: 27-31

NEW ZEALAND WEATHER. BRIEF REVIEW OF THE WEATHER WINTER 1991 (Fig. 1) CONTRASTING RAINFALL, COLD IN THE SOUTH-WEST OF THE SOUTH ISLAND

New Zealand s hottest summer on record

METEOROLOGICAL LIMITS ON THE USE OF NEW ZEALAND AIRPORTS FOR FLIGHT TRAINING

Very wet in parts of many regions, but dry in south Canterbury and Central Otago. A warm month for the North Island.

A dry end to winter for much of the South Island

NATIONAL CLIMATE CENTRE Wednesday 3 September 2008

NEW ZEALAND WEATHER. BRIEF REVIEW OF WINTER AND SPRING 1990 WINTER 1990 (Fig. 1) Weather and Climate (1991) 11: 31-36

NEW ZEALAND NATIONAL CLIMATE SUMMARY - THE YEAR 2004

A warm and sunny autumn for much of the North Island, wet for many parts of the South Island.

Facial Eczema Risk and Incidence Monitor Report

Two large storms bring destruction to parts of New Zealand

NATIONAL CLIMATE CENTRE WEDNESDAY 6 JUNE 2012

University of Waikato Library: Map Collection

Andrew Tait 2012 President, MetSoc

Jude Wilson & Susanne Becken Lincoln University

Technical Manual for the description of the OVERSEER Nutrient Budgets engine ISSN: X. Climate. June Prepared by D M Wheeler

National Report of New Zealand

Facial Eczema Risk and Incidence Monitor Report

Very dry for the North Island. An extremely sunny summer across the country.

Meteorological Society Of New Zealand (Inc.)

Facial Eczema Risk and Incidence Monitor Report

NEW ZEALAND WEATHER. BRIEF REVIEW OF THE WEATHER WINTER 1988 (Fig. 1)

Coastal Hazard and Climate-Change Risk Exposure in New Zealand: Comparing Regions and Urban Areas

Sun Exposure Survey Questionnaire

Wettest June on record throughout Central Otago and significant snow event for the South Island in late June

What Drives Seismic Risk in New Zealand? Insights from a nextgeneration

BSRN products and the New Zealand Climate Network

New Zealand dimming and brightening

A tumultuous month with record breaking rainfall for eastern South Island

WEATHER FORECAST DHAKA

Meteorological Society Of New Zealand (Inc.)

New Zealand Seasonal Fire Danger Outlook 2017/18 ISSUE: North Island, December 2017

Special Climate Statement record warmth in the Tasman Sea, New Zealand and Tasmania. 27 March 2018

Tsunami Advisory and Warning Supporting Plan [SP 01/18]

Tsunami Advisory and Warning Supporting Plan [SP 01/17]

WEATHER FORECAST DHAKA

Percentage of normal rainfall for August 2017 Departure from average air temperature for August 2017

University of Waikato Library: Map Collection

OpenWeatherMap Module

Quarterly Survey of Domestic Electricity Prices (QSDEP)

MxVision WeatherSentry Web Services Content Guide

Christchurch QUARTERLY REVIEW

New Zealand Seasonal Fire Danger Outlook 2017/18 ISSUE: North Island, January 2018

New Zealand Seasonal Fire Danger Outlook 2017/18 ISSUE: South Island, January 2018

CETANZ Technical Report TR 7. Report Date First Issue 13 November Report Revision Date - Revision Number 1

Aviation Weather Services

NATIONAL CLIMATE CENTRE WEDNESDAY 1 AUGUST 2007

New Zealand Seasonal Fire Danger Outlook 2017/18 ISSUE: South Island, February 2018

Are we feeling warmer yet?

New Zealand Climate Update No 226, April 2018 Current climate March 2018

Mini-Lecture 4.1 Scatter Diagrams and Correlation

WEATHER FORECAST DHAKA

WM9280. Pro Family weather station with T/H sensor, pluviometer, anemometer, PC connection and Meteotime weather forecasts until 3 days

isma-b-aac20 isma Weather kit User Manual Version 1.0 Page 1 / 11

Meteorological Society Of New Zealand (Inc.)

AN OVERVIEW OF THE PROCESSES AND METHODOLOGY USED BY THE SYSTEM OPERATOR TO PREPARE THE FORECAST OF DEMAND.

Short term variations in sea level (2 15 days) in the New Zealand region

Decorated Board Product Offer National May 2012

Estimating the slope and standard error of a long-term. linear trend fitted to adjusted annual temperatures

CropCast Corn and Soybean Report Kenny Miller Friday, March 17, 2017

CropCast Corn and Soybean Report Kenny Miller Tuesday, March 14, 2017

Vantage PRO2 Quick. Reference Guide

WEATHER FORECAST DHAKA

CropCast Corn and Soybean Report Kenny Miller Monday, March 13, 2017

Quick Reference Guide

SOUTH AFRICAN TIDE TABLES

Weather Stations. Evaluation copy. 9. Post live weather data on the school s web site for students, faculty and community.

SOUTH AFRICAN TIDE TABLES

SOFTWARE USER MANUAL. Weather Capture Advance WS1640 WM9280

New Zealand Climate Update No 222, November 2017 Current climate November 2017

A New Approach to Determining the Long-Term Trend in Relative Sea Levels

Climate Change Projections for New Zealand Atmospheric projections based on simulations undertaken for the IPCC 5th Assessment 2nd edition

California OES Weather Threat Briefing

Probabilistic Weather Forecasting and the EPS at ECMWF

What is the maximum distance I can have the remote sensors from the display?

Fire Weather Recording Form

Percentage of normal rainfall for April 2018 Departure from average air temperature for April 2018

Slide 1: Earthquake sequence (with colour coding around big events and subsequent period). Illustrates migration to the east initially into

Monday, October 19, CDT Brian Hoeth

TROPICAL STORM HARVEY COE Navigation Call - Update

PLANNED UPGRADE OF NIWA S HIGH INTENSITY RAINFALL DESIGN SYSTEM (HIRDS)

WeatherHawk Weather Station Protocol

WEDNESDAY 30 TH AUGUST, :57 p.m. Tropical Storm Irma forms in the Atlantic. Don t let your guard down, always #Be Ready.

WEEKEND WEATHER OUTLOOK BELIZE, CENTRAL AMERICA

National and regional risk exposure in low-lying coastal areas

The Bulletin Kaikoura earthquake update

Impact of the 2008 tropical cyclone season on the Baja California Peninsula

Transcription:

GovHack s from MetService Introduction The MetService for the GovHack NZ event consists of a subset of weather data that has been exposed via a test created specifically for GovHack NZ. This will be made available until the end of the GovHack NZ 2016 event and will then be removed. The is provided under the following conditions: The data may be used only by registered GovHack NZ 2016 participants, only for GovHack NZ 2016 competition purposes, and only for the duration of the GovHack NZ 2016 event. The data must not be zused for any other purpose without express permission from MetService. Participants must comply with any GovHack NZ Code of Conduct or Competition Rules. The data must not to be retained, accessed or used again after 31 st July 2016 without express permission from MetService. The data is provided as-is, and MetService makes no representations or warranties as to completeness or accuracy. The data must not be represented as current MetService observations or forecasts (although real MetService data, it will be not updated as frequently as live production data) By using the MetService, GovHack participants agree that any information disclosed by MetService about the will be held in the strictest confidence and that the structure or content of the must not be released or disclosed to any individual or organisation other than registered GovHack NZ 2016 participants or organisers. This obligation of confidence survives beyond the end of the GovHack NZ 2016 event. A quota policy has been implemented to restrict access to the from each given client IP address to 1000 requests per minute. The s that have been exposed by MetService for the GovHack NZ 2016 event are as follows: Content Forecasts Forecast data for the next 10 days. Observations A mix of observation data for 3 hours and 24 hours. Tides The high and low tide times for the next 3 days. Image Manifest A list of either the forecast rain or satellite images available, depending on the parameter passed. Use to find the file names to pass to the Image below. Image Provides either a forecast image of how rain will develop over the next 5 days or an infrared satellite image for the Tasman Sea area for the last 30 hours, depending on the parameter passed (hint: try displaying these as a sequence to create an animation) 1

Documentation Base URL URL params Method Locations Forecasts http://test-api.amazon-test.metcloudservices.com:8080/api/ forecast/:location GET auckland-central taupo wellington-city taumarunui kapiti napier kaitaia hastings kerikeri dannevirke whangarei new-plymouth dargaville wanganui paihia palmerston-north whitianga levin thames masterton hamilton paraparaumu tauranga motueka whakatane nelson rotorua blenheim tokoroa westport gisborne reefton te-kuiti greymouth hokitika kaikoura christchurch ashburton timaru queenstown alexandra wanaka oamaru dunedin gore invercargill mount-cook milford-sound Example URL Example Success Response with comments http://test-api.amazon-test.metcloudservices.com:8080/api/forecast/paihia Code 200 "_usage": "This data is restricted and may only be used with explicit permission from MetService NZ. Contact dataenquiries@metservice.com", "days": [ "date":"25 Jul", Date forecast is for "dow":"monday", Day of week "dowtla":"mon", Short day of week "forecast":"cloudy periods, a few showers. Westerlies easing.", Forecast "forecastword":"few showers", Short forecast "issuedat":"11:24am 25 Jul", Forecast issue time. "max":"15", Max temperature in Degrees Celsius "min":"6", Max temperature in Degrees Celsius "riseset": Moon and Sun Rise/Set information "day":"25 July 2016", Date data is for "location":"thames", Location Name "moonrise":"11:05pm", Local Moonrise time "moonset":"10:28am", Local Moonset time "sunrise":"7:22am", Local Sunrise time "sunset":"5:27pm" Local Sunset time, Other data returned is for internal referencing and may be ignored. Error Code nnn 2

Response An error response like the following where nnn is the error code returned from the call: "code" : nnn, "message" : "An error has occurred" Code 403 An error response like the following when the user has exceeded 1000 calls to the within a minute: "code" : 403, "message" : " quota has been exceeded" 3

Base URL URL params Method List Locations Observations http://test-api.amazon-test.metcloudservices.com:8080/api/ obs/:location GET auckland-central taumarunui wellington-city napier kapiti hastings kaitaia new-plymouth kerikeri wanganui whangarei palmerston-north whitianga levin hamilton masterton tauranga paraparaumu whakatane nelson rotorua blenheim gisborne westport taupo hokitika kaikoura christchurch ashburton timaru queenstown alexandra wanaka oamaru dunedin gore invercargill milford-sound Example URL Example Success Response with comments http://test-api.amazon-test.metcloudservices.com:8080/api/obs/levin Code 200 The Obs returns the last 3 hour and the last 24 hour observation data "threehour": Observation for the last 3 hours "rainfall": "0.0", Rainfall amount in mm "rawtime": 1469403000000, Internal format time "windchill": "13", Temperature with windchill applied "temp": "13", Temperature in degrees Celsius "windprooflayers": "0", "humidity": "62", Humidity Percentage (%) "pressure": 1006, Barometric pressure hpa "windspeed": "24", Windspeed "clothinglayers": "3", "datetime": "11:30am Monday 25 Jul 2016", "winddirection": "W" Wind direction, "twentyfourhour": "mintemp": 9, Minimum Temp. in the last 24 hours in deg. C "maxtemp": 14, Maximum Temp. in the last 24 hours in deg. C "rainfall": "1.0", Rainfall in the last 24 hours in mm "datetime": "9:00am Monday 25 Jul 2016" the date time the data is current at, "location": "Levin AWS", Location "_usage": "This data is restricted and may only be used with explicit permission from MetService NZ. Contact dataenquiries@metservice.com" Or "note": "No localobs station is defined for town paihia", "_usage": "This data is restricted and may only be used 4

Error Response with explicit permission from MetService NZ. Contact dataenquiries@metservice.com" Code nnn An error response like the following where nnn is the error code returned from the call: "code" : nnn, "message" : "An error has occurred" Code 403 An error response like the following when the user has exceeded 1000 calls to the within a minute: "code" : 403, "message" : " quota has been exceeded" 5

Base URL URL params Method Locations Tides http://test-api.amazon-test.metcloudservices.com:8080/api/ tides/:location GET auckland-central whakatane wellington-city gisborne kapiti napier kerikeri hastings whangarei new-plymouth dargaville wanganui paihia levin whitianga paraparaumu thames motueka tauranga nelson westport reefton greymouth hokitika christchurch timaru oamaru dunedin invercargill milford-sound Example URL Example Success Response with comments http://test-api.amazon-test.metcloudservices.com:8080/api/tides/kapiti Code 200 "tidesdata": [ "days": [ "dayofweek": "Tue", Day of week "tides": [ "time": "5:43am", Time of high/low tide "type": "LOW", Tide type low/high "height": "0.2" Tide height above datum in metres, "time": "11:58am", "type": "HIGH", "height": "1.8", "time": "6:02pm", "type": "LOW", "height": "0.3" ], "day": "2016 Jul 26" Date,, "dayofweek": "Wed", "tides": [ "time": "12:25am", "type": "HIGH", "height": "1.9", "time": "6:35am", "type": "LOW", "height": "0.2", "time": "12:53pm", "type": "HIGH", "height": "1.8", "time": "6:57pm", "type": "LOW", "height": "0.3" ], "day": "2016 Jul 27" 6

"dayofweek": "Thu", "tides": [ "time": "1:19am", "type": "HIGH", "height": "1.9", "time": "7:29am", "type": "LOW", "height": "0.2", "time": "1:52pm", "type": "HIGH", "height": "1.8", "time": "7:56pm", "type": "LOW", "height": "0.3" ], "day": "2016 Jul 28" ], "location": "Tauranga" Location ], "_usage": "This data is restricted and may only be used with explicit permission from MetService NZ. Contact dataenquiries@metservice.com" Error Response Or "tidesdata": "note": "No tides are defined for town TAUPO", "_usage": "This data is restricted and may only be used with explicit permission from MetService NZ. Contact dataenquiries@metservice.com" Code nnn An error response like the following where nnn is the error code returned from the call: "code" : nnn, "message" : "An error has occurred" Code 403 An error response like the following when the user has exceeded 1000 calls to the within a minute: "code" : 403, "message" : " quota has been exceeded" 7

Base URL URL params Method Type Example URL Example Success Response with comments Error Response Image Manifest - The manifest file of images available for downloading. http://test-api.amazon-test.metcloudservices.com:8080/api/ images/:type/image-manifest.json GET rain-forecast tasman-infrared http://test-api.amazon-test.metcloudservices.com:8080/api/images/rain-forecast/imagemanifest.json Code 200 "files": [ "filename": "images/rain-forecast/midnight- Saturday-30-Jul-2016.png" URL path of image file relative to the base URL, "filename": "images/rain-forecast/600pm-saturday- 30-Jul-2016.png", "filename": "images/rain-forecast/noon-saturday- 30-Jul-2016.png", "filename": "images/rain-forecast/600am-saturday- 30-Jul-2016.png", "filename": "images/rain-forecast/midnight-friday- 29-Jul-2016.png" ], "_usage": "This data is restricted and may only be used with explicit permission from MetService NZ. Contact dataenquiries@metservice.com" Code nnn An error response like the following where nnn is the error code returned from the call: "code" : nnn, "message" : "An error has occurred" Code 403 An error response like the following when the user has exceeded 1000 calls to the within a minute: "code" : 403, "message" : " quota has been exceeded" 8

Base URL URL params Method Type File-name Example Success response Image Returns the image for a filename listed in the manifest http://test-api.amazon-test.metcloudservices.com:8080/api/ images/:type/:file-name GET rain-forecast tasman-infrared From manifest file eg 100pm-Monday-25-Jul-2016.jpeg http://test-api.amazon-test.metcloudservices.com:8080/api/images/tasmaninfrared/100pm-monday-25-jul-2016.jpeg Code 200 Tasman Infrared satelite: Or rain firecast: Error Response Code nnn An error response like the following where nnn is the error code returned from the call: 9

"code" : nnn, "message" : "An error has occurred" Code 403 An error response like the following when the user has exceeded 1000 calls to the within a minute: "code" : 403, "message" : " quota has been exceeded" 10