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>=2025.1.0" "dask-geopandas>=0.4.3" 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.1

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.1
File Size Uploaded
raster_tools-0.13.1.tar.gz 299.4 kB Details

Built distribution (wheel)

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

Total release size: 491.5 kB

Release files / raster_tools-0.13.1.tar.gz

Download URL raster_tools-0.13.1.tar.gz
Size 299.4 kB
Tags Source
SHA-256 checksum
How to use checksums
35970cf36a118f0bb69d1adbe42fad1aeef88502ba502fa773c63b410c4e8807
BLAKE2b-256 checksum
How to use checksums
2a5e57b0c427c52ef4ec7258b0de4854040a5130dcf483de20cfdfbb5e88c7c0
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.1-py3-none-any.whl

Download URL raster_tools-0.13.1-py3-none-any.whl
Size 192.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6333e27447d56bb3b91e4bce63e99bd54768ac78791f1cf9fa3a68ba4ef4899f
BLAKE2b-256 checksum
How to use checksums
01cc013e1543a022b6c77d3d3f5f3756c6a01ac7a0fb3c4bde827e82a02761a8
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

This release

0.13.1 This release

2 release files

0.13.0

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