public class Coverage extends Object implements VariableSimpleIF, IsMissingEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected CoverageReader |
reader |
protected Object |
user |
| Constructor and Description |
|---|
Coverage(Coverage from,
CoverageCoordSys coordSysSubset) |
Coverage(String name,
DataType dataType,
List<Attribute> atts,
String coordSysName,
String units,
String description,
CoverageReader reader,
Object user) |
| 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.
|
List<Attribute> |
getAttributes()
Attributes for the variable.
|
CoverageCoordSys |
getCoordSys() |
String |
getCoordSysName() |
DataType |
getDataType()
Variable's data type
|
String |
getDescription()
description of the Variable
|
List<Dimension> |
getDimensions()
Dimension List.
|
String |
getFullName()
full, backslash escaped name of the data Variable
|
String |
getIndependentAxisNamesOrdered() |
String |
getName()
Name of the data Variable.
|
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
String |
getShortName()
short name of the data Variable
|
long |
getSizeInBytes() |
String |
getUnitsString()
Units of the Variable.
|
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) |
String |
toString() |
void |
toString(Formatter f,
Indent indent) |
protected final CoverageReader reader
protected final Object user
public Coverage(String name, DataType dataType, List<Attribute> atts, String coordSysName, String units, String description, CoverageReader reader, Object user)
public Coverage(Coverage from, CoverageCoordSys coordSysSubset)
public String getName()
VariableSimpleIFgetName 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 getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFpublic String getDescription()
VariableSimpleIFgetDescription in interface VariableSimpleIFpublic String getCoordSysName()
public Object getUserObject()
@Nonnull public CoverageCoordSys getCoordSys()
public long getSizeInBytes()
public 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 IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFpublic String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFpublic int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFpublic List<Dimension> getDimensions()
VariableSimpleIFgetDimensions in interface VariableSimpleIFpublic int compareTo(@Nonnull VariableSimpleIF o)
compareTo in interface Comparable<VariableSimpleIF>