Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GitHub Actions Status

s1isp is Python tool to decode Sentinel-1 Instrument Source Packets (ISPs) contained in the RAW data files included in the Sentinel-1 L0 products. It uses the bpack library for binary data decoding and provides a complete set of descriptors to represent all the possible binary record of the Sentinel-1 Instrument Source Packets (ISPs), or at least the ones related to science data.

The relevant specification documents used to write the s1isp software are:

Requirements and Installation

The package requires Cython and the bitstruct module. These dependencies are managed automatically by PDM and the pyproject.toml file.

Using PDM (recommended):

$ pdm install

For development with all optional dependencies:

$ pdm install -G:all

To build the package:

$ pdm build

Using pip:

$ python3 -m pip install .

For editable mode:

$ python3 -m pip install --editable .

For optional dependencies:

$ python3 -m pip install s1isp[cli,hdf5]

The extension for Huffman decoding can be built locally using:

$ make ext

Command line interface (CLI)

The package has a simple CLI:

$ python3 -m s1isp -h
usage: s1isp [-h] [--version]
            [--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
            [-q] [-v] [-d] [-o OUTFILE] [--skip SKIP] [--maxcount MAXCOUNT]
            [--bytes_offset BYTES_OFFSET] [--enum-value]
            [--output-format {pkl,h5,csv,xlsx}] [--force]
            [--data {none,extract,decode}]
            filename

Sentinel-1 Instrument Source Packets decoder Command Line Interface.

positional arguments:
filename              RAW data file name

options:
-h, --help            show this help message and exit
--version             show program's version number and exit
--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        logging level (default: INFO)
-q, --quiet           suppress standard output messages, only errors are
                        printed to screen
-v, --verbose         print verbose output messages
-d, --debug           print debug messages
-o OUTFILE, --outfile OUTFILE
                        output file name for metadata (default file with
                        the same basename of the input stored in the
                        current working directory)
--skip SKIP           number of ISPs to skip at the beginning of the file
--maxcount MAXCOUNT   number of ISPs to dump
--bytes_offset BYTES_OFFSET
                        number bytes to skip at the beginning of the file
--enum-value          dump the enum numeric value instead of the symbolic name
--output-format {pkl,h5,csv,xlsx}, --of {pkl,h5,csv,xlsx}
                        specify the output format
                        (default: <EOutputFormat.PICKLE: 'pkl'>)
--force               overwtire the output file if it already exists
--data {none,extract,decode}
                        control the management of the user data field data
                        (default: 'none')

License

Copyright (c) 2022-2025 Antonio Valentino <antonio.valentino@tiscali.it>

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for s1isp 0.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s1isp 0.1.dev0
File Size Uploaded
s1isp-0.1.dev0.tar.gz 450.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for s1isp 0.1.dev0
File Interpreter ABI Platform
s1isp-0.1.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 644.5 kB

Release files / s1isp-0.1.dev0.tar.gz

Download URL s1isp-0.1.dev0.tar.gz
Size 450.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f6177e602bd21088029e28a93963220a2f4066dedb966f35acd8a57ab0fb1743
BLAKE2b-256 checksum
How to use checksums
889a8f34169a9c07412b198e6194caf75e9203131581f6190cb4916c43846933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.1 CPython/3.12.9 Darwin/24.5.0

Release files / s1isp-0.1.dev0-py3-none-any.whl

Download URL s1isp-0.1.dev0-py3-none-any.whl
Size 194.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f651923ad9eb8f8a76ff96d404d6288852f0aa1767dd3dfa6877e582ed00edf0
BLAKE2b-256 checksum
How to use checksums
0a6d2a94cba15ea63a4ae66af67dd81a01f3f39a18d98a8e9d4687f38a948d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.1 CPython/3.12.9 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

0.1.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page