estimate_data_size
Calculate storage requirements for geospatial datasets by analyzing STAC items with spatial, temporal, and attribute filters to plan data downloads efficiently.
Instructions
Estimate data size for STAC items using lazy loading with odc.stac
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aoi_geojson | No | Area of Interest as GeoJSON geometry for clipping (will use smallest bbox between this and bbox parameter) | |
bbox | No | Bounding box [west, south, east, north] in WGS84 | |
catalog_url | No | STAC catalog URL (optional, defaults to Microsoft Planetary Computer) | |
collections | No | List of collection IDs to search within | |
datetime | No | Date/time filter (ISO 8601 format, e.g., '2023-01-01/2023-12-31') | |
limit | No | Maximum number of items to analyze for size estimation | |
query | No | Additional query parameters for filtering items |
Input Schema (JSON Schema)
{
"properties": {
"aoi_geojson": {
"description": "Area of Interest as GeoJSON geometry for clipping (will use smallest bbox between this and bbox parameter)",
"type": "object"
},
"bbox": {
"description": "Bounding box [west, south, east, north] in WGS84",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"catalog_url": {
"description": "STAC catalog URL (optional, defaults to Microsoft Planetary Computer)",
"type": "string"
},
"collections": {
"description": "List of collection IDs to search within",
"items": {
"type": "string"
},
"type": "array"
},
"datetime": {
"description": "Date/time filter (ISO 8601 format, e.g., '2023-01-01/2023-12-31')",
"type": "string"
},
"limit": {
"default": 100,
"description": "Maximum number of items to analyze for size estimation",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Additional query parameters for filtering items",
"type": "object"
}
},
"type": "object"
}