Skip to content

Recognize coordinate metadata stored in encoding#660

Open
Kkkakania wants to merge 1 commit into
xarray-contrib:mainfrom
Kkkakania:test/encoding-attributes
Open

Recognize coordinate metadata stored in encoding#660
Kkkakania wants to merge 1 commit into
xarray-contrib:mainfrom
Kkkakania:test/encoding-attributes

Conversation

@Kkkakania

Copy link
Copy Markdown

Summary

  • recognize coordinate criteria such as standard_name, axis, and units when they are stored in a variable's .encoding
  • apply the same lookup behavior to standard-name and custom-criteria accessors
  • preserve .attrs precedence when the same key appears in both mappings

Closes #49.

Tests

  • uv run --frozen --group test pytest cf_xarray/tests -q (288 passed, 1 skipped)
  • uvx pre-commit run --all-files

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.

add tests for attributes in .encoding

1 participant