Microproduct data guidebeginner

MET Norway Locationforecast

Global point weather forecasts for building location-specific planning tools outside the U.S. National Weather Service footprint.

At a glance

Difficulty
Beginner — comfortable for a first prototype
Size
Tiny · ≤0.01 GB
Formats
JSON
Access
API
API key
Not required
Provider
Norwegian Meteorological Institute
Updates
Continuous

From source to product signal

Test a product idea in four steps

Locationforecast returns JSON weather for any latitude and longitude. Start with the compact product for one coordinate. Identify the client in User-Agent or MET Norway returns 403. Forecasts change, and this product is not an official warning service.

1

Check the setup

  • Python 3.10 or newer
  • A notebook environment such as Jupyter or Google Colab
  • An internet connection
2

Access the data

  1. 1.Read the Locationforecast documentation and licensing page, including commercial reuse under CC BY and NLOD.
  2. 2.Choose one coordinate and the compact JSON method.
  3. 3.Send a unique User-Agent with a contact URL.
Open official source
3

Run the Python example

Install the packages, then run the notebook cell.

python -m pip install pandas requests

import pandas as pd
import requests

response = requests.get(
    "https://api.met.no/weatherapi/locationforecast/2.0/compact",
    params={"lat": 59.91, "lon": 10.75},
    headers={
        "User-Agent": (
            "TrilemmaDataCatalogExample/1.0 "
            "(https://data.trilemma.foundation)"
        )
    },
    timeout=30,
)
response.raise_for_status()
timeseries = pd.json_normalize(
    response.json()["properties"]["timeseries"]
)
print(
    timeseries.filter(
        regex="time|air_temperature|wind_speed|precipitation_amount"
    ).head()
)
4

Test a useful signal

Inspect Oslo's next forecast hours

Test whether Locationforecast can power a bounded local planning card.

  1. 01Keep time, air temperature, wind speed, and precipitation for the first hours.
  2. 02Convert times to timezone-aware timestamps before ranking the wettest hour.
  3. 03Credit MET Norway and explain that a forecast is not an official warning.

Dataset details

Norwegian Meteorological Institute is a government source. Last verified 2026-08-18. Temporal coverage: current forecasts out to about nine days.

Theme

Environment & Hazards

Domains

WeatherForecastingEmergency Management

Data types

Time SeriesForecast Data

Tasks

ForecastingOperational PlanningAlerting

Geography

Global

Formats

JSON

Provider

Norwegian Meteorological Institute

Data terms

CC BY 4.0 and Norwegian Licence for Open Government Data 2.0