Warning! This version (1.6) is deprecated! Please use version 2.0 for continued service.
 

NAME

Textforecast - Textual weather forecast for all parts of the country

DESCRIPTION

This module returns textforecasts according to specified parameters.

Schema

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

Available

A list of available data may be retrieved using the 'available' action, using the url https://api.met.no/weatherapi/textforecast/1.6/available .

Parameters

forecast

Valid forecasts are:

type

Forecast lists can be filtered on specified type, currently aerodrome, iga and route. Note that not all forecasts currently have a type.

This feature is only present in available.

language

nb:

Norwegian bokmål

nn:

Norwegian nynorsk (does not seem to be in use)

en:

English

Note that most warnings are only available in Bokmål, except for avaiation forecasts which are only in English.

Sample request URLs

https://api.met.no/weatherapi/textforecast/1.6/?forecast=landday0&language=nb
https://api.met.no/weatherapi/textforecast/1.6/?forecast=landmerge&language=nb
https://api.met.no/weatherapi/textforecast/1.6/?forecast=seahigh&language=en

Change log

land and seaoslofjord forecasts removed, 2019-03-01

Production of the "land" forecast will stop on March 1st, 2019, and will be removed as a valid parameter value.

The product "seaoslofjord" containing forecasts for Skagerrak and for the Norwegian coast from the Swedish border to Hordaland will be discontinued from our Textforecast service from March 1st. Forecasts for Skagerrak can be found in the "seabank" product, while forecasts for the complete Norwegian coastline can be found in the "coast" product.

aw_enry replaced by aw_ento, 2019-02-01

Rygge airport is currently closed, so no ENRY forecasts have been issued this year. Instead we are now producing aerodrome forecasts for Torp (ENTO). iga_fbno43 has also not been in production for a long time and has been removed.

several forecast types removed, 2019-02-01

On February 1st we will remove the following products:

route_fbno*

These will be replaced with the new routeforecast service for automatically generated graphical forecast. The old route_fbno forecasts will be available on NAIS for some time.

landday0-2, landlong, seabankday1 and metkyst0-1

These are temporary files included in the more comprehensive forecasts

easter, miskred_north, miskred_south, iga_fbno43

These have not been produced for several years

gale and obs removed, 2018-06-07

gale* and obs* are no longer permitted values in the forecast parameter

gale and obs soon to be discontinued, 2017-12-13

The gale and obs warnings are now available in CAP format from the metalerts section of the API, and will shortly be discontinued in textforecast. The following values will then no longer be allowed in the forecast parameter and will result in a 400 Bad Request:

gale
gale_id
obs
obs_va
obs_vn
obs_vv

version 1.6, 2012-05-10

New version 1.6 available:

Use of latitude and longitude is removed, use Textlocation instead for this functionality. extreme forecasts are moved to their own product

Version 1.5 available until 2012-09-04

version 1.5, 2009-03-11

New version 1.5 available:

New parameters latitude and longitude available

Version 1.4 is available until 2009-04-25

version 1.4, 2008-11-26

New version 1.4 available:

The format for Obsvarsel is reversed to be like 1.2. The format from 1.3 is available as forecast=obs_merge.

Version 1.3 is available until 2009-02-18

version 1.3, 2008-11-04

New version 1.3 available:

New tag in merged forecasts, origin_forecast which contains the name of the forecast this part is coming from.

obs forecast is changed to be a merged forecast. The XML-format is slightly changed, and might contain more than one time period.

extreme forecast might contain more than one situation at the time, following the merged syntax. Phase D forecasts will only be shown in six hours instead of 12 hours.

Version 1.2 is available until 2009-02-18

version 1.2, 2008-03-05

New version 1.2 available:

landday1 has changed XML. IDs are now consistent and counties are thin area-elements. land is also affected by this change.

Version 1.1 is available until 2008-06-01

version 1.1 : 2007-06-13

New version 1.1 available:

Landshort has changed name to landday1.

landday1, landday2 and landlong has a new element in their XML called area. This element is used to group the counties.

Two new merged forecasts, land and seabank.

Two new forecasts available, gale and extreme.

Version 1.0 is available until 2007-08-15