Skip to content

stac-extensions/instruments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruments Extension Specification

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.

Fields

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.

instrument_modes

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.

Contributing

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.

Running tests

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 install

Then to check markdown formatting and test the examples against the JSON schema, you can run:

npm test

This 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

About

Fields about instruments

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Generated from stac-extensions/template