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

During bulk upload, timestamp (system:time_start value in CSV) not respected for some values #62

Open
pskoulgi opened this issue Apr 30, 2024 · 0 comments

Comments

@pskoulgi
Copy link

I have found this tool very helpful lately, thank you for this, and your other, work on open data and code!

I am using the image upload tool to upload 1453 images, to an image collection asset of monthly time series from January 1901 to December 2021. In some of the uploaded images, I am seeing that the time stamp is not getting set as the CSV specifies.

To help illustrate this issue, I have attached a CSV; it contains the wrong (as reflected in the uploaded image) and right (as specified in the CSV, derived from the year and month in the id_no column) timestamps, for a subset of the timeseries where this issue shows up.

wrong_timestamps_subset.csv

image
Trailing 0's dropped when the value has more than 12 digits.

image
But trailing 0's added sometimes too.

How to fix this issue, and would that be on the upload tool or on the EE end?

I don't know Python much, but I nevertheless tried looking through the code to see if I can help troubleshoot this. I spotted some trimming of the system:time_start string based on its length (lines 168-173 here), but not really sure if it has anything to do with this.

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