Package ucar.nc2.grid
Class GridReader
- java.lang.Object
-
- ucar.nc2.grid.GridReader
-
public class GridReader extends Object
Fluent Api for creating subset parameters, and then reading with those.
-
-
Constructor Summary
Constructors Constructor Description GridReader(Grid grid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridReferencedArray
read()
Read the subset of the Grid's data described by the setters.GridReader
setDate(CalendarDate date)
GridReader
setDateRange(CalendarDateRange dateRange)
GridReader
setEnsCoord(Object coord)
GridReader
setHorizStride(int stride)
GridReader
setLatLonBoundingBox(LatLonRect llbb)
GridReader
setLatLonPoint(LatLonPoint pt)
GridReader
setProjectionBoundingBox(ProjectionRect projRect)
GridReader
setProjectionPoint(ProjectionPoint pt)
GridReader
setRunTime(CalendarDate date)
GridReader
setRunTimeLatest()
GridReader
setTimeAll()
GridReader
setTimeFirst()
GridReader
setTimeLatest()
GridReader
setTimeOffsetCoord(Object coord)
GridReader
setTimeOffsetRange(CoordInterval range)
GridReader
setTimePresent()
GridReader
setVertCoord(Object coord)
String
toString()
-
-
-
Constructor Detail
-
GridReader
public GridReader(Grid grid)
-
-
Method Detail
-
setRunTime
public GridReader setRunTime(CalendarDate date)
-
setRunTimeLatest
public GridReader setRunTimeLatest()
-
setTimeOffsetCoord
public GridReader setTimeOffsetCoord(Object coord)
-
setTimeOffsetRange
public GridReader setTimeOffsetRange(CoordInterval range)
-
setTimeFirst
public GridReader setTimeFirst()
-
setDate
public GridReader setDate(CalendarDate date)
-
setDateRange
public GridReader setDateRange(CalendarDateRange dateRange)
-
setTimePresent
public GridReader setTimePresent()
-
setTimeLatest
public GridReader setTimeLatest()
-
setTimeAll
public GridReader setTimeAll()
-
setVertCoord
public GridReader setVertCoord(Object coord)
-
setEnsCoord
public GridReader setEnsCoord(Object coord)
-
setLatLonPoint
public GridReader setLatLonPoint(LatLonPoint pt)
-
setLatLonBoundingBox
public GridReader setLatLonBoundingBox(LatLonRect llbb)
-
setProjectionPoint
public GridReader setProjectionPoint(ProjectionPoint pt)
-
setProjectionBoundingBox
public GridReader setProjectionBoundingBox(ProjectionRect projRect)
-
setHorizStride
public GridReader setHorizStride(int stride)
-
read
public GridReferencedArray read() throws IOException, InvalidRangeException
Read the subset of the Grid's data described by the setters.- Throws:
IOException
InvalidRangeException
-
-