Skip to main content

Python hdf5 tools

Project description

This git repository contains a python package with an H5 class to load and combine one or more HDF5 data files (or xarray datasets) with optional filters. The class will then export the combined data to an HDF5 file, file object, or xr.Dataset. This class is designed to be fast and safe on memory. This means that files of any size can be combined and saved even on a PC with low memory (unlike xarray).

TODO:

  • Create a sel method for the File class. This should mimic xarray, but create a copy of the File with optional saving to a local file just like creating a new file using the File class. At least initially to make it easier, just do straightforward indexing like is done with the LocationIndexer which gets copied over to a newly created File/dataset object.

  • The to_pandas method in datasets should be similar to xarray, which creates pandas indexes. The to_pandas method for the File class should concat all of the datasets to_pandas output together.

  • The to_xarray method for both Dataset and File should use the existing hdf5 local file if it exists and close the file via h5py before linking to it via the xarray open_dataset.

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

hdf5tools-0.4.1.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

hdf5tools-0.4.1-py2.py3-none-any.whl (30.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hdf5tools-0.4.1.tar.gz.

File metadata

  • Download URL: hdf5tools-0.4.1.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for hdf5tools-0.4.1.tar.gz
Algorithm Hash digest
SHA256 00a98ceac1e99a87cb6a75588c8af5b822707270b6f57336813466df83c6c1c4
MD5 f63ad0871e92bc4ba953526bf0b0f2b5
BLAKE2b-256 0b0462478c1d4569758ba21854fa1d5826531e00224c636d0806f970a6e9ed3f

See more details on using hashes here.

File details

Details for the file hdf5tools-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: hdf5tools-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for hdf5tools-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2ad74472f1281e1387ef9b85e61da5ffdcd3f517f247156076012aef974cd1e2
MD5 2184e912f452a3f863021305b5281c90
BLAKE2b-256 54804e47c46329e8666a715ddb7481fb076bcf9797ccddfbf20458143a686cbc

See more details on using hashes here.

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