vascobnunes / fetchLandsatSentinelFromGoogleCloud

Find and download Landsat and Sentinel-2 data from the public Google Cloud
https://vascobnunes.github.io/fetchLandsatSentinelFromGoogleCloud/
MIT License
52 stars 23 forks source link

fels for S2 L2? #55

Open LauraZof opened 3 years ago

LauraZof commented 3 years ago

Hi! thanks for the script! It works well and is very useful I wonder if there's a way to adapt fels to download L2 data instead of L1

thanks in advance Laura

vascobnunes commented 3 years ago

Thanks for using it! I'm not sure if such data already exists on google cloud

LauraZof commented 3 years ago

yes, the data is available at https://console.cloud.google.com/storage/browser/gcp-public-data-sentinel-2;tab=objects?_ga=2.92285845.928848343.1620736884-1907755448.1619611486&prefix=&forceOnObjectsSortingFiltering=false

in the folder L2 cheers, Laura

vascobnunes commented 3 years ago

Thank you! This in fact would be very interesting, however, I currently lack on availability to develop such feature. I'll keep it this issue open and in the wishlist.

cjakes commented 3 years ago

If you want to download Level 2 data, change the metadata souce at line 169 of fels.py

SENTINEL2_METADATA_URL = 'http://storage.googleapis.com/gcp-public-data-sentinel-2/L2/index.csv.gz'

Downloads fine however some of the fels options may break.