Skip to content

Issue 476: Add coordinate name standardization for lat/lon aliases - #546

Open
MisplacedOrange wants to merge 1 commit into
google:mainfrom
MisplacedOrange:issue-476-bq-dynamic-coordinates
Open

Issue 476: Add coordinate name standardization for lat/lon aliases#546
MisplacedOrange wants to merge 1 commit into
google:mainfrom
MisplacedOrange:issue-476-bq-dynamic-coordinates

Conversation

@MisplacedOrange

Copy link
Copy Markdown

Changes

weather_mv: add coordinate name standardization helper

Add standardize_coordinate_names() and coordinate alias detection for latitude and longitude coordinates. The helper recognizes common aliases such as lat, lon, long, and lng, canonical-name casing variants, and CF metadata through standard_name or geospatial units.

Add focused unit coverage for alias renaming, CF metadata detection, canonical no-op behavior, and non-spatial datasets.

PR Scope

  • Branch: issue-476-standardize-coordinate-names
  • Pure addition

```text
weather_mv: add coordinate name standardization helper

Add standardize_coordinate_names() and coordinate alias detection for latitude and longitude coordinates. The helper recognizes common aliases such as lat, lon, long, and lng, canonical-name casing variants, and CF metadata through standard_name or geospatial units.

Add focused unit coverage for alias renaming, CF metadata detection, canonical no-op behavior, and non-spatial datasets.
```

## PR Scope

- Branch: `issue-476-standardize-coordinate-names`
- Pure addition

@crackle2k crackle2k left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants