Skip to main content

Tools for processing geospatial data

Project description

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

Project details


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.10.2.tar.gz (174.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.10.2-py3-none-any.whl (130.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: raster_tools-0.10.2.tar.gz
  • Upload date:
  • Size: 174.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.10.2.tar.gz
Algorithm Hash digest
SHA256 b7d5857c5ba284d13e3cbd2b27da1069fc759fd5af3463b506a0037a4296ac05
MD5 a832c97a9d1fb5bbcf547ba2ffbf2775
BLAKE2b-256 541922aca8c5758a5243f2434f9963277f92d336f2a13da3cf439fc4f704e1bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: raster_tools-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 130.0 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.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d6c9f313534b4879f94e89c228dab14656d955007a496fdf44691482c9d93ea
MD5 bf4f9e8ea262fb11e2e566e5f9bb1ea8
BLAKE2b-256 30bb3520e90c678e07f2e15c78342da9e1392a911a0f3982dd179e6ec4a57012

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page