Skip to Content.
Sympa Menu

h5part - Re: [H5part] H5Block

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

Re: [H5part] H5Block


Chronological Thread 
  • From: Kurt Stockinger <kstockinger AT lbl.gov>
  • Cc: h5part AT lists.psi.ch
  • Subject: Re: [H5part] H5Block
  • Date: Fri, 26 Jan 2007 11:49:44 -0800
  • List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
  • List-id: H5Part development and discussion <h5part.lists.psi.ch>

Hi,

I have a specific question about the data format. Is currently the
assumption that each scalar field is a group (see TestField1 and
TestField2) and the name of the dataset in the scalar field is always
"0"? Find below a simple example based on H5BlockParTestScalarField.c
where I create 2 scalar fields with

...
H5Block3dWriteScalarField ( f, "TestField1", data );
...
H5Block3dWriteScalarField ( f, "TestField2", data2 );


src/H5PartTest> h5dump -H blockfile2.h5
HDF5 "blockfile2.h5" {
GROUP "/" {
GROUP "Step#0" {
GROUP "Block" {
GROUP "TestField1" {
DATASET "0" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
}
}
GROUP "TestField2" {
DATASET "0" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
}
}
}
}
}
}

Thanks,
Kurt

Kurt Stockinger wrote:
> Hi Achim,
>
> I'm taking a closer look at H5Block again. Do we have some documentation
> about the main design?
>
> Thanks,
> Kurt
>
>


--
Kurt Stockinger
Computational Research Division
Lawrence Berkeley National Laboratory
Mail Stop 50F-1650, 1 Cyclotron Road
Berkeley, California 94720, USA

Tel: +1 (510) 486 5519, Fax: +1 (510) 486 5812
email: KStockinger AT lbl.gov
http://sdm.lbl.gov/kurts/





Archive powered by MHonArc 2.6.19.

Top of Page