@Override
  public Array reallyRead(Variable client, CancelTask cancelTask) throws IOException {
    Array result;

    if (hasCachedData())
      result = super.reallyRead(client, cancelTask);
    else if (orgVar != null)
      result = orgVar.read();
    else {
      throw new IllegalStateException("StructureDS has no way to get data");
      //Object data = smProxy.getFillValue(getDataType());
      //return Array.factoryConstant(dataType.getPrimitiveClassType(), getShape(), data);
    }

    return convert(result, null);
  }
@Override
  public Array reallyRead(Variable client, CancelTask cancelTask) throws IOException {
    Array result;

    if (hasCachedData())
      result = super.reallyRead(client, cancelTask);
    else if (orgVar != null)
      result = orgVar.read();
    else {
      throw new IllegalStateException("StructureDS has no way to get data");
      
      
    }

    return convert(result, null);
  }
@ Override public Array reallyRead ( Variable client , CancelTask cancelTask ) throws IOException { Array result ; if ( hasCachedData ( ) ) result = super . reallyRead ( client , cancelTask ) ; else if ( orgVar != null ) result = orgVar . read ( ) ; else { throw new IllegalStateException ( "StructureDS has no way to get data" ) ; //Object data = smProxy.getFillValue(getDataType());
 //return Array.factoryConstant(dataType.getPrimitiveClassType(), getShape(), data);
 } return convert ( result , null ) ; }
regular Variables.
regular Variables .