Skip to main content

Read Thatec h5 formatting and convert it to netcdf files and xarray objects.

Project description

logo

Project Description

This is a community package which helps reading .h5 files created by ThatecOS and converting them to xarray objects and netcdf files. This software is not maintained by and has no affiliations to THATec Innovation GmbH.

Installation

$ pip install PyThat

If not happened automatically, install following dependencies: netcdf4, scipy, h5netcdf, h5py, xarray

If you are using Conda/Anaconda, you can also install via pip. However, this may result in some dependency issues, rendering PyThat inoperable.

Usage

The package reconstructs the measurement tree and lets the user choose the row containing an indicator. It then uses the metadata from the measurement tree to construct an xarray object with n+m dimensions, where n is the dimension of the indicator in the specified row and m the number of indents/loops.

Since xarray is built around labeled arrays, it also reconstructs the coord and dims attributes of the xarray objects. For use of xarray see the documentation.

After starting at version 0.27 all data is read for all valid indicators and combined to a dataset. The old version with indexing should still work, however.

For usage example, see PyThat Documentation.

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

PyThat-0.2.14.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

PyThat-0.2.14-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file PyThat-0.2.14.tar.gz.

File metadata

  • Download URL: PyThat-0.2.14.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for PyThat-0.2.14.tar.gz
Algorithm Hash digest
SHA256 a1571f8aa9658defd3e3c3f5717a11dbad077ac169965a3be9a0a471a4b34c45
MD5 3a1c0acc180920cc66ae2a2aace8d43a
BLAKE2b-256 65973c372334938a8db19d883ea6222a01748297ce6f04e1a48c8703318b2d0b

See more details on using hashes here.

File details

Details for the file PyThat-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: PyThat-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for PyThat-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 757343ac3ae1d85e5a9b75f15b757dcf193ee5c591df9f66c5aa19a2747e4797
MD5 13df4fd433cd17080582956e0050e4ec
BLAKE2b-256 dc88c72cdc851af04b73083d13506435d4d518edae55a232fc2e8a686cb2b2ae

See more details on using hashes here.

Supported by

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