---
id: "wind_direction"
kind: "datatype"
status: "draft"
is_pii: false
name: "Wind direction (degrees)"
regexp: "^(?:360(?:[.,]0+)?|3[0-5]\\d(?:[.,]\\d+)?|[12]?\\d{1,2}(?:[.,]\\d+)?)\\s?(?:°|deg)?$"
categories: ["environment", "science", "values"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/wind_direction"
---

# Wind direction (degrees) (`wind_direction`)

> **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.

Direction the wind blows from, in degrees clockwise from true north: 0 or 360 is a north wind, 90 an east wind. Weather stations report it with the wind speed, often next to a compass point (compass_point) of the same reading. A number from 0 to 360 alone can be any angle, so a value is a wind direction only in a field named after it.

- 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`):

```
^(?:360(?:[.,]0+)?|3[0-5]\d(?:[.,]\d+)?|[12]?\d{1,2}(?:[.,]\d+)?)\s?(?:°|deg)?$
```

## Examples

- `105.2` — east-southeast
- `270` — a west wind
- `45°` — with the degree sign
- `NNE` (invalid example) — a compass point
- `361` (invalid example) — above 360 degrees

## Metacrafter rules

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

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

## Supported by tools

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

## Translations

- ru: Направление ветра (градусы)

## Sources

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

## Quality

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

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