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

datetime list precision Issue #4

Open
tushar10sh opened this issue Feb 14, 2019 · 0 comments
Open

datetime list precision Issue #4

tushar10sh opened this issue Feb 14, 2019 · 0 comments

Comments

@tushar10sh
Copy link

dates += dataset.time.values.astype('M8[ms]').tolist()

The datetime list generated by function above is precise to milliseconds.

https://github.com/ceos-seo/data_cube_ui/blob/14fa410b7e8fc9d08ba2029f23dd07f9d83ff1d9/apps/custom_mosaic_tool/tasks.py#L279

Precision needed to be in microseconds for above calling function to work correctly
This results in return of empty datasets more than half the time.

tushar10sh added a commit to tushar10sh/data_cube_utilities that referenced this issue Feb 14, 2019
In respose to ceos-seo#4

The datetime list generated by function above is precise to milliseconds.

https://github.com/ceos-seo/data_cube_ui/blob/14fa410b7e8fc9d08ba2029f23dd07f9d83ff1d9/apps/custom_mosaic_tool/tasks.py#L279

Precision needed to be in microseconds for above calling function to work correctly
This results in return of empty datasets more than half the time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant