- Name: nisar-sim
- Package:
stactools.nisar_sim
- Owner: @jjfrench @wildintellect
- Dataset homepage
- STAC extensions used:
stactools package for use with the simulated NISAR products.
pip install stactools-nisar-sim
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.
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