Re: [netcdf-java] Variable Length Dimensions and IOSPs

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.



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: