grib/src/main/java/ucar/nc2/grib/collection/GribDataReader.java
public Array readData2(CoordsSet want, RangeIterator yRange, RangeIterator xRange) throws IOException {
    if (vindex instanceof PartitionCollectionImmutable.VariableIndexPartitioned)
      return readDataFromPartition2((PartitionCollectionImmutable.VariableIndexPartitioned) vindex, want, yRange, xRange);
    else
      return readDataFromCollection2(vindex, want, yRange, xRange);
  }
public Array readData2(CoordsSet want, RangeIterator yRange, RangeIterator xRange) throws IOException {
    if (vindex instanceof PartitionCollectionImmutable.VariableIndexPartitioned)
      return readDataFromPartition2((PartitionCollectionImmutable.VariableIndexPartitioned) vindex, want, yRange, xRange);
    else
      return readDataFromCollection2(vindex, want, yRange, xRange);
  }
public Array readData2 ( CoordsSet want , RangeIterator yRange , RangeIterator xRange ) throws IOException { if ( vindex instanceof PartitionCollectionImmutable . VariableIndexPartitioned ) return readDataFromPartition2 ( ( PartitionCollectionImmutable . VariableIndexPartitioned ) vindex , want , yRange , xRange ) ; else return readDataFromCollection2 ( vindex , want , yRange , xRange ) ; }
Coordinate based subsetting for Coverage
Coordinate based subsetting for Coverage