Package ucar.nc2.grid
Interface Grid
-
- All Superinterfaces:
IsMissingEvaluator
public interface Grid extends IsMissingEvaluator
A georeferenced Field. Always described by an orthogonal collection of 1D GridAxes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AttributeContainer
attributes()
The Grid attributes.ArrayType
getArrayType()
The underlying data type.GridCoordinateSystem
getCoordinateSystem()
The Grid's GridCoordinateSystem.String
getDescription()
The Grid description.default GridHorizCoordinateSystem
getHorizCoordinateSystem()
The Grid's GridHorizCoordinateSystem.String
getName()
The Grid name.default GridReader
getReader()
A GridReader to read data out of this Grid.default GridTimeCoordinateSystem
getTimeCoordinateSystem()
The Grid's GridTimeCoordinateSystem.String
getUnits()
The Grid unit string.GridReferencedArray
readData(GridSubset subset)
Read the specified subset of data, return result as a Georeferenced Array.Array<Number>
readDataSection(Section subset)
-
Methods inherited from interface ucar.array.IsMissingEvaluator
hasMissing, isMissing
-
-
-
-
Method Detail
-
getName
String getName()
The Grid name.
-
getDescription
String getDescription()
The Grid description.
-
getUnits
String getUnits()
The Grid unit string.
-
attributes
AttributeContainer attributes()
The Grid attributes.
-
getArrayType
ArrayType getArrayType()
The underlying data type. Must imply a subclass of Number.
-
getCoordinateSystem
GridCoordinateSystem getCoordinateSystem()
The Grid's GridCoordinateSystem.
-
getTimeCoordinateSystem
@Nullable default GridTimeCoordinateSystem getTimeCoordinateSystem()
The Grid's GridTimeCoordinateSystem. May be null.
-
getHorizCoordinateSystem
default GridHorizCoordinateSystem getHorizCoordinateSystem()
The Grid's GridHorizCoordinateSystem.
-
readData
GridReferencedArray readData(GridSubset subset) throws IOException, InvalidRangeException
Read the specified subset of data, return result as a Georeferenced Array. The GridReferencedArray has a Materialized CoordinateSystem, which may be somewhat different than the shape of the GridCoordinateSystem.- Throws:
IOException
InvalidRangeException
-
getReader
default GridReader getReader()
A GridReader to read data out of this Grid.
-
readDataSection
Array<Number> readDataSection(Section subset) throws InvalidRangeException, IOException
- Throws:
InvalidRangeException
IOException
-
-