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

Automatically standardize dtypes for int, datetime64, and object variables #117

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

maxrjones
Copy link
Contributor

@maxrjones maxrjones commented Mar 20, 2024

This PR adds the option to cast datetime and object variables in set_zarr_encoding and updates the default behavior in set_metadata_and_zarr_encoding to update int, datetime, and object dtypes for compatibility with the @carbonplan/maps library.

Fixes #87

@maxrjones maxrjones changed the title Automatically standardize dtypes for int, datetime64, and object variables WIP: Automatically standardize dtypes for int, datetime64, and object variables Mar 20, 2024
@maxrjones maxrjones removed the benchmark Run benchmarks on PR label Mar 20, 2024
@maxrjones maxrjones added the benchmark Run benchmarks on PR label Mar 20, 2024
@maxrjones maxrjones changed the title WIP: Automatically standardize dtypes for int, datetime64, and object variables Automatically standardize dtypes for int, datetime64, and object variables Mar 20, 2024
@maxrjones maxrjones merged commit d1ece2d into main Mar 20, 2024
9 checks passed
@maxrjones maxrjones deleted the datetime-dtype branch March 20, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark Run benchmarks on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standardize coords as int32 dtype automatically
1 participant