[CF-metadata] Array Subscript Convention

Jonathan Gregory j.m.gregory at reading.ac.uk
Wed Jan 14 10:47:02 MST 2004


Dear Tom

> Is there a variable attribute for arrays of indices which indicate 
> whether the
> numbering convention goes  1:n  or  0:n-1  ?
> I am building finite element meshes which require arrays of indices
> to indicate the nodes contained in each triangular element.  
> If the same array is used by fortran as by C the indexing will be off by
> one unit.  

I think we should have a convention that numbering is always from zero. That
is what we assume in section 8.2, for instance.

Best wishes

Jonathan


More information about the CF-metadata mailing list