index_safe
A set of Python utilities for downloading Sentinel-1 Burst data and metadata via S3 with minimal GET requests and data
download:
The main innovation of these utilities is that they allow downloading of burst data without downloading the
surrounding data from the swath they're contained in. These has been difficult because DEFLATE compressed data is
not set up for random read access. This innovation is made possible by the
zran.c utility created by Mark Adler and its
implementation in Paul McCarthy's indexed_gzip package.
Installation
Install the requirements using Mamba or Conda using the command:
mamba create -f envirnoment.yml
or
conda env create -f envirnoment.yml
Activate the environment:
mamba (or conda) activate bursts
Then, from within the top-level package directory, run:
python -m pip install -e .
Usage
Run create_index.py Ex:
create_index S1A_IW_SLC__1SDV_20200604T022251_20200604T022318_032861_03CE65_7C85
This will create a {GRANULE_NAME}.json and burst index json files ({GRANULE_NAME}_{SWATH_NAME_{POLARIZATION}.json) that contain the information needed to download the metadata/data directly.
Then, run extract_burst.py Ex:
extract_burst S1A_IW_SLC__1SDV_20200604T022251_20200604T022318_IW2_VV_0.json
to get the burst image data
Then, run extract_metadata.py Ex:
extract_metadata S1A_IW_SLC__1SDV_20200604T022251_20200604T022318.json
to get the burst metadata
Metadata
Release files for index-safe 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| index_safe-0.2.1.tar.gz | 40.9 kB | Without provenance | Details for index_safe-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| index_safe-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for index_safe-0.2.1-py3-none-any.whl |
Total release size: 60.2 kB
Release files / index_safe-0.2.1.tar.gz
| Download URL | index_safe-0.2.1.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b3783609b69a27db2f4e526ce7a721f1b08469f3990f3a7e793cd215a82c49f
|
|
BLAKE2b-256 checksum How to use checksums |
a976b33d12b6b694569a9d6f424b2551e64199758fda11383a543ba738531de0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / index_safe-0.2.1-py3-none-any.whl
| Download URL | index_safe-0.2.1-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d68725e6058a324b0e8e2e21c296f778950856f6342e917886fbdeb2b0352ed7
|
|
BLAKE2b-256 checksum How to use checksums |
1c0f3f289a96241ab237f892c254501c9a9fbb388563b60edc6167248fb253be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for index-safe 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.