stactools subpackage for creating sentinel1 STACs
Project description
stactools-sentinel1
- Name: sentinel1
- Package:
stactools.sentinel1
- PyPI: https://pypi.org/project/stactools-sentinel1/
- Owners: @scottyhq (RTC), @maximlamare (GRD)
- Dataset homepages:
- STAC extensions used:
Sentinel-1 subpackage for stactools
This project contains multiple subpackages that work with different Sentinel 1 data products.
RTC
The stactools.sentinel1.rtc
subpackage and stac sentinel1 rtc
commands deal
with the Sentinel 1 Radiometric Terrain Corrected (RTC) data hosted on AWS and
produced by Indigo Ag. This data was processed from original Ground Range
Detected (GRD) scenes into a Radiometrically Terrain Corrected, tiled product
suitable for analysis.
See https://registry.opendata.aws/sentinel-1-rtc-indigo for more information about this dataset.
GRD
The stactools.sentinel1.grd
subpackage and stac sentinel1 grd
commands deal
with Sentinel 1 Ground Range Detected (GRD)
Level-1
product. It is used to create STAC Items from the SAFE manifest format of the
data hosted on Microsoft Azure.
Example Outputs
RTC
GRD
- Item (S1A_EW_GRDM_1SDH_20221130T014342_20221130T014446_046117_058549)
- Item (S1A_IW_GRDH_1SDV_20210809T173953_20210809T174018_039156_049F13)
How to use
Install package
pip install stactools-sentinel1
RTC usage
Create a STAC Item (RTC)
stac sentinel1 rtc create-item \
s3://sentinel-s1-rtc-indigo/tiles/RTC/1/IW/12/S/YJ/2016/S1B_20161121_12SYJ_ASC \
S1B_20161121_12SYJ_ASC
Create a STAC Static Catalog (RTC)
https://github.com/scottyhq/sentinel1-rtc-stac
GRD usage
Description of the command line functions
stac sentinel1 grd create-item source destination
Use stac sentinel1 grd --help
to see all subcommands and options.
Development instructions
Set up virtual environment
git clone https://github.com/YOUR_FORK/sentinel1
# Use a virtual environment
conda env create
conda activate stactools-sentinel1
# Development install of dependencies
pip install -e ./
pip install -r requirements-dev.txt
Make changes on a new branch, test, open a pull request
git checkout -b newfeature
# make changes
# Run CI tests locally
./scripts/cibuild
# Or run individual scripts
./scripts/lint
./scripts/format
./scripts/test
# If you're changing the output STAC metadata, update the examples
./scripts/create_examples.py
# Once tests pass, commit changes and create a pull request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stactools-sentinel1-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c08deedf3845d7b699bd5979e881864bc93f86557110fa8bb69ff12d3daebe04 |
|
MD5 | 505eedcd870b284947e6c6f14db20a21 |
|
BLAKE2b-256 | 3e2652f85f66374f710a32239c2b310b68b56bb9a7362d62b531e93ec52824f8 |
Hashes for stactools_sentinel1-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03323f42f03ed7d0c43991aeb09a5aa0b97e096a3b8b497541061a80e605b45c |
|
MD5 | 45bfd17667d7a9a64f375f5d5452f098 |
|
BLAKE2b-256 | 332fd8d9b3ce84fa556a0a187503bbd2a6137c8a0dbcf4e5741a5eb092b87e02 |