Skip to main content

Command line script and Python library to read HSP2 HDF5 files.

Project description

Tests Test Coverage Latest release BSD-3 clause license PyPI - Python Version

hsp2_reader - Quick Guide

The hsp2_reader is a pure Python module and command line script to read HSP2 time-series from HDF5 files.

Installation

pip

pip install hsp2_reader

conda

conda install -c conda-forge hsp2_reader

Usage - Command Line

Just run ‘hsp2_reader –help’ to get a list of subcommands:

usage: hsp2_reader [-h]
                 {hsp2, about} ...

positional arguments:
  {hsp2, about}

hdf5
    Read HSP2 results from HDF5 file.
about
    Display version number and system information.

optional arguments:
  -h, --help            show this help message and exit

The output time-series data is printed to the screen and you can then redirect to a file.

Usage - API

You can use all of the command line subcommands as functions. The function signature is identical to the command line subcommands. The return is always a PANDAS DataFrame.

Simply import hsp2_reader:

from hsp2_reader import hsp2_reader

# Then you could call the function
ntsd = hsp2_reader.hdf5("file.h5", "yearly", [,,,"TAET"])

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

hsp2_reader-0.1.1.tar.gz (17.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hsp2_reader-0.1.1-py3-none-any.whl (17.8 MB view details)

Uploaded Python 3

File details

Details for the file hsp2_reader-0.1.1.tar.gz.

File metadata

  • Download URL: hsp2_reader-0.1.1.tar.gz
  • Upload date:
  • Size: 17.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hsp2_reader-0.1.1.tar.gz
Algorithm Hash digest
SHA256 af23524d899985ae1b5853816232950c4b0b8f8b86b027214652155a6f9dd6fe
MD5 2e7a973948b963dbb14bc8bd3143abe2
BLAKE2b-256 a751b5c1e5f081d42036ac9ac0aed62e5e2f5af3db30ee117ba56d368f9c3f14

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsp2_reader-0.1.1.tar.gz:

Publisher: pypi-package.yml on timcera/hsp2_reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hsp2_reader-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hsp2_reader-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hsp2_reader-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ebd95b769365d418064be220787256604dad4ec382f2861890b9ac62e7eff5f
MD5 b5caecb78af1b2682577bb85710201b6
BLAKE2b-256 741fb2712c793e301f1871128dcbf93b12c2bede04e5c9e735ff502ab3ad86a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsp2_reader-0.1.1-py3-none-any.whl:

Publisher: pypi-package.yml on timcera/hsp2_reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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