Skip to main content

geetools

License: MIT conventional commit Black badge prettier badge pre-commit PyPI version Conda-forge version build Test Coverage Documentation Status

Google Earth Engine tools

https://raw.githubusercontent.com/gee-community/geetools/main/docs/_static/logo.svg

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.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geetools 1.19.0
File Size Uploaded Provenance Actions
geetools-1.19.0.tar.gz 4.0 MB Without provenance Details for geetools-1.19.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geetools 1.19.0
File Interpreter ABI Platform Actions
geetools-1.19.0-py3-none-any.whl Python 3 none any Details for geetools-1.19.0-py3-none-any.whl

Total release size: 4.1 MB

Release files / geetools-1.19.0.tar.gz

Download URL geetools-1.19.0.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2702e7f62c8ac06906b57722b53d4fea537c5d7de985335a5b563a914749dee9
BLAKE2b-256 checksum
How to use checksums
60ae691003f52ec856dac9f14657e1f426781bbd3596736f167cb4664cb4dc18
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.19.0-py3-none-any.whl

Download URL geetools-1.19.0-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e648802e452c219f4cdbd5aefded6cce00e3afb600f11325971f30611b92e863
BLAKE2b-256 checksum
How to use checksums
95d6b7250a1311c4ed39f34e165a0a9bdbafdebb3a30cfc14584f2a366f42c1e
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.19.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.

Release history Release notifications | RSS feed

This release

1.19.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page