---
id: "ca_wsc_station_number"
kind: "datatype"
status: "draft"
is_pii: false
name: "Water Survey of Canada hydrometric station number"
regexp: "^(?:0[1-9]|1[01])[A-Z]{2}\\d{3}$"
categories: ["environment", "geo"]
country: ["CA"]
langs: ["en", "fr"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ca_wsc_station_number"
---

# Water Survey of Canada hydrometric station number (`ca_wsc_station_number`)

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

The seven-character number the Water Survey of Canada gives a hydrometric station (a gauge of water level or streamflow): two digits of the major drainage area (01 to 11), a letter of the sub-drainage area, a letter of the sub-sub-drainage area and three digits of the station in it, so 05BH004 is a station of sub-sub-drainage area 05BH (ca_wsc_drainage_area_code). HYDAT, the national archive of hydrometric data, the real-time water office and provincial water files use it as the station key, in fields named STATION_NUMBER, Station Number, STATION_NU or STATION_ID. Provincial networks write their own numbers (MB05LDS002 of Manitoba), which are not this type.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Geographic identifiers (geo)
- Countries: Canada (CA)
- Languages: English (en), French (fr)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:0[1-9]|1[01])[A-Z]{2}\d{3}$
```

## Examples

- `05BH004` — Bow River at Calgary
- `08MF005` — Fraser River at Hope
- `05LJ021` — Station Number of a Manitoba station list (CanWIN, 2024)
- `12AB001` (invalid example) — there are eleven major drainage areas
- `MB05LDS002` (invalid example) — a station number of the Manitoba provincial network

## Metacrafter rules

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

- `cawscstationnumberbyname` (field, `ca/ca_codes.yaml`)
- `cawscstationnumbervalue` (data, `ca/ca_codes.yaml`)

## Supported by tools

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

## Translations

- fr: Numéro de station hydrométrique (Relevés hydrologiques du Canada)
- ru: Номер гидрометрического поста Водной службы Канады (WSC)

## Sources

- doc: <https://wateroffice.ec.gc.ca/station_metadata/station_list_help_e.html>
- wikipedia: <https://en.wikipedia.org/wiki/Water_Survey_of_Canada>

## Quality

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

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