# Reading hdf5 files with ascii headers

**URL:** <https://discourse.julialang.org/t/reading-hdf5-files-with-ascii-headers/117632>\
**Category:** Data\
**Tags:** hdf5\
**Created:** [July 30, 2024, 2:25pm UTC](https://discourse.julialang.org/t/reading-hdf5-files-with-ascii-headers/117632 "2024-07-30T14:25:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Hultberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim_hultberg/32/210994_2.png) [@Tim\_Hultberg](https://discourse.julialang.org/u/Tim_Hultberg)\
**Post date:** [July 30, 2024, 2:25pm UTC](https://discourse.julialang.org/t/reading-hdf5-files-with-ascii-headers/117632/1 "2024-07-30T14:25:07Z")

</div>

In my program I have to read data from a large number of hdf5 files with a fixed size (3307) ascii header added. For now, I loop through the files and write a temporary file to disk without the disturbing ascii header and then use HDF5.jl to read what I need.

This works fine, but I guess (hope) there should be a faster way, avoiding this extra writing and reading from disk?
