LocationforecastLTS - Weather forecast for a specified place, long term support.
This product delivers similar data as locationforecast, but for this product we will support a deprecated version for at least 3 months. Locationforecast will probably be updated more frequently and might have shorter life span for deprecated versions.
This modules implements a full forecast for one location, that is, a forecast with several parameters for a nine-day period.
Please note that available parameters will wary depending on location and forecast time.
Locations inside Norway will have probability elements for temperature, wind, symbol and precipitation. The precipitation element have additional attributes for max and minimum values.
A probability element specifies certainty of prognoses for a given parameter for a given time. This certainty is defined by a probabilitycode in the following manner:
The list of numbers and ids for the current symbol elements can be found at https://beta.api.met.no/weatherapi/weathericon/1.1/documentation.
- msl parameter: the msl parameter are used to adjust the temperature according to adiabatic changes. For locations inside Norway we use our own corrections schemes for the first 48 hours and the parameter will have no effect. It will however affect the temperature for the last 7 days of the forecast. The altitude reported in the XML is the same as the parameter.
- lat (latitude), in decimal degrees, mandatory
- lon (longtitude), in decimal degrees, mandatory
- msl (whole meters above sea level (integers)), optional
Sample request URLs:
The schema for the xml delivered by this product is available from
- - New version 1.3. The old version, 1.2, will expire at 2017-05-09.
- - With this new version we have expired an old forecast model. As a conequence of this, areas in northern europe that previously had 1 hourly resolution short term forecast will temporarily get 3 hour resolution instead.
- - New version 1.1. Old version, 1.0, will expire at 2011-09-09
- - Symbol numbers 20 - 23( see list above ) are new and will start to appear in the near future.
- - Attribute licenseurl in element <meta> has been removed. Note that the license still applies, its just no longer refered to in the xml.
- - Attribute probability for element precipitation has been removed. Some minor adjustments to the xml, such as different ordering of some elements.
Last modified $ $Date$
Copyright (C) 2015 MET Norway. All Rights Reserved.
Hey! The above document had some coding errors, which are explained below: