H5FROMH4(1)
π H5FROMH4 π
okay bestie, welcome to h5fromh4 from the h5utils collection β¨ she converts your HDF4 scientific datasets into an HDF5 file, and honestly? she ate.
πΈ SYNOPSIS πΈ
h5fromh4 [OPTION]... [HDF4FILE]...
β¨ DESCRIPTION β¨
so basically, h5fromh4 takes one or more files in HDF4 format and outputs files in HDF5 format containing the datasets from the HDF4 files. periodt. but heads up bestie β currently, only a single dataset per HDF4 file is converted. that's the vibe for now π
HDF4 and HDF5 are free, portable binary formats and supporting libraries developed by the National Center for Supercomputing Applications at the University of Illinois in Urbana-Champaign. iconic lineage fr fr π
a single h5 file can contain multiple data sets, no cap. by default, h5fromh4 creates a dataset called "data", but you can change that with the -d option, or by using the syntax HDF5FILE:DATASET with the -o option. and the -a option? that's the glow-up that lets you append new datasets to an existing HDF5 file. π
if you use the -o option and specify multiple HDF4 files, all the HDF4 datasets get output into that one HDF5 file, with the input filenames (minus the .hdf suffix) used as the dataset names. so organized. so demure. π
the most basic usage is something like this:
h5fromh4 foo.hdf
which will output a file foo.h5 containing the scientific dataset from foo.hdf. literally the easiest thing you'll do all day π¦
π OPTIONS π
-hβ displays help on the command-line options and usage. your little safety net, bestie π«Ά-Vβ prints the version number and copyright info forh5fromh4. slay, receipts included π-vβ verbose output. she'll tell you everything that's happening, main character energy β¨-aβ if the HDF5 output file already exists, appends the data as a new dataset rather than overwriting the file (which is the default behavior). however, an existing dataset of the same name within the file is overwritten. so watch out for that one π-ofile β sends HDF5 output to file rather than to the input filename with.hdfreplaced with.h5(the default). if multiple input files were specified, this causes all input datasets to be stored in file (rather than in separate files), with the input filenames (minus the.hdfsuffix) as the dataset names. one file to hold them all π₯-dname β writes to dataset name in the output; otherwise, the output dataset is called"data"by default. alternatively, use the syntaxHDF5FILE:DATASETwith the-ooption. pick your fave method, both valid π
π BUGS π
send bug reports to S. G. Johnson, stevenj@alum.mit.edu. not me asking you to email a real human, but like, do it if something's broken π
π AUTHORS π
written by Steven G. Johnson. copyright (c) 2005 by the Massachusetts Institute of Technology. legends only π
ok that's the whole page, you're officially certified in h5fromh4 now, iykyk π
this was h5utils, dated March 9, 2002 β thanks for coming to my ted talk bestie, mwah πβ¨
π¦ where this page comes from
- debian bookworm: h5utils 1.13.2-1 Β· MIT
- debian trixie: h5utils 1.13.2-2 Β· MIT
- nixpkgs unstable: h5utils 1.13.3
- ubuntu noble: h5utils 1.13.2-1build3 Β· MIT
- ubuntu questing: h5utils 1.13.2-2
- ubuntu resolute: h5utils 1.13.2-2build1 Β· MIT
- ubuntu stonking: h5utils 1.13.2-2build2 Β· MIT
- Copyright (c) 1999-2009 Massachusetts Institute of Technology
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms