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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cedf392ddaf88f4e216d213329f55d3188def0399404186a89cf994c9a8acb0 |
|
MD5 | d545109c45847c3d3ca3dff7b3ceff56 |
|
BLAKE2b-256 | d19d2b8e853e6bd815ce5cc7b6e1fb06416a1c1c0e87a2aa9fdc969ff39a6d9d |
Close
Hashes for hestia_earth_earth_engine-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef1bc08aedb98ffd5232c67766bbdc287d2bf00ae36aa948c90a58b335fd970 |
|
MD5 | 8c09815a659f4764cbcf570d65c4cc0e |
|
BLAKE2b-256 | 169bd2ea92cec040bac87bb65b6d4c300e7bf6377f394990992cde29c1fdc5f6 |