public class CoverageImpl extends Object implements Coverage
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VariableSimpleIF o) |
Attribute |
findAttributeIgnoreCase(String name)
find the attribute for the variable with the given name, ignoring case.
|
String |
findAttValueIgnoreCase(String attName,
String defaultValue)
Convenience function; lookup Attribute value by name.
|
List<Attribute> |
getAttributes()
Attributes for the variable.
|
CoverageCS |
getCoordinateSystem()
get the Coverage's Coordinate System.
|
DataType |
getDataType()
Variable's data type
|
String |
getDescription()
description of the Variable
|
List<Dimension> |
getDimensions()
Returns a List of Dimension containing the dimensions used by this Coverage.
|
String |
getFullName()
full, backslash escaped name of the data Variable
|
String |
getInfo()
human readable information about this Coverage.
|
String |
getName()
Name of the data Variable.
|
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
String |
getShortName()
short name of the data Variable
|
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).
|
String |
toString() |
public String getName()
VariableSimpleIFgetName in interface NamedObjectgetName in interface VariableSimpleIFpublic String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFpublic String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFpublic String getDescription()
VariableSimpleIFgetDescription in interface NamedObjectgetDescription in interface VariableSimpleIFpublic String getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFpublic int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFpublic DataType getDataType()
VariableSimpleIFgetDataType in interface VariableSimpleIFpublic List<Attribute> getAttributes()
VariableSimpleIFgetAttributes in interface VariableSimpleIFpublic Attribute findAttributeIgnoreCase(String name)
VariableSimpleIFfindAttributeIgnoreCase in interface VariableSimpleIFname - attribute namepublic String findAttValueIgnoreCase(String attName, String defaultValue)
CoveragefindAttValueIgnoreCase in interface CoverageattName - name of the attributedefaultValue - if not found, use this as the defaultpublic List<Dimension> getDimensions()
CoveragegetDimensions in interface CoveragegetDimensions in interface VariableSimpleIFpublic CoverageCS getCoordinateSystem()
CoveragegetCoordinateSystem in interface Coveragepublic boolean hasMissing()
CoveragehasMissing in interface CoveragehasMissing in interface IsMissingEvaluatorpublic boolean isMissing(double val)
CoverageisMissing in interface CoverageisMissing in interface IsMissingEvaluatorval - test this valuepublic String getInfo()
Coveragepublic int compareTo(VariableSimpleIF o)
compareTo in interface Comparable<VariableSimpleIF>public Array readData(CoverageCS.Subset subset) throws IOException, InvalidRangeException
CoveragereadData in interface Coveragesubset - subset that you want. Must be created through this.getCoordinateSystem().makeSubset()IOException - on io errorInvalidRangeExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.