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

Use unit metadata, especially time #17

Open
rafaqz opened this issue Jan 13, 2020 · 1 comment
Open

Use unit metadata, especially time #17

rafaqz opened this issue Jan 13, 2020 · 1 comment
Labels

Comments

@rafaqz
Copy link
Owner

rafaqz commented Jan 13, 2020

We should be able to automatically derive the step size of time grids and similar from the units. It may also be possible to do this by subtracting them, but may also not be exact.

It's also useful for series where layers are single slices of time in separate files, but may contain metadata on the duration of the slice. Currently this needs to be added manually as the time dim of the series is not guaranteed to actually be an evenly-spaced range.

This may require some conversion of units to Unitful.Quantity or DateTime

@rafaqz
Copy link
Owner Author

rafaqz commented Sep 4, 2020

NetCDF time periods are now handled correctly. Although half the time they aren't included when they should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant