bluesky / ophyd-async

Hardware abstraction for bluesky written using asyncio
https://blueskyproject.io/ophyd-async
BSD 3-Clause "New" or "Revised" License
7 stars 21 forks source link

PandA HDFWriter stream_resource path is incorrect for PCAP block #382

Closed DiamondJoseph closed 21 hours ago

DiamondJoseph commented 2 weeks ago

For a received stream_resource

{
    "name": "stream_resource",
    "doc": {
        "uid": "a62f9676-0652-41be-a87a-2918295ee027",
        "data_key": "panda1-pcap-samples-Value",
        "spec": "AD_HDF5_SWMR_SLICE",
        "root": "/scratch/docs/12-6",
        "resource_path": "/scratch/docs/12-6/i22-3-panda1.h5",
        "resource_kwargs": {
            "name": "panda1-pcap-samples-Value",
            "block": "pcap",
            "path": "PCAP-SAMPLES-Value",
            "multiplier": 1,
            "timestamps": "/entry/instrument/NDAttributes/NDArrayTimeStamp"
        },
        "path_semantics": "posix",
        "run_start": "0362ddf7-8f09-4539-9288-eb303e66c059"
    }
}

the produced h5 file had the follwoing structure image

coretl commented 2 weeks ago

Is this fixed now?

DiamondJoseph commented 21 hours ago

This is now fixed