gee-community / geetools

A collection of tools to work with Google Earth Engine Python API
https://geetools.readthedocs.io/en/stable/
MIT License
509 stars 121 forks source link

GEE Python client -- add date to timestamp, filter images by coverage? #37

Open leigh-stearns opened 4 years ago

leigh-stearns commented 4 years ago

Hi Rodrigo - (You helped me get gee_tools set up a few years ago! Thank you!)

I'm trying to make and download cloud-free timelapse videos of specific regions in Greenland, with the image date on each scene. I "think" I have it going in the code editor (ugly, I know!) https://code.earthengine.google.com/?accept_repo=users/leighastearns/shared

I'd like to get it working in Python, since that's a lot easier and faster. I can get a basic video downloaded with batch.Export.video.to.drive, but my questions:

  1. How do I get the date stamp in the python version?
  2. Is there a way to filter out scenes with only partial coverage of my ROI (there are a number that only cover a small corner of the region)?
  3. Ultimately, I'd like to combine L8_SR and Sentinel 2 scenes into a new ImageCollection, so I can densify my temporal spacing. Can I do that using "inner join" in the python version too?

These seem like they should be such easy tasks, but I seem to be going in circles parsing them.

thanks for any help, leigh

fitoprincipe commented 4 years ago

Hi @leigh-stearns , sorry for the late reply. I cannot see the code you shared.