geetools
Google Earth Engine tools
Google Earth Engine is a cloud-based service for geospatial processing of vector and raster data. The Earth Engine platform has a JavaScript and a Python API with different methods to process geospatial objects.
The geetools package extends the Google Earth Engine Python API with pre-processing and processing tools for the most used satellite platforms by adding utility methods for different Earth Engine Objects that are friendly with the Python method chaining using the geetools namespace.
There is JavaScript module that you can import from the code editor that has similar functions (not exactly the same) and it’s available here.
Installation
pip install geetools
Why using it ?
New utility methods and constructors are added to most of the GEE classes. They can be simple wrapper for repetitive tasks, complex algorithm or mandatory preprocessing steps. The goal is to make the code more fluid and easy to read for researchers, students and analysts.
The package design is mostly performing server-side computation making it also very friendly with commercial users of Earth Engine.
This small example wrapping of the excellent ee_extra package functionalities shows how to preprocess sentinel 2 data in 5 lines of code:
import ee
import geetools #noqa: F401
import pygaul # another gee-community package to access FAO GAUl 2015 dataset
# we assume you are already authenticated to GEE
ee.Initialize.geetools.from_user() # yes we also support multi users
amazonas = pygaul.Items(name="Amazonas").centroid()
S2 = (
ee.ImageCollection('COPERNICUS/S2_SR')
.filterBounds(point)
.geetools.closest('2020-10-15') # Extended (pre-processing)
.geetools.maskClouds(prob = 70) # Extended (pre-processing)
.geetools.scaleAndOffset() # Extended (pre-processing)
.geetools.spectralIndices(['NDVI','NDWI','BAIS2'])) # Extended (processing)
Metadata
Release files for geetools 1.20.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geetools-1.20.0.tar.gz | 5.8 MB | Without provenance | Details for geetools-1.20.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geetools-1.20.0-py3-none-any.whl | Python 3 | none | any | Details for geetools-1.20.0-py3-none-any.whl |
Total release size: 5.9 MB
Release files / geetools-1.20.0.tar.gz
| Download URL | geetools-1.20.0.tar.gz |
|---|---|
| Size | 5.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
377226481892c788dc743d046a3d0840b717f8e06d31a349e879f3d6ed74c437
|
|
BLAKE2b-256 checksum How to use checksums |
e077f7ed0bc7c24d2414ce99fe68ec4c3b656ec4140f2436cf4b7eb113889035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Release files / geetools-1.20.0-py3-none-any.whl
| Download URL | geetools-1.20.0-py3-none-any.whl |
|---|---|
| Size | 101.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b57fdb01f97be92059b147f7506e53c908f87a71611b78c6e04e7d264307d289
|
|
BLAKE2b-256 checksum How to use checksums |
5273a1f8550abbeee4fa1d1109ef7c9afdc9bfef6a2f5a213821b946ef8a96bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Security for geetools 1.20.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.