{"id":50294925,"url":"https://github.com/peak-solution/asam_ods_exd_api_microunidaq","last_synced_at":"2026-05-28T08:30:31.129Z","repository":{"id":352036404,"uuid":"1213552623","full_name":"peak-solution/asam_ods_exd_api_microunidaq","owner":"peak-solution","description":"This repository contains an ASAM ODS EXD-API plugin that uses h5py to read microUniDAQ HDF5 waveform files.","archived":false,"fork":false,"pushed_at":"2026-04-17T14:45:00.000Z","size":802,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-17T16:38:34.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peak-solution.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-17T13:58:42.000Z","updated_at":"2026-04-17T14:45:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/peak-solution/asam_ods_exd_api_microunidaq","commit_stats":null,"previous_names":["peak-solution/asam_ods_exd_api_microunidaq"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/peak-solution/asam_ods_exd_api_microunidaq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peak-solution%2Fasam_ods_exd_api_microunidaq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peak-solution%2Fasam_ods_exd_api_microunidaq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peak-solution%2Fasam_ods_exd_api_microunidaq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peak-solution%2Fasam_ods_exd_api_microunidaq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peak-solution","download_url":"https://codeload.github.com/peak-solution/asam_ods_exd_api_microunidaq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peak-solution%2Fasam_ods_exd_api_microunidaq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33601380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T08:30:30.252Z","updated_at":"2026-05-28T08:30:31.123Z","avatar_url":"https://github.com/peak-solution.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASAM ODS EXD-API microUniDAQ plugin\r\n\r\nThis repository contains a [ASAM ODS EXD-API](https://www.asam.net/standards/detail/ods/) plugin that uses [h5py](https://pypi.org/project/h5py/) to read microUniDAQ HDF5 waveform files.\r\n\r\nIt is built on the [ods-exd-api-box](https://pypi.org/project/ods-exd-api-box/) helper library which provides the gRPC server infrastructure and proto stubs.\r\n\r\n## Content\r\n\r\n### Implementation\r\n* [external_data_file.py](external_data_file.py)\u003cbr\u003e\r\n  Implements the `ExdFileInterface` from `ods-exd-api-box` to access microUniDAQ HDF5 files using [h5py](https://pypi.org/project/h5py/).\r\n  Also contains the entry point to run the gRPC service.\r\n\r\n### Tests\r\n* [test_exd_api.py](tests/test_exd_api.py)\u003cbr\u003e\r\n  Some basic tests on example files in `data` folder.\r\n\r\n## Development\r\n\r\n### Setup\r\n\r\nInstall [uv](https://docs.astral.sh/uv/) and then install the project with dev dependencies:\r\n\r\n```\r\nuv sync --group dev\r\n```\r\n\r\n### Run Tests\r\n\r\n```\r\nuv run python -m unittest discover tests\r\n```\r\n\r\n### Code Quality\r\n\r\n```bash\r\nuv sync --group dev                    # 1. Install all dependencies\r\nuv run ruff format .                   # 2. Format code\r\nuv run ruff check --fix .              # 3. Fix lint violations\r\nuv run mypy external_data_file.py      # 4. Type check\r\nuv run python -m unittest discover tests  # 5. Run tests\r\n```\r\n\r\n## Docker\r\n\r\n### Docker Image Details\r\n\r\nThe Docker image for this project is available at:\r\n\r\n`ghcr.io/peak-solution/asam-ods-exd-api-microunidaq:latest`\r\n\r\nThis image is automatically built and pushed via a GitHub Actions workflow. To pull and run the image:\r\n\r\n```\r\ndocker pull ghcr.io/peak-solution/asam-ods-exd-api-microunidaq:latest\r\ndocker run -v /path/to/local/data:/data -p 50051:50051 ghcr.io/peak-solution/asam-ods-exd-api-microunidaq:latest\r\n```\r\n\r\n### Using the Docker Container\r\n\r\nTo build the Docker image locally:\r\n```\r\ndocker build -t asam-ods-exd-api-microunidaq .\r\n```\r\n\r\nTo start the Docker container:\r\n```\r\ndocker run -v /path/to/local/data:/data -p 50051:50051 asam-ods-exd-api-microunidaq\r\n```\r\n\r\nhave a look at [start options](https://totonga.github.io/ods-exd-api-box/server-options.html) to\r\nfigure out how to customize the behavior of the EXD-API plugin.\r\n\r\n## Architecture and Usage in ODS Server\r\n\r\n```mermaid\r\nsequenceDiagram\r\n\r\nactor CLIENT as Client\r\nparticipant PDTT as 🛠️Importer\r\nparticipant PODS as 🗃️ASAM ODS server\r\nparticipant PLUGIN as 📊EXD-API plugin\r\nparticipant FILE as 🗂️File Storage\r\n\r\nautonumber\r\n\r\nopt Import phase\r\n  FILE -\u003e\u003e+ PDTT: New file shows up\r\n  PDTT -\u003e\u003e+ PLUGIN : Get Structure\r\n  PLUGIN -\u003e FILE: Extract content information\r\n  PLUGIN -\u003e\u003e PLUGIN: Create Structure\r\n  PLUGIN -\u003e\u003e- PDTT: Return Structure\r\n  PDTT -\u003e\u003e PODS: Import ODS structure\r\n  Note right of PDTT: Create hierarchy\u003cbr/\u003eAoTest,AoMeasurement,...\r\n  PDTT -\u003e\u003e- PODS: Add External Data info\r\n  Note right of PDTT: Attach AoFile ... for external data\u003cbr/\u003eAoFile,AoSubmatrix,AoLocalColumn,...\r\nend\r\n\r\nNote over CLIENT, FILE: Now we can work with the imported files\r\n\r\nloop Runtime phase\r\n  CLIENT -\u003e\u003e PODS: Establish ODS session\r\n  CLIENT -\u003e\u003e PODS: Work with meta data imported from structure\r\n  CLIENT -\u003e\u003e PODS: Access external channel in preview\r\n  PODS -\u003e\u003e PLUGIN: GetValues\r\n  PLUGIN -\u003e\u003e FILE: Get Channel values\r\n  PLUGIN -\u003e\u003e PODS: Return values of channels\r\n  PODS -\u003e\u003e CLIENT: Return values needed for plot\r\nend\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeak-solution%2Fasam_ods_exd_api_microunidaq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeak-solution%2Fasam_ods_exd_api_microunidaq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeak-solution%2Fasam_ods_exd_api_microunidaq/lists"}