Documentation Index
Fetch the complete documentation index at: https://mintlify.com/terrafloww/rasteret/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Rasteret requires Python 3.12+ and is available on PyPI.Basic Installation
- uv (Recommended)
- pip
The basic installation includes all dependencies needed for building Collections from STAC APIs and reading data as NumPy arrays or GeoPandas DataFrames.
Optional Extras
Rasteret provides optional extras for specific workflows. Install only what you need:xarray Support
For analysis workflows using xarray:collection.get_xarray() for analysis, visualization, or geospatial computations.
TorchGeo Integration
For ML training with PyTorch and TorchGeo:collection.to_torchgeo_dataset() for training with PyTorch DataLoader, TorchGeo samplers, and transforms.
Cloud Provider Authentication
AWS (S3)
For requester-pays buckets (Landsat, NAIP, etc.):- Landsat Collection 2 on Earth Search
- NAIP imagery
- Any S3-hosted dataset requiring AWS credentials
Azure (Planetary Computer)
For Microsoft Planetary Computer signed URLs:- Sentinel-2 on Planetary Computer
- ALOS DEM
- NASADEM
- ESA WorldCover
- USDA Cropland Data Layer
Planetary Computer requires signing up for a free API key at planetarycomputer.microsoft.com.
NASA Earthdata
For NASA LP DAAC and Earthdata-hosted collections:Configure credentials in
~/.netrc:Combining Extras
Install multiple extras by combining them with commas:Verify Installation
Check that Rasteret is installed correctly:Python Version Requirements
| Rasteret Version | Python Version |
|---|---|
| 0.x.x (current) | ≥3.12 |
Core Dependencies
The base installation includes:- numpy (≥1.24.0) — Array operations
- pyarrow (≥14.0.1) — Parquet reading/writing
- pystac-client (≥0.7.5) — STAC API client
- obstore (≥0.8.0) — Object storage I/O
- geopandas (≥0.13) — Geospatial DataFrames
- rasterio (≥1.4.3, <1.5.0) — GeoTIFF metadata
- pyproj (≥3.6.1) — CRS transformations
- affine (≥2.4.0) — Affine transformations
- imagecodecs (≥2023.9.18) — Image compression codecs
System Requirements
Operating Systems
✅ Linux (primary development platform)✅ macOS (Intel and Apple Silicon)
✅ Windows (via WSL2 recommended)
Hardware
Minimum:- 4 GB RAM
- 2 CPU cores
- 1 GB disk space for workspace cache
- 16+ GB RAM for large collections
- 4+ CPU cores for parallel COG header parsing
- SSD for workspace cache
Collections are stored as Parquet files in
~/rasteret_workspace/ by default. A typical collection with 1000 scenes uses 10-50 MB of disk space.Troubleshooting
ImportError: No module named ‘rasteret’
Ensure you’re using Python 3.12+:GDAL/Rasterio Issues
Rasterio is only used for metadata parsing, not pixel I/O. If you encounter GDAL errors:-
Update rasterio:
- If problems persist, Rasteret can work without rasterio for some workflows (using obstore directly).
AWS Credentials Not Found
For requester-pays datasets:Planetary Computer Authentication
Sign up for a free API key and configure:Next Steps
Quickstart
Build your first Collection and fetch pixels in 5 minutes