Package uk.ac.rdg.resc.edal.dataset
Interface GridDataSource
-
- All Superinterfaces:
AutoCloseable
,DataSource
public interface GridDataSource extends DataSource
Low-level interface to multidimensional grids, used byDataReadingStrategy
. TODO axis order issues: should we define that the returned Array must have the x axis varying fastest, irrespective of the ordering of the underlying data grid? GG: Yes, probably...- Author:
- Jon, Guy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Array4D<Number>
read(String variableId, int tmin, int tmax, int zmin, int zmax, int ymin, int ymax, int xmin, int xmax)
Read anArray4D
of data from the underlying data source-
Methods inherited from interface uk.ac.rdg.resc.edal.dataset.DataSource
close
-
-
-
-
Method Detail
-
read
Array4D<Number> read(String variableId, int tmin, int tmax, int zmin, int zmax, int ymin, int ymax, int xmin, int xmax) throws IOException, DataReadingException
Read anArray4D
of data from the underlying data source- Parameters:
variableId
- The variable ID to readtmin
- The minimum time index in the underlying datatmax
- The maximum time index in the underlying datazmin
- The minimum z index in the underlying datazmax
- The maximum z index in the underlying dataymin
- The minimum y index in the underlying dataymax
- The maximum y index in the underlying dataxmin
- The minimum x index in the underlying dataxmax
- The maximum x index in the underlying data- Returns:
- An
Array4D
containing the data which was read - Throws:
IOException
- If there is an IO problem accessing the dataDataReadingException
- If there is another issue reading the data
-
-