- To: Doug Lindholm <doug.lindholm@xxxxxxxxxxxxxxxxx>
- Subject: Re: [netcdf-java] Variable Length Dimensions and IOSPs
- From: John Caron <caron@xxxxxxxxxxxxxxxx>
- Date: Wed, 18 Nov 2009 14:40:38 -0700
Doug Lindholm wrote:
I'm defining my time dimension in ncml as:
<dimension name="time" isUnlimited="true" isVariableLength="true"/>
and the variable:
<variable name="time" shape="time" type="double"/>
and my IOSP is constructing the Dimension accordingly:
new Dimension("time", -1, true, true, true);
I'm using "-1" as does Dimension.VLEN.
First question: Is that the way to do it?
The only use of isVariableLength="true" if for Sequences, so you should
leave that to false.
- References:
- [netcdf-java] Variable Length Dimensions and IOSPs
- From: Doug Lindholm
- [netcdf-java] Variable Length Dimensions and IOSPs