Skip to Content.
Sympa Menu

h5part - Re: [H5part] H5Part Conventions

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

Re: [H5part] H5Part Conventions


Chronological Thread 
  • From: John Shalf <jshalf AT lbl.gov>
  • To: John Biddiscombe <biddisco AT cscs.ch>
  • Cc: h5part AT lists.psi.ch
  • Subject: Re: [H5part] H5Part Conventions
  • Date: Thu, 14 Jun 2007 13:32:34 -0400
  • List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
  • List-id: H5Part development and discussion <h5part.lists.psi.ch>

I agree,
it sounds like it is time to have a subsection to the H5Part web pages that is entitled "Attribute Conventions." This can be a running log of current or proposed naming conventions for attributes in the file format and their meaning (a data dictionary).

-john

On Jun 13, 2007, at 3:34 AM, John Biddiscombe wrote:
Discussing standard attributes...

I'd like to start the ball rolling by saying that we routinely use an attribute attached to the time step group which is called "TimeValue". This is a double precision value representing the actual time for the step in question. I'd very much like this to be documented somewhere as a 'convention' so that if and when others have need of the time, they use the same method.

JB

//
// Write out a TimeValue attribute for this step
//
h5part_int64_t attrib = H5PartWriteStepAttrib(
this->H5FileId, "TimeValue", H5T_NATIVE_DOUBLE, &this- >TimeValue, 1);

--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82


_______________________________________________
H5Part mailing list
H5Part AT lists.psi.ch
https://lists.web.psi.ch/mailman/listinfo/h5part




Archive powered by MHonArc 2.6.19.

Top of Page