Microproduct Data GuideBeginner

MET Norway Locationforecast

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

Report a Problem

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
Last Verified
Aug 18, 2026
Source Type
Government Source
  • Python Syntax Checked
  • Runnable Notebook

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.

Geography

Formats

Provider

Norwegian Meteorological Institute

Data Terms

CC BY 4.0 and Norwegian Licence for Open Government Data 2.0

Send Feedback