Datatypes › All measurable values (percentage, amount and e.t.c)

Temperature

ID temperature

DatatypeNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

A measured or set temperature, such as an air, water or body temperature reading. Datasets store it as a number in degrees Celsius, degrees Fahrenheit or kelvins, with the unit either in the value or in the column name or metadata. The regular expression recognizes only values that carry a unit symbol. Semantic MediaWiki has a Temperature datatype that accepts K, °C, °F and °R and stores values in kelvins.

Parent datatype
Numeric value numeric
Categories
All measurable values (percentage, amount and e.t.c), Scientific, Environment (protected areas, biodiversity, water, weather, emissions, waste)
Countries
Global (not tied to a country)
Languages
Common to most languages
Wikidata
P2076
Quality
100/100
Metacrafter rules
2 rules (2 by field name, 0 by value)
Supported by tools
Collibra Data Classification, Duckling, Great Expectations Semantic Types Expectations, IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Microsoft Recognizers-Text

Regular expression

^[-+]?\d+(?:[.,]\d+)?(?:\s?(?:°\s?[CFR]|℃|℉)|\sK)$

Python re syntax.

Test a value

Examples

ValueDescription
21.5 °C air temperature in degrees Celsius
36.6°C body temperature without a space before the unit
-40 °F negative temperature in degrees Fahrenheit
273.15 K water freezing point in kelvins
25K invalid K without a space usually means thousands
°C invalid unit without a number

Translations

LanguageNameDescription
RussianТемпература

Sources

Use this record