---
id: "fr_hydro_station_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "French hydrometric site or station code (Sandre)"
regexp: "^[A-Z0-9]\\d{7}(?:\\d{2})?$"
categories: ["environment", "geo"]
country: ["FR"]
langs: ["fr"]
quality: 90
url: "https://registry.apicrafter.io/datatype/fr_hydro_station_code"
---

# French hydrometric site or station code (Sandre) (`fr_hydro_station_code`)

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

Code of a hydrometric site or station in the Sandre dictionary of hydrometry (HYD 2.4), used by HydroPortail and Vigicrues. A site code has eight characters, the hydrographic zone (four) and an incremental number (four, J4310010); a station code adds a two-digit station number (H612901101). The 8-character codes of the former HYDRO stations were kept as site codes and are the CdStationHydroAncienRef of Vigicrues. Overseas zones start with a digit.

- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Geographic identifiers (geo)
- Countries: France (FR)
- Languages: French (fr)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z0-9]\d{7}(?:\d{2})?$
```

## Examples

- `Y3454010` — Former station code (Vigicrues CdStationHydroAncienRef)
- `H612901101` — Station on the Charentonne at Bernay
- `J4310010` — Site code of the Sandre dictionary
- `Y345401` (invalid example) — seven characters
- `Y34540100` (invalid example) — nine characters

## Metacrafter rules

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

- `frhydrostationbyname` (field, `fr/fr_environment.yaml`)

## Supported by tools

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

## Translations

- fr: Code station hydrométrique

## Sources

- doc: <https://www.sandre.eaufrance.fr/ftp/documents/fr/ddd/hyd/2.4/sandre_dictionnaire_HYD_2.4.pdf>

## Quality

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

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