public class Coverage extends java.lang.Object implements VariableSimpleIF, IsMissingEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected CoverageReader |
reader |
protected java.lang.Object |
user |
| Constructor and Description |
|---|
Coverage(Coverage from,
CoverageCoordSys coordSysSubset) |
Coverage(java.lang.String name,
DataType dataType,
java.lang.Iterable<Attribute> atts,
java.lang.String coordSysName,
java.lang.String units,
java.lang.String description,
CoverageReader reader,
java.lang.Object user) |
| Modifier and Type | Method and Description |
|---|---|
AttributeContainer |
attributes()
Attributes for the variable.
|
int |
compareTo(VariableSimpleIF o) |
Attribute |
findAttributeIgnoreCase(java.lang.String name)
find the attribute for the variable with the given name, ignoring case.
|
java.util.List<Attribute> |
getAttributes()
Attributes for the variable.
|
CoverageCoordSys |
getCoordSys() |
java.lang.String |
getCoordSysName() |
DataType |
getDataType()
Variable's data type
|
java.lang.String |
getDescription()
description of the Variable
|
java.util.List<Dimension> |
getDimensions()
Dimension List.
|
java.lang.String |
getFullName()
full, backslash escaped name of the data Variable
|
java.lang.String |
getIndependentAxisNamesOrdered() |
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
|
long |
getSizeInBytes() |
java.lang.String |
getUnitsString()
Units of the Variable.
|
java.lang.Object |
getUserObject() |
boolean |
hasMissing()
true if there may be missing data
|
boolean |
isMissing(double val)
if val is a missing data value
|
GeoReferencedArray |
readData(SubsetParams subset) |
java.lang.String |
toString() |
void |
toString(java.util.Formatter f,
Indent indent) |
protected final CoverageReader reader
protected final java.lang.Object user
public Coverage(java.lang.String name,
DataType dataType,
java.lang.Iterable<Attribute> atts,
java.lang.String coordSysName,
java.lang.String units,
java.lang.String description,
CoverageReader reader,
java.lang.Object user)
public Coverage(Coverage from, CoverageCoordSys coordSysSubset)
public java.lang.String getName()
VariableSimpleIFgetName in interface VariableSimpleIFpublic DataType getDataType()
VariableSimpleIFgetDataType in interface VariableSimpleIFpublic AttributeContainer attributes()
VariableSimpleIFattributes 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 getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFpublic java.lang.String getDescription()
VariableSimpleIFgetDescription in interface VariableSimpleIFpublic java.lang.String getCoordSysName()
public java.lang.Object getUserObject()
public java.lang.String toString()
toString in class java.lang.Objectpublic void toString(java.util.Formatter f,
Indent indent)
@Nonnull public CoverageCoordSys getCoordSys()
public long getSizeInBytes()
public java.lang.String getIndependentAxisNamesOrdered()
public boolean hasMissing()
IsMissingEvaluatorhasMissing in interface IsMissingEvaluatorpublic boolean isMissing(double val)
IsMissingEvaluatorisMissing in interface IsMissingEvaluatorval - test this valuepublic GeoReferencedArray readData(SubsetParams subset) throws java.io.IOException, InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionpublic java.lang.String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFpublic java.lang.String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFpublic int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFpublic java.util.List<Dimension> getDimensions()
VariableSimpleIFgetDimensions in interface VariableSimpleIFpublic int compareTo(@Nonnull
VariableSimpleIF o)
compareTo in interface java.lang.Comparable<VariableSimpleIF>