get_asset_download_info
Retrieve direct download URLs and ready-to-use code snippets for accessing OpenLandMap geospatial datasets in formats like curl, wget, Python, and R.
Instructions
Get download instructions for an asset in multiple formats.
Returns the direct S3 URL plus ready-to-use commands and code snippets for curl, wget, Python (rasterio), and R (terra).
Args: collection_id: Collection identifier. item_id: Item identifier. asset_key: Asset key to get download info for.
Returns: DownloadInfo dict with url and code snippets.
Example: get_asset_download_info("organic.carbon_usda.6a1c", "organic.carbon_usda.6a1c_20180101_20181231", "organic.carbon_usda.6a1c_m_1km_b30cm_s")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | ||
| item_id | Yes | ||
| asset_key | Yes |