return 0;
}
// section reading for member data
static public ucar.ma2.Array readSection(ParsedSectionSpec cer) throws IOException, InvalidRangeException {
Variable inner = null;
List<Range> totalRanges = new ArrayList<Range>();
ParsedSectionSpec current = cer;
while (current != null) {
totalRanges.addAll( current.section.getRanges());
inner = current.v;
current = current.child;
}
Section total = new Section( totalRanges);
Array result = Array.factory(inner.getDataType(), total.getShape());
// must be a Structure
Structure outer = (Structure) cer.v;
Structure outerSubset = outer.select( cer.child.v.getShortName()); // allows IOSPs to optimize for this case
ArrayStructure outerData = (ArrayStructure) outerSubset.read(cer.section);