Skip to main content

Raster Tools


DOI

Python tools for lazy, parallel geospatial raster processing.

Introduction


Raster Tools is a Python package that facilitates a wide range of geospatial, statistical, and machine learning analyses using delayed and automated parallel processing for rasters. It seeks to bridge the gaps in Python's data stack for processing raster data and to make building processing and analysis pipelines easier. With Raster Tools, operations can be easily chained together, eliminating the need to write intermediate results and saving on storage space. The use of Dask, also enables out-of-core processing so rasters larger than the available memory can be processed in chunks.

Under the hood, Raster Tools uses Dask to parallelize tasks and delay operations, Rasterio, rioxarray, and odc-geo for geospatial operations, and Numba for accelerating Python code. Limited support is also provided for working with Vector data using dask-geopandas.

Install


Pip

pip install raster-tools

To enable reading netCDF and GRIB files via raster_tools.open_dataset:

pip install raster-tools[io]

Conda

conda install -c conda-forge dask-geopandas dask-image fiona numba odc-geo pyogrio rioxarray scipy
pip install --no-deps raster-tools

Add netcdf4 and cfgrib to the install command above to enable reading netCDF and GRIB files.

Package Dependencies

Release files for raster-tools 0.13.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 raster-tools 0.13.0
File Size Uploaded
raster_tools-0.13.0.tar.gz 298.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raster-tools 0.13.0
File Interpreter ABI Platform
raster_tools-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 490.3 kB

Release files / raster_tools-0.13.0.tar.gz

Download URL raster_tools-0.13.0.tar.gz
Size 298.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6555e696ec62da190336bfb82d5949b7cbc8da59b7161f96507315825ab230b2
BLAKE2b-256 checksum
How to use checksums
d68a381b242e2e3e0e2ba9663a3d57671098236da97df5a412544e38b98ef2fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / raster_tools-0.13.0-py3-none-any.whl

Download URL raster_tools-0.13.0-py3-none-any.whl
Size 191.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe98e1df8da067ac23c73220cff137de60ab4537aea154b3d045106dd079d34
BLAKE2b-256 checksum
How to use checksums
f25a6a3445a9fc84e088239b60a8e410c908e2b102d2611ffea174758d11a58d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

0.13.1

2 release files

This release

0.13.0 This release

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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