Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Portuguese hourly station weather observations for building a local conditions display with explicit station context.
Report a ProblemFrom Source to Product Signal
IPMA publishes a GeoJSON file of recent Portuguese weather station readings. Start with two features and preserve their timestamps and station IDs; a station reading is not a destination-wide measurement or warning.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
url = "https://api.ipma.pt/open-data/observation/meteorology/stations/obs-surface.geojson"
response = requests.get(url, timeout=20)
response.raise_for_status()
for station in response.json()["features"][:2]:
row = station["properties"]
print(row.get("idEstacao"), row.get("time"), row.get("temperatura"))Test a Useful Signal
Present two current IPMA station readings with timestamps.
Instituto Português do Mar e da Atmosfera is a government source. Last verified 2026-09-28. Temporal coverage: latest hourly station observations.