The Rasteret CLI provides commands for managing datasets and collections, building STAC-backed caches, and working with local Parquet data.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
The CLI is included when you install Rasteret:Command Structure
Rasteret CLI has three main command groups:rasteret datasets- Browse and manage registered datasetsrasteret collections- Manage local collection cachesrasteret build- Quick build shortcut for registered datasets
Datasets Commands
Work with the built-in dataset catalog and local registrations.rasteret datasets list
List all registered datasets from the catalog.
--search KEYWORD- Filter datasets by keyword in name/description--json- Output results as JSON
rasteret datasets info
Show detailed information about a specific dataset.
DATASET_ID- Dataset identifier (e.g.,earthsearch/sentinel-2-l2a)
--json- Output as JSON
rasteret datasets build
Build a collection from a registered dataset.
DATASET_ID- Dataset identifier from the catalogNAME- Logical name for the collection
--bbox MINX,MINY,MAXX,MAXY- Bounding box in WGS84 (comma-separated)--date-range START,END- Date range asYYYY-MM-DD,YYYY-MM-DD
--workspace-dir PATH- Workspace directory (default:~/rasteret_workspace)--force- Rebuild even if cache exists--max-concurrent N- Max concurrent metadata fetches (default: 50)--query JSON- Additional STAC query as JSON string--json- Output as JSON
rasteret datasets register-local
Register a local collection or Parquet file as a reusable dataset.
DATASET_ID- Unique identifier (e.g.,local/my-dataset)PATH- Path to collection directory, Parquet file, or cached collection name
--name NAME- Human-readable name--description DESC- One-line description--data-source SOURCE- Override source identifier for band mapping--workspace-dir PATH- Workspace directory when PATH is a cache name--registry-path PATH- Custom registry location--no-persist- Register only for this process (don’t save to disk)--json- Output as JSON
rasteret datasets unregister-local
Remove a local dataset from the registry.
rasteret datasets export-local
Export a local dataset descriptor as JSON for sharing.
Collections Commands
Manage local collection caches directly.rasteret collections list
List all cached collections in the workspace.
--workspace-dir PATH- Workspace directory (default:~/rasteret_workspace)--json- Output as JSON
rasteret collections info
Show detailed information about a cached collection.
NAME- Collection name or folder name (supports fuzzy matching)
rasteret collections build
Build a collection directly from a STAC API (without using the dataset catalog).
NAME- Logical collection name
--stac-api URL- STAC API endpoint URL--collection STAC_ID- STAC collection identifier--bbox MINX,MINY,MAXX,MAXY- Bounding box (WGS84)--date-range START,END- Date range asYYYY-MM-DD,YYYY-MM-DD
--workspace-dir PATH- Workspace directory--force- Rebuild if exists--max-concurrent N- Max concurrent fetches (default: 50)--query JSON- Additional STAC query--json- Output as JSON
rasteret collections import
Import a local Parquet file as a Rasteret collection.
NAME- Collection name
--record-table PATH- Path or URI to Parquet/GeoParquet file
--data-source SOURCE- Source identifier for band mapping and URL policy--column-map JSON- Column rename mapping as JSON (e.g.,'{"scene_id":"id"}')--columns LIST- Comma-separated list of columns to include--workspace-dir PATH- Workspace directory--force- Replace if exists--json- Output as JSON
rasteret collections delete
Delete a cached collection.
NAME- Collection name or folder name
--workspace-dir PATH- Workspace directory--yes- Skip confirmation prompt
Build Shortcut
Quick build command for registered datasets (shortcut fordatasets build).
rasteret datasets build but with shorter syntax.
Example:
Common Workflows
Build and inspect a collection
Import custom Parquet data
Clean up workspace
Environment Variables
AWS_NO_SIGN_REQUEST=YES- Access public S3 buckets without credentials (Source Cooperative)AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY- AWS credentials for requester-pays buckets (Landsat)AWS_PROFILE- Use named AWS profile
Exit Codes
0- Success1- Error (dataset not found, collection not found, validation failed)2- Unsupported command
See Also
- Python API Reference - Use Rasteret from Python
- Quickstart - Get started with Rasteret
- Examples - Complete workflows