PySTAC

repository·main·Indexed 19 days ago

https://github.com/stac-utils/pystac

A Python library for working with the SpatioTemporal Asset Catalog (STAC) specification, providing tools to create, read, and manipulate STAC items, collections, and catalogs. The library includes various extensions for specialized data types, including classification, datacubes, electro-optical (EO), file info, grid, item assets, labels, MGRS, machine learning models, point clouds, projections, rasters, and rendering.

Tokens
28.1K
Snippets
74
Records
158
Agent score
66%

What's inside pystac

  1. Overview of pystac-ext-storage

    main

    The pystac-ext-storage package is a PySTAC extension for the STAC Storage Extension. It allows you to describe cloud storage attributes for STAC assets. Specifically, it provides fields to capture information such as:

    • storage platform: The platform hosting the asset (e.g., AWS, GCP, Azure).
    • region: The geographic region where the asset is stored.
    • tier: The storage tier (e.g., standard, infrequent access).
    • requester-pays: Configuration indicating if the requester is responsible for data transfer costs.
  2. Overview of PySTAC capabilities

    main

    PySTAC is a Python library designed for working with SpatioTemporal Asset Catalogs (STAC). Key capabilities include:

    • STAC Version Support: Reading and writing STAC version 1.0. It is designed to read older versions while always writing the latest supported version.
    • In-memory Manipulation: Perform manipulations of STAC catalogs directly in memory.
    • Extensible I/O: Extend STAC metadata I/O to support various platforms, such as different cloud providers.
    • Efficient Crawling: Crawl STAC catalogs efficiently by only reading STAC objects into memory when they are needed.
    • Catalog Link Management: Easily generate catalogs using different linking strategies: "absolute published", "relative published", and "self-contained" catalogs, following STAC best practices.
  3. Use the pystac-ext-render extension

    main

    The pystac-ext-render package is a PySTAC extension for the Render Extension specification. It allows you to add fields to STAC Items and Assets that describe visualization parameters, such as:

    • Rescaling: Defining how pixel values map to display values.
    • Color maps: Specifying color palettes for visualization.
    • Expressions: Defining mathematical expressions for rendering.
    • Tile matrix set configurations: Describing how tiles are structured for rendering.