Raster Tools
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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| raster_tools-0.13.0.tar.gz | 298.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|