v1–v7 spell AquaMaps am_0.05 (the 0.5° source resolution baked into the
name); the mdl_key grammar uses am. Minting a key from the raw legacy
string yields am_0.05|Fis-29291, which matches nothing in v8 — so a
crosswalk built without this silently fails to join the two generations.
Usage
normalize_ds_key(dataset_key)
Arguments
- dataset_key
character vector of dataset keys, legacy or current
Value
the same vector with legacy spellings normalised
Details
Lives here rather than inline in the backfill notebook because it is a rule
about the key grammar, and rules belong in the package where a test can
assert them.