Skip to main content

stactools subpackage for creating sentinel1 STACs

Project description

stactools-sentinel1

CI PyPI Binder

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.

Examples

STAC objects

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stactools-sentinel1-0.5.1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

stactools_sentinel1-0.5.1-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file stactools-sentinel1-0.5.1.tar.gz.

File metadata

  • Download URL: stactools-sentinel1-0.5.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for stactools-sentinel1-0.5.1.tar.gz
Algorithm Hash digest
SHA256 63d3e0226e6538058f5adc972f9322c52cb570128c0b626f06fd8d03804d6252
MD5 50ac0e53e30ed1920ef9bcbffdffeac9
BLAKE2b-256 4e22533b46c6e6df2f59e3ea765abb5f5a0ae022c96e4eb98619d359da529a35

See more details on using hashes here.

Provenance

File details

Details for the file stactools_sentinel1-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stactools_sentinel1-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 118d4bfde8d0e34d55557f072637bfca1a6a6a1de107a8528433362c4854536c
MD5 1c12451f8d4abf3e73ea77f816409d27
BLAKE2b-256 745fa9583b57517724156c106321c58137b2b20a5e417d2f22c38c9a6ed82816

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page