Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where cf.Field.subspace doesn't always correctly handle global cyclic subspaces #830

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

davidhassell
Copy link
Collaborator

Fixes #828.

This PR fixes and simplifies the treatment of cyclic subspaces in cf.mixin.fielddomain._indices. In the process, it refactors cf.mixin.fielddomain.anchor by moving the business-end of that to the new cf.DimensionCoordinate.anchor. This new method also allows for "cell" anchoring, which we might like to use later (see #824).

@davidhassell davidhassell added the bug Something isn't working label Nov 4, 2024
@davidhassell davidhassell added this to the NEXT VERSION milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field.subspace sometimes fails for a global cyclic subspace
1 participant