Skip to main content

Version 1.0.5 Language Python 3.14 BepiColombo SIMBIO-SYS SimbioReader Test Documentation Status

SimbioReader

SimbioReader is the official Python reader for products generated by the Spectrometer and Imagers for MPO BepiColombo Integrated Observatory System (SIMBIO-SYS) aboard ESA's BepiColombo mission.

The reader loads PDS4 labels and their observational arrays and tables. It models SIMBIO-SYS metadata for STC, HRIC, and VIHI together with the Display, Imaging, Geometry, and Reference discipline areas.

For mission information, see the ESA SIMBIO-SYS page.

Requirements and installation

SimbioReader 1.0 requires Python 3.14.

python3 -m pip install SimbioReader

With uv:

uv add SimbioReader

Python usage

Pass a PDS4 label, one of its associated data files, or a product directory:

from pathlib import Path

from SimbioReader import SimbioReader

product = SimbioReader(
    Path("sim_raw_sc_stc_winx_internal_cruise_ico4b_2021-04-24_001__0_1.lblx")
)

print(product.channel)
print(product.simbio.stc.housekeeping)
print(product.imaging)
print(product.geometry)

The principal metadata attributes are:

  • simbio, containing the channel-specific stc, hric, or vihi model;
  • display, imaging, and geometry;
  • reference, containing internal and external references;
  • data_arrays, plus image_data, cube_data, and csv_data when present;
  • time_coordinates, target, and software_context.

Compression metadata

From version 1.0.1, product.simbio.compression.box is a string preserving compression_box from the label, including "128x128", "64x128", or "1". It describes a compression block and must not be treated as a scalar float. compression.rate remains a float and compression.ratio remains an integer. Code that previously used a numeric box must handle the textual value.

This fixes a reader error that stopped SimCal before calibration and label updates. See the 1.0.1 release notes for validation details.

savePreview() is retained only as an obsolete compatibility stub. Calling it prints a deprecation message and raises DeprecatedMethodError.

Command-line interface

The package installs one command, simbioReader, with five subcommands:

simbioReader version
simbioReader about
simbioReader phases --kind all
simbioReader filters
simbioReader filters STC --name pan-l
simbioReader info product.lblx --all
  • version reports the code version and compatible PSA and SIMBIO-SYS data models;
  • about reports package and author metadata;
  • phases displays mission phases, subphases, and test campaigns;
  • filters displays HRIC and STC filter definitions. Names are case-insensitive and accept forms such as PAN-L, pan-l, and panl;
  • info reads a product and displays selected metadata.

With info, use --hk for instrument and CSV housekeeping tables, --detector for detector metadata, --data-structure for observational structures, --filters for the optical filter, and --all for every modeled section. Units are rendered as symbols by default; --no-symbols preserves the XML unit names.

Use --imaging, --display, --geometry, or --references to add the selected sections to the general product and target information. These flags can be combined, for example simbioReader info product.lblx --imaging --references.

Run simbioReader --help or simbioReader COMMAND --help for all options.

Development

uv sync --all-groups
uv run pytest
uv run ruff check src tests
uv run sphinx-build -W -M html docs/source docs/build
uv build

The tests use the PDS4 fixtures under tests/data.

Documentation

The Sphinx sources are under docs/source. Additional maintenance documents:

1.0.2 dependency and runtime update

Use Python 3.14 (uv sync --locked) with the refreshed dependency lockfile. PDS4 generated product versions remain 0.1; software versions are independent.

Release 1.0.5

This release adds imaging, display, geometry and reference panels to simbioReader info and summarizes multi-row housekeeping tables with the first, middle and last samples. The reader accepts unnamed imaging subframes and exposes the compression initial bit rate as compression.ibr, with compression.ratio retained as an alias.

See the release notes for the full list of changes.

Metadata

Release files for SimbioReader 1.0.5

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

Source distribution (sdist)

Source distribution for SimbioReader 1.0.5
File Size Uploaded Provenance Actions
simbioreader-1.0.5.tar.gz 50.0 kB Without provenance Details for simbioreader-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for SimbioReader 1.0.5
File Interpreter ABI Platform Actions
simbioreader-1.0.5-py3-none-any.whl Python 3 none any Details for simbioreader-1.0.5-py3-none-any.whl

Total release size: 105.5 kB

Release files / simbioreader-1.0.5.tar.gz

Download URL simbioreader-1.0.5.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
934bd26d626e90727f8bb1f80820968ce2dbdabff3c2111f6b92114412d199c0
BLAKE2b-256 checksum
How to use checksums
b1c68958a449ddd2d4457e91f7986a8fc3dfa657bbb3db882600e62236f217f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / simbioreader-1.0.5-py3-none-any.whl

Download URL simbioreader-1.0.5-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f55011b26103e93fd48364235fadf7e5ca32c69ce1e84963d9a99b6f0a626eb7
BLAKE2b-256 checksum
How to use checksums
d1f1010ae5fde89700f79a26df8605bf2fe09a494ac08161cc6e1c624fe86417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for SimbioReader 1.0.5

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.

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files No provenance

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