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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b5e2c764de62e4cded053b8eda52be86b5e6587565404ec94782980991d38f |
|
MD5 | 736d3804a77492dd7d4e398f69435832 |
|
BLAKE2b-256 | 2ad89b4b49e16971c33f8f2f5e5721bc9382190b5374a8dafaef17b42a1d85d8 |
Close
Hashes for hestia_earth_earth_engine-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3f47b1e164e802a54030547c415ecbfc1ba33ea56428963d0d1e6d292866d10 |
|
MD5 | 89659cf3fdb7b398636b7aa56723a328 |
|
BLAKE2b-256 | 0c3fc8909274499378f7792f24da34a64726ea598d492314607eada866d0282a |