NAME

Textlocation - All available textual forecasts for a given point.

DESCRIPTION

This module returns textforecasts for a geographical point or area. This includes text from other sources than met.no

Schema

The schema for the xml delivered by this product is available from https://api.met.no/weatherapi/textlocation/1.0/schema .

Parameters

language

nb: Norwegian bokmål, en: English

Note that textforecasts in english are available for only some areas and some types ( e.g textforecasts for the coastal areas ).

Value: nb,en

latitude

Value: latitude in decimal degree format.

longitude

Value: longitude in decimal degree format.

type (optional - DEPRECATED)

With this parameter specified, you will get textforecasts of the specified type only. If omitted, you will get textforecasts of all types (usually landday0, landday1, long) for the specified coordinate. Currently only type flood can be specified.

Value: flood.

Note: Flood warnings are no longer delivered via textlocation, so this parameter will be removed in a later update. Please see "discontinuation of flood warnings, 2018-04-05" for more info.

issuer (optional)

Undocumented - FIXME

Example requests:

https://api.met.no/weatherapi/textlocation/1.0/?language=nb&latitude=59.9&longitude=10.6
https://api.met.no/weatherapi/textlocation/1.0?type=flood&latitude=69.9&longitude=12.6&language=nb

Change log

discontinuation of flood warnings, 2018-04-05

Since NVE now offers flood warnings in standard CAP format via their API, there is no longer any requirement for the MET API to offer these in our proprietary format. As such they will no longer be issued, and the type parameter will be removed in a later update.

To download flood warnings in CAP format, please visit the NVE API at http://api.nve.no/doc/flomvarsling/.

removal of extreme, 2018-03-15

From May 2018 all "extreme" forecasts will only be delivered via metalerts. This means those elements will no longer be present in the textlocation XML, instead they must be fetched as CAP from the metalerts product on the API.

removal of gale and obsforecast, 2017-12-14

From February 2018 all gale and obs forecasts will only be delivered via metalerts. This means those elements will no longer be present in the textlocation XML, instead they must be fetched as CAP from the metalerts product on the API.

version 1.0, 2010-01-15

First version, this work just like textforecast did