Toolkit to manipulate Earth observations and models.
Project description
terrapyn
Toolkit to manipulate Earth Observation Data: Remote Sensing, Climate and Weather models. Designed to work with Pandas/GeoPandas and Xarray data structures, implementing Dask where possible.
The name is pronounced the same as "terrapin", a type of fresh water turtle
- Documentation: https://colinahill.github.io/terrapyn.
- Free software: BSD-3-Clause
Terrapyn Package Structure
This package is structured with optional modules as separate packages
Core Package: terrapyn
- Installation:
pip install terrapyn - Contains: Core functionality (utils, stats, indices, etc.)
- Imports:
import terrapyn as tp
Earth Engine Module: terrapyn-ee
- Installation:
pip install terrapyn-ee - Contains: Earth Engine functionality
- Dependencies: Requires
terrapyncore package - Imports:
from terrapyn.ee import data, io, stats, timeseries, utils
BigQuery Module: terrapyn-bq
- Installation:
pip install terrapyn-bq - Contains: BigQuery functionality
- Dependencies: Requires
terrapyncore package - Imports:
from terrapyn.bq import data, io
Installation Options
Python environment setup
An environment with Python version 3.10 or later is required. If you don't have this, it can be created using Pyenv which should be installed first. After installing Pyenv, download and install Python 3.10 using
pyenv install 3.10
If you already have Python version 3.10 or later you can skip this step.
The package can be installed in an existing Python environment via pip:
Minimal Installation (Core Only)
pip install terrapyn
With Earth Engine Support
pip install terrapyn terrapyn-ee
With BigQuery Support
pip install terrapyn terrapyn-bq
Full Installation
pip install terrapyn terrapyn-ee terrapyn-bq
From Source
git clone https://github.com/colinahill/terrapyn.git && cd terrapyn
Development
This project uses Astral uv to manage dependencies, which should be installed first. Then the environment is created with uv venv.
A Makefile contains most/all of the required tools for code quality, testing and publishing. Run make help to see available commands.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file terrapyn-0.3.3.tar.gz.
File metadata
- Download URL: terrapyn-0.3.3.tar.gz
- Upload date:
- Size: 383.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62cb686433e1b63981e747ee737a2995e0c188b176527ba7b255f50f5c9f6265
|
|
| MD5 |
d8db8cea67ba32e5abba99e3ab813842
|
|
| BLAKE2b-256 |
99c32c49cc56df792aeba1b941058745dc91e38384d113c7aedab25afeb4b499
|
File details
Details for the file terrapyn-0.3.3-py3-none-any.whl.
File metadata
- Download URL: terrapyn-0.3.3-py3-none-any.whl
- Upload date:
- Size: 63.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ac8f2b5a4a4b19ddf09eaa9182dd9d383b373cd16ea8ef7c9897e3c13660144
|
|
| MD5 |
6545d09bec9853723dbc401db557842e
|
|
| BLAKE2b-256 |
8b7b1edd267e311828858a7e849d9a26e7356b2edb553814ec2cd7ac0b769271
|