Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.74 KB

README.md

File metadata and controls

69 lines (47 loc) · 1.74 KB

stactools-nisar-sim

stactools package for use with the simulated NISAR products.

STAC Examples

Installation

pip install stactools-nisar-sim

Command-line Usage

Command line functions

stac nisarsim create-collection <destination/>

stac nisarsim create-collection example-collection.json
stac nisarsim create-item <source/> <destination/>

stac nisarsim create-item "https://nisar.asf.earthdatacloud.nasa.gov/NISAR-SAMPLE-DATA/L0B/ALOS1_Rosamond_20081012/NISAR_L0_PR_RRSD_001_005_A_128S_20081012T060910_20081012T060926_P01101_F_J_001.h5" examples/NISAR_L0_PR_RRSD_001_005_A_128S_20081012T060910_20081012T060926_P01101_F_J_001.json

Use stac nisarsim --help to see all subcommands and options.

Contributing

We use pre-commit to check any changes. To set up your development environment:

pip install -e '.[dev]'
pre-commit install

To check all files:

pre-commit run --all-files

To run the tests:

./scripts/test

If you've updated the STAC metadata output, update the examples:

scripts/update-examples