public ArrayStructure readStructure(int start, int count) throws IOException, ucar.ma2.InvalidRangeException {
    if (getRank() != 1) throw new java.lang.UnsupportedOperationException("not a vector structure");
    int[] origin = new int[] {start};
    int[] shape = new int[] {count};
    if (NetcdfFile.debugStructureIterator)
      System.out.println("readStructure "+start+" "+count);
    return (ArrayStructure) read(origin, shape);
  }
public ArrayStructure readStructure(int start, int count) throws IOException, ucar.ma2.InvalidRangeException {
    if (getRank() != 1) throw new java.lang.UnsupportedOperationException("not a vector structure");
    int[] origin = new int[] {start};
    int[] shape = new int[] {count};
    if (NetcdfFile.debugStructureIterator)
      System.out.println("readStructure "+start+" "+count);
    return (ArrayStructure) read(origin, shape);
  }
public ArrayStructure readStructure ( int start , int count ) throws IOException , ucar . ma2 . InvalidRangeException { if ( getRank ( ) != 1 ) throw new java . lang . UnsupportedOperationException ( "not a vector structure" ) ; int [ ] origin = new int [ ] { start } ; int [ ] shape = new int [ ] { count } ; if ( NetcdfFile . debugStructureIterator ) System . out . println ( "readStructure " + start + " " + count ) ; return ( ArrayStructure ) read ( origin , shape ) ; }
For rank 1 array of Structures, read count Structures and return the data as an ArrayStructure.
Use only when this is a one dimensional array of Structures.
@param start start at this index
@param count return this many StructureData
@return the StructureData recordsfrom start to start+count-1
@throws java.io.IOException on read error
@throws ucar.ma2.InvalidRangeException if start, count out of range
For rank 1 array of Structures read count Structures and return the data as an ArrayStructure . Use only when this is a one dimensional array of Structures .