-
Notifications
You must be signed in to change notification settings - Fork 34
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
netcdf time axis gets irregular values #646
Comments
Weird. But I can't actually reproduce it: julia> lookup(RasterStack(path), Ti)
Sampled{Dates.DateTime} ForwardOrdered Irregular DimensionalData.Dimensions.Lookups.Points
wrapping: 2920-element Vector{Dates.DateTime}:
2013-01-01T00:00:00
2013-01-01T06:00:00
2013-01-01T12:00:00
2013-01-01T18:00:00
2013-01-02T00:00:00
2013-01-02T06:00:00
2013-01-02T12:00:00
2013-01-02T18:00:00
2013-01-03T00:00:00
2013-01-03T06:00:00
2013-01-03T12:00:00
⋮
2014-12-29T06:00:00
2014-12-29T12:00:00
2014-12-29T18:00:00
2014-12-30T00:00:00
2014-12-30T06:00:00
2014-12-30T12:00:00
2014-12-30T18:00:00
2014-12-31T00:00:00
2014-12-31T06:00:00
2014-12-31T12:00:00
2014-12-31T18:00:00 Maybe try main? |
It is fixed on main. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I open the data from the xarray tutorial with Rasters I get very irregular time axis values.
I would have expected to get clear hourly DateTime objects every six hours.
The time axis is saved in the netcdf as an integer value hours since 1800-01-01.
It seems to me as if the data is converted to Float and then there is some strange float interaction.
The text was updated successfully, but these errors were encountered: