cdm/src/main/java/ucar/nc2/Structure.java
public StructureData readStructure() throws IOException {
    if (getRank() != 0) throw new java.lang.UnsupportedOperationException("not a scalar structure");
    Array dataArray = read();
    ArrayStructure data = (ArrayStructure) dataArray;
    return data.getStructureData(0);
  }
public StructureData readStructure() throws IOException {
    if (getRank() != 0) throw new java.lang.UnsupportedOperationException("not a scalar structure");
    Array dataArray = read();
    ArrayStructure data = (ArrayStructure) dataArray;
    return data.getStructureData(0);
  }
Use this when this is a scalar Structure. Its the same as read(), but it extracts the single
StructureData out of the Array.
@return StructureData for a scalar
@throws java.io.IOException on read error