Skip to main content

A simple data sink that will swallow any Karabo Data Source(s)

Project description

HDF5Writer: A simple Data Acquistion Device for Karabo...

... that is extra-data compliant.

Outline

This HDF5Writer device will ingest any data that Karabo can produce (well, except tables that is), and store it into HDF5 files which are extra-data compliant.

All data is stored "as if it were fast-data", i.e. no cloning takes place for slow data, as it would in the full EuXFEL DAQ. This simplifies data bookkeeping substantially.

In order to be compliant with extra-data needs, a fake :slow channel specifier is introduced for slow data, and top-level data nodes are created for any data source. A RUN data section is not created!

A resulting file structure might thus look like:

├INDEX
│ ├FOO
│  └BAR
│    ├test-mdl-08c59409-61fe-4745-afd8-186a82d1bcd6:output
│     └data
│       ├count  [uint64: 9]       └first  [uint64: 9]    └test-mdl-08c59409-61fe-4745-afd8-186a82d1bcd6:slow
│      └data
│        ├count  [uint64: 9]        └first  [uint64: 9] ├flag   [int32: 9] ├origin [int32: 9] ├timestamp      [uint64: 9] └trainId        [uint64: 9]
├INSTRUMENT
│ └FOO
│   └BAR
│     ├test-mdl-08c59409-61fe-4745-afd8-186a82d1bcd6:output
│      └data
│        └node
│          └ndarray      [int32: 1 × 100 × 200]     └test-mdl-08c59409-61fe-4745-afd8-186a82d1bcd6:slow
│       └data
│         ├node
│          ├counter      [uint32: 9]          └counterReadOnly      [uint32: 9]         ├state  [256-byte ASCII string: 9]         └vectors
│           └stringProperty       [256-byte ASCII string: 9 × 10]
└METADATA
    ...

Interface

The interface is intended to be compatile to the EuXFEL DAQ in terms of states and commands. Currently, no "Pause" funtionality is implemented.

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

karabo_hdf5writer-0.0.1.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

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

karabo_hdf5writer-0.0.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file karabo_hdf5writer-0.0.1.tar.gz.

File metadata

  • Download URL: karabo_hdf5writer-0.0.1.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for karabo_hdf5writer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3db79d6f9efbf0303e1e8184476d4148427996b60f1f130e8000c6ba44835dd2
MD5 aa856d63fce6a8233ddb83fa4d1968a9
BLAKE2b-256 792c0cb6f40a28dc8df40c4ff1bae7e9bb953c10edc7990bdfc5a442b1e31dcd

See more details on using hashes here.

File details

Details for the file karabo_hdf5writer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for karabo_hdf5writer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd6c05f71fbae5747967ef674526e7126c8ef4bfa47f751a19fc90711b49c650
MD5 af250e0919657d181fbd5f03b18b3e7e
BLAKE2b-256 273f15929dd8d153a3d19daa0060e8935ef233cb5140db111ce89e9ffa20980b

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