Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.8 file format



Hi John,

On Jul 13, 2007, at 11:43 AM, John Caron wrote:

Hi Quincey:

I'm just starting to look at the H5Fsuper.c (its been a while since i coded in C).

Meanwhile i have another question on a different topic:

The B-tree nodes I assume are sorted on the keys. Is this a simple sort on the byte values, or something else? For example, are nodes of chunked data sorted on chunk size, then filter mask, then chunk offset? Or do you just use the chunk offset? When sorting the chunk offset, can i assume you sort on offset for slowest dimension (0), then offset for dimension 1, etc

Yes, the B-trees are sorted on the keys. It's not a simple sort on the byte values though, each "class" of B-tree has a comparison function. For chunks we sort only on chunk offset and it's as you describe above: first on offset in the slowest dimension, then toward the fastest dimension.


	Quincey

Attachment: smime.p7s
Description: S/MIME cryptographic signature


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690