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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f853a1c8d3db6d81cd897acdd91c48c6d5c090c90e943467fd5b53051e7d7388 |
|
MD5 | 1efa9d35e138c746453f735db219fd8c |
|
BLAKE2b-256 | 999393324210cf46deb20413db23384ddb49c0bc51cd678643e10814fdc7c80c |
Close
Hashes for hestia_earth_earth_engine-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1b3b44769b39fd76aa93afc39c88b27fb134d5b2a3fd7b120678fbe7bdcbc11 |
|
MD5 | a53ce97387266dae229313434ea1716d |
|
BLAKE2b-256 | 09af816043d5220fe3ff172540bf37a28c759a852561e1fa40f5447a00772ada |