elements

Get metadata about Frost API elements.

Get metadata about the weather and climate elements that are defined for use in the Frost API. Use the query parameters to filter which elements to return and what fields to include for each element. Leave the query parameters blank to select all elements. Note: an empty list of sensor level values in the output means that the sensor level values may vary dynamically for this element. In this case it will not be possible to filter on specific sensor level values in the sensorLevels query parameter.

get/elements/v0.{format}

Request

  • Base URL: https://frost.met.no
  • URL: https://frost.met.no/elements/v0.{format}
  • Auth: none declared

Path parameters

format'jsonld' required

The output format of the result.

Query parameters

idsstring

The element IDs to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>. An element ID is structured as a <a href=concepts2.html#calculationmethod>calculation method</a>.

namesstring

The element names to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

descriptionsstring

The descriptions to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

unitsstring

The units to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>. <b>Note:</b> when the unit is 'code', a codetable is in use.

codeTablesstring

The code tables to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>. <b>Note:</b> When a codetable is in use, the unit is 'code'.

statusesstring

The statuses to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

calculationMethodstring

The <a href=concepts2.html#calculationmethod>calculation method</a> filter as a <a href=concepts2.html#jsonfilter>JSON filter</a> that supports the following keys: baseNames, methods, innerMethods, periods, innerPeriods, thresholds, methodDescriptions, innerMethodDescriptions, methodUnits, and innerMethodUnits

categoriesstring

The categories to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

timeOffsetsstring

The time offsets to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

sensorLevelsstring

The sensor levels filter as a <a href=concepts2.html#jsonfilter>JSON filter</a> that supports the following keys: levelTypes, units, defaultValues, and values. Note: if the sensor level values may vary dynamically for the element, the values key won't have any effect.

oldElementCodesstring

The old MET Norway element codes to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

oldUnitsstring

The old MET Norway units to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

cfStandardNamesstring

The CF standard names to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

cfCellMethodsstring

The CF cell methods to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

cfUnitsstring

The CF units to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

cfVersionsstring

The CF versions to get metadata for as a comma-separated list of <a href=concepts2.html#searchfilter>search filters</a>.

fieldsstring

The information to return as a comma-separated list of id, name, description, unit, codeTable, status, cmBaseName, cmMethod, cmInnerMethod, cmPeriod, cmInnerPeriod, cmThreshold, cmMethodDescription, cmInnerMethodDescription, cmMethodUnit, cmInnerMethodUnit, category, sensorLevelType, sensorLevelUnit, sensorLevelDefaultValue, sensorLevelValues, oldElementCodes, oldUnit, cfStandardName, cfCellMethod, cfUnit, or cfVersion. For example 'id,unit,oldElementCodes,oldUnit'. If omitted, all fields are returned.

lang'en-US' | 'nb-NO' | 'nn-NO'

ISO language/locale to be used for search filters and return values.

Response

successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.