Hestia's earth engine.
Project description
Hestia Earth Engine
Hestia's utilities to make queries to Earth Engine.
Getting Started
- Sign up for a Google Cloud Account
- Enable the Earth Engine API
- Create a Service Account with Earth Engine access
- Set the service account JSON credentials in the following file:
ee-credentials.json
- Set the following environment variable:
# path to the ee-credentials.json file saved at previous step
EARTH_ENGINE_KEY_FILE=./ee-credentials.json
Install
- Install Python
3
(we recommend using Python3.6
minimum) - Install the module:
pip install hestia_earth.earth_engine
Usage
from hestia_earth.earth_engine import init_gee, should_run, run
# call this only once during a session
init_gee()
# fetch sand content for a specific location
data = {
"collection": "users/hestiaplatform/T_SAND",
"ee_type": "raster",
"latitude": -11.77,
"longitude": -45.7689
}
if should_run(data):
run(data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hestia-earth-earth-engine-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e78fbd1367c63175d0677c810200c609f0a93ea9baea6aa39befdc3de107420 |
|
MD5 | 79e013911a173a907fd23006566512bd |
|
BLAKE2b-256 | 66ed1bcaaf23d6c21387bedcbc1059d2a531e3927fdc4e97bfdd527a5125cc98 |
Close
Hashes for hestia_earth_earth_engine-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f120a45bd377789e64e9231584161eaf0bdc44d2aac11febaaa97be5af806ba |
|
MD5 | 451130536e3f1fa5c351d3c21add9d60 |
|
BLAKE2b-256 | 1b07b24aac050c4fdd85356b7a6492fdceb0f12e5dcd3d523921212fccea14d7 |