public class CoverageImpl extends java.lang.Object implements Coverage
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VariableSimpleIF o) |
Attribute |
findAttributeIgnoreCase(java.lang.String name)
find the attribute for the variable with the given name, ignoring case.
|
java.lang.String |
findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
Convenience function; lookup Attribute value by name.
|
java.util.List<Attribute> |
getAttributes()
Attributes for the variable.
|
CoverageCS |
getCoordinateSystem()
get the Coverage's Coordinate System.
|
DataType |
getDataType()
Variable's data type
|
java.lang.String |
getDescription()
description of the Variable
|
java.util.List<Dimension> |
getDimensions()
Returns a List of Dimension containing the dimensions used by this Coverage.
|
java.lang.String |
getFullName()
full, backslash escaped name of the data Variable
|
java.lang.String |
getInfo()
human readable information about this Coverage.
|
java.lang.String |
getName()
Name of the data Variable.
|
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
java.lang.String |
getShortName()
short name of the data Variable
|
java.lang.String |
getUnitsString()
Units of the Variable.
|
boolean |
hasMissing()
true if there may be missing data
|
boolean |
isMissing(double val)
if val is missing data
|
Array |
readData(CoverageCS.Subset subset)
This reads an arbitrary data slice, returning the data in
canonical order (rt-e-t-z-y-x).
|
java.lang.String |
toString() |
public java.lang.String getName()
VariableSimpleIFgetName in interface NamedObjectgetName in interface VariableSimpleIFpublic java.lang.String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFpublic java.lang.String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFpublic java.lang.String getDescription()
VariableSimpleIFgetDescription in interface NamedObjectgetDescription in interface VariableSimpleIFpublic java.lang.String getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFpublic int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFpublic DataType getDataType()
VariableSimpleIFgetDataType in interface VariableSimpleIFpublic java.util.List<Attribute> getAttributes()
VariableSimpleIFgetAttributes in interface VariableSimpleIFpublic Attribute findAttributeIgnoreCase(java.lang.String name)
VariableSimpleIFfindAttributeIgnoreCase in interface VariableSimpleIFname - attribute namepublic java.lang.String findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
CoveragefindAttValueIgnoreCase in interface CoverageattName - name of the attributedefaultValue - if not found, use this as the defaultpublic java.util.List<Dimension> getDimensions()
CoveragegetDimensions in interface CoveragegetDimensions in interface VariableSimpleIFpublic CoverageCS getCoordinateSystem()
CoveragegetCoordinateSystem in interface Coveragepublic boolean hasMissing()
CoveragehasMissing in interface IsMissingEvaluatorhasMissing in interface Coveragepublic boolean isMissing(double val)
CoverageisMissing in interface IsMissingEvaluatorisMissing in interface Coverageval - test this valuepublic java.lang.String getInfo()
Coveragepublic int compareTo(VariableSimpleIF o)
compareTo in interface java.lang.Comparable<VariableSimpleIF>public java.lang.String toString()
toString in class java.lang.Objectpublic Array readData(CoverageCS.Subset subset) throws java.io.IOException, InvalidRangeException
CoveragereadData in interface Coveragesubset - subset that you want. Must be created through this.getCoordinateSystem().makeSubset()java.io.IOException - on io errorInvalidRangeException