Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5olitude/earthengine-image-downloader
A fast way to download satellite images by defining the location from google-earth-engine
https://github.com/5olitude/earthengine-image-downloader
deep-learning googleearthengine maps satellite-imagery
Last synced: about 2 months ago
JSON representation
A fast way to download satellite images by defining the location from google-earth-engine
- Host: GitHub
- URL: https://github.com/5olitude/earthengine-image-downloader
- Owner: 5olitude
- Created: 2020-02-13T04:06:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T17:22:28.000Z (about 3 years ago)
- Last Synced: 2024-02-14T21:14:36.564Z (7 months ago)
- Topics: deep-learning, googleearthengine, maps, satellite-imagery
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 22
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# earthengine-image-downloader
This script consists of the most suitable way to integrate geopy and google earth-engine in such a way that you can automatically download the
satellite images for training purposes in machine learning .I have tried the google-colab and the normal terminal preinstalled packages but the task
here is to give the authentication key and its a difficult task in between code execution.So i prefer you to use anaconda enviornment it will automatically stores the api in cache and it saves time from a user to reauthenticate.# REQUIREMENTS FOR INSTALLING........
1) INSTALL ANACONDA
https://docs.anaconda.com/anaconda/install/
2) CONFIGURING THE PACKAGES
* To install this package with conda run one of the following:
conda install -c conda-forge earthengine-api
conda install -c conda-forge/label/gcc7 earthengine-api
conda install -c conda-forge/label/cf201901 earthengine-api
* Get Credentials
Before getting credentials its better to try google earth engine is already authenticated so in your conda enviornment type
# earthengine authenticate
3) Testing the API* Start a python interpreter from your conda by typing python
# python
* Run the following Python lines one-by-one in python interpreter to print the metadata for a DEM dataset
# import ee
# ee.Initialize()
# print(ee.Image('USGS/SRTMGL1_003').getInfo())
EUREKA !!!! you have completed the level one :) smile
# LETS MOVE TO LEVEL 2
1) Now you require to download some python packages
* GEOPY
Used to convet location into coordinates
# pip install geopy
* PARALLEL SYNC
Used to download files and extract it into your computer
# pip install parallel-sync
* ast and math are preinstalled with python
# execute the code
# python3 satellite.py
>>enter the location: (enter a location)
ignore the warnings and enjoy the downloads and find your file in path defined
keep coding (: