---
id: "ca_wsc_drainage_area_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Canadian drainage area code (Water Survey of Canada, SDAC)"
regexp: "^(?:0[1-9]|1[01])(?:[A-Z]{1,2})?$"
categories: ["environment", "geo"]
country: ["CA"]
langs: ["en", "fr"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ca_wsc_drainage_area_code"
---

# Canadian drainage area code (Water Survey of Canada, SDAC) (`ca_wsc_drainage_area_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 drainage area of Canada in the hierarchy of the Water Survey of Canada, which Statistics Canada publishes as the Standard Drainage Area Classification (SDAC 2003): two digits for one of the 11 major drainage areas (05 Nelson River, 08 Pacific), a letter added for one of the 164 sub-drainage areas (05L) and a second letter for one of the 974 sub-sub-drainage areas (05LJ). Hydrometric station numbers begin with the sub-sub-drainage area code (ca_wsc_station_number). The National Hydro Network and the watershed layers of Agriculture and Agri-Food Canada hold it in fields named WSCMDA, WSCSDA, WSCSSDA, FDA, SUB_EC or SUBSUBBASI.

- 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: categorical

## Detection

Regular expression (Python `re`):

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

## Examples

- `05LJ` — a sub-sub-drainage area of the Nelson River drainage area
- `05L` — sub-drainage area Lake Winnipegosis and Lake Manitoba
- `05` — major drainage area Nelson River
- `08MF`
- `12` (invalid example) — there are eleven major drainage areas
- `5LJ` (invalid example) — the major drainage area has two digits

## Metacrafter rules

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

- `cawscdrainageareacodebyname` (field, `ca/ca_codes.yaml`)

## Supported by tools

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

## Translations

- fr: Code d'aire de drainage du Canada (CTAD)
- ru: Код водосборного бассейна Канады (WSC, SDAC)

## Sources

- doc: <https://www.statcan.gc.ca/en/subjects/standard/sdac/sdacinfo1>
- doc: <https://wateroffice.ec.gc.ca/station_metadata/station_list_help_e.html>

## Quality

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

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