Skip to content

← All sections

Flood, landslide and avalanche warning days in the kommune since each warning service began

natural_hazard_warnings18 fieldsNot in the demo
Source
NVE Varsom flood, landslide and avalanche warning APIs (api01.nve.no, NLOD)
Geography
Municipality
Reported stale after
7 days
Access
Requires an API key granted this section
Contract version
1

Available with: bought bundle or agreed plan (all fields) · Pricing

What this does not say

Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.

  • Lived hazard, not mapped hazard: the number of days NVE's Varsom has warned the address's kommune, one record per hazard. A warning covers a region or a group of kommuner and says nothing about whether the address itself was exposed; hazard_zones and the awareness maps answer that. hazard_warnings answers what is in force now.
  • Levels: flood and landslide use Varsom's 1-4 awareness scale (2 yellow, 3 orange, 4 red); avalanche uses the 1-5 European avalanche danger scale, and level 2 (moderate) is the normal winter state, so threshold_level is 3 (considerable) for avalanche and 2 (yellow) for the others. mean_threshold_days_per_full_year averages the days at or above threshold_level over years in which the service issued on at least 360 days (flood, landslide) or 150 days (avalanche).
  • History starts where the service does: flood and landslide warnings from 2013, avalanche from the 2017-18 season (earlier seasons used other region ids). days_covered counts the days the service issued; warning_status not_collected means the history has not been fetched and every count is null, and not_in_avalanche_forecast_region means no avalanche forecast region covers the kommune. An avalanche day for a kommune is the highest level of any forecast region that covers it.

Fields

7 of 18 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps.

FieldTypeRole
hazardstring | nullcontext
municipality_codestring | nullcontext
warning_statusstring | nullcontext
level_scalestring | nullcontext
threshold_levelinteger | nullcontext
first_yearinteger | null (årstall)context
covered_throughdate | nullcontext
days_coveredinteger | nullcontext
days_level_2integer | nullvalue
days_level_3integer | nullvalue
days_level_4integer | nullvalue
days_level_5integer | nullvalue
full_yearsinteger | nullcontext
mean_threshold_days_per_full_yearnumber | null (årstall)value
by_yearobject | nullvalue
latest_warning_datedate | nullvalue
latest_warning_levelinteger | nullcontext
fetched_attimestamp | nullcontext

Fetch this section

Send the key in the X-API-Key header. The section can be fetched with the rest of the address, or on its own with pagination.

curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643?include=natural_hazard_warnings'

# paginated, one section at a time
curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643/sections/natural_hazard_warnings?limit=25'

Why it cannot be tried here

This section is not part of the public demo projection. That is a licensing and privacy decision, not a sign the data is missing: it is served to customers granted the section.