Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixes #27 by creating non-varying params in a more reasonable way #79

Merged
merged 3 commits into from
Aug 3, 2023

Conversation

pbeaucage
Copy link
Collaborator

#27 was caused by a weird way that non-varying parameters were being turned into arrays, which would then become indexes/coordinates of the xarray. This one-line PR changes this to a much more Pythonic way that (bonus) also allows non-numeric types to be used as indexes.

@pbeaucage pbeaucage linked an issue Apr 6, 2023 that may be closed by this pull request
@BijalBPatel BijalBPatel self-requested a review August 3, 2023 11:21
Copy link
Collaborator

@BijalBPatel BijalBPatel left a comment

Choose a reason for hiding this comment

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

Looks good

@BijalBPatel BijalBPatel merged commit 4b36feb into main Aug 3, 2023
@pbeaucage pbeaucage deleted the 27-datetimes-not-supported-in-loaders-as-indices branch August 3, 2023 18:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datetime's not supported in loaders as indices
2 participants