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.

Helpful Links

Package Dependencies

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raster_tools-0.12.0.tar.gz (253.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raster_tools-0.12.0-py3-none-any.whl (169.7 kB view details)

Uploaded Python 3

File details

Details for the file raster_tools-0.12.0.tar.gz.

File metadata

  • Download URL: raster_tools-0.12.0.tar.gz
  • Upload date:
  • Size: 253.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for raster_tools-0.12.0.tar.gz
Algorithm Hash digest
SHA256 af14982320a384240576fdf611b7b70ca50a12b2b7320115d44724a5b99719e1
MD5 5020e0b848744bd36336084d07fa8d41
BLAKE2b-256 876142b2f9533db533d94f3c384a40d9cefbb1573cd8911d06411928ba9cb7e9

See more details on using hashes here.

File details

Details for the file raster_tools-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: raster_tools-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 169.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for raster_tools-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a020e8a6572fca2fd43b01162ee8e3cd9ab52dcddb0a86225501d895bc8d384c
MD5 edb80b46cd2e0c99982433746d2eed5c
BLAKE2b-256 bca831487f91efb43c577e5625d83cdf5928bae4fdb8ac0f49ce8c583c8abef0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 files

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.12

2 files

0.9.11

2 files

0.9.10

2 files

0.9.9

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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