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.11.0.tar.gz (193.9 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.11.0-py3-none-any.whl (142.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: raster_tools-0.11.0.tar.gz
  • Upload date:
  • Size: 193.9 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.11.0.tar.gz
Algorithm Hash digest
SHA256 d1216edf5baeb2f33c96d89f459858a630a833eee70b3b8f65c1b7535fc4b29c
MD5 c5babf61fd50af376e3f38e6a234fbaf
BLAKE2b-256 ae38761409a18d543b3bf500ef3ff94d6cd986102b5f865bb9fce51bf1d37576

See more details on using hashes here.

File details

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

File metadata

  • Download URL: raster_tools-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 142.3 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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1347e906336459d143d1f9c93508ec4033d3879e54c795213c2cc2b08a0d050b
MD5 65a1cd6f90e62820f4c61d1f0e3ddbb6
BLAKE2b-256 1ff91d52e3c2a2124bb709b78e0ead1a2f696f218c5040fa8c551c9b04483d7c

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