Index Sentinel-1 SAFE for fast burst data and metdata download
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file index_safe-0.2.1.tar.gz.
File metadata
- Download URL: index_safe-0.2.1.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b3783609b69a27db2f4e526ce7a721f1b08469f3990f3a7e793cd215a82c49f
|
|
| MD5 |
e8a745ab11acb14aa6b37d82b58be23a
|
|
| BLAKE2b-256 |
a976b33d12b6b694569a9d6f424b2551e64199758fda11383a543ba738531de0
|
File details
Details for the file index_safe-0.2.1-py3-none-any.whl.
File metadata
- Download URL: index_safe-0.2.1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d68725e6058a324b0e8e2e21c296f778950856f6342e917886fbdeb2b0352ed7
|
|
| MD5 |
7c9e54e2eb83098e00062aeed4a0f4a2
|
|
| BLAKE2b-256 |
1c0f3f289a96241ab237f892c254501c9a9fbb388563b60edc6167248fb253be
|