- Title: Instruments
- Identifier: https://stac-extensions.github.io/instruments/v0.1.0/schema.json
- Field Name Prefix: -
- Scope: Catalog, Collection, Item
- Extension Maturity Classification: Proposal
- Owner: @m-mohr, @emmanuelmathot
This document explains the Template Extension to the SpatioTemporal Asset Catalog (STAC) specification.
This extension adds instruments related code and builds on top of the Instrument fields,
especially instruments,
in common metadata.
This extension is a incubator for potential fields to be added to common metadata in a future STAC version. Thus it has no prefix to ensure backward compatibility once it's added to common metadata.
- Examples:
- Item example: Shows the basic usage of the extension in a STAC Item
- Collection example: Shows the basic usage of the extension in a STAC Collection
- JSON Schema
- Changelog
The fields in the table below can be used in these parts of STAC documents:
- Catalogs
- Collections
- Item Properties (incl. Summaries in Collections)
- Assets (for both Collections and Items, incl. Item Asset Definitions in Collections and Asset Templates)
- Links (incl. Link Templates)
- Bands
| Field Name | Type | Description |
|---|---|---|
| instrument_modes | [string|null] | A list of instrument modes of each instrument listed in instruments. |
The array entries in instrument_modes must be provided in parallel to the array entries provided in instruments.
If no instrument mode is available for a specific instrument, then set the array element to null.
Don't provide instrument_modes if all array elements are null.
It is intended that other extensions such as SAR and Altimetry define the scope of this more clearly when the other extensions is provided in combination with this extemsion.
All contributions are subject to the STAC Specification Code of Conduct. For contributions, please follow the STAC specification contributing guide Instructions for running tests are copied here for convenience.
The same checks that run as checks on PRs are part of the repository and can be run locally to verify that changes are valid.
To run tests locally, you'll need npm, which is a standard part of any node.js installation.
First you'll need to install everything with npm once. Just navigate to the root of this repository and on your command line run:
npm installThen to check markdown formatting and test the examples against the JSON schema, you can run:
npm testThis will spit out the same texts that you see online, and you can then go and fix your markdown or examples.
If the tests reveal formatting problems with the examples, you can fix them with:
npm run format-examples