---
id: "precipitation_amount"
kind: "datatype"
status: "draft"
is_pii: false
name: "Precipitation amount"
regexp: "^[-+]?\\d+(?:[.,]\\d+)?\\s?(?:mm|in)?$"
categories: ["environment", "science", "values"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/precipitation_amount"
---

# Precipitation amount (`precipitation_amount`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Depth of rain, snow or other precipitation that fell in a period (a reading interval, an hour, a day, a month), in millimetres (0.2, 12.4) or inches, as rain gauges and weather stations report it; a cumulative column adds the readings since a start time. Weather tables name it precipitation, rainfall, rain, prcp (GHCN-Daily). Most readings are 0.0.

- Parent datatype: [`numeric`](https://registry.apicrafter.io/datatype/numeric.md)
- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Scientific (science), All measurable values (percentage, amount and e.t.c) (values)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^[-+]?\d+(?:[.,]\d+)?\s?(?:mm|in)?$
```

## Examples

- `0.0` — no rain in the interval
- `0.2` — one tip of a tipping-bucket gauge
- `12.4 mm` — with the unit
- `light` (invalid example) — an intensity in words

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `precipitationbyname` (field, `common/observations.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Количество осадков

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Precipitation>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/precipitation_amount.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/precipitation_amount.yaml>
