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()
VariableSimpleIF
getName
in interface VariableSimpleIF
public DataType getDataType()
VariableSimpleIF
getDataType
in interface VariableSimpleIF
public List<Attribute> getAttributes()
VariableSimpleIF
getAttributes
in interface VariableSimpleIF
public Attribute findAttributeIgnoreCase(String name)
VariableSimpleIF
findAttributeIgnoreCase
in interface VariableSimpleIF
name
- attribute namepublic String getUnitsString()
VariableSimpleIF
getUnitsString
in interface VariableSimpleIF
public String getDescription()
VariableSimpleIF
getDescription
in interface VariableSimpleIF
public String getCoordSysName()
public Object getUserObject()
@Nonnull public CoverageCoordSys getCoordSys()
public long getSizeInBytes()
public String getIndependentAxisNamesOrdered()
public boolean hasMissing()
IsMissingEvaluator
hasMissing
in interface IsMissingEvaluator
public boolean isMissing(double val)
IsMissingEvaluator
isMissing
in interface IsMissingEvaluator
val
- test this valuepublic GeoReferencedArray readData(SubsetParams subset) throws IOException, InvalidRangeException
IOException
InvalidRangeException
public String getFullName()
VariableSimpleIF
getFullName
in interface VariableSimpleIF
public String getShortName()
VariableSimpleIF
getShortName
in interface VariableSimpleIF
public int getRank()
VariableSimpleIF
getRank
in interface VariableSimpleIF
public int[] getShape()
VariableSimpleIF
getShape
in interface VariableSimpleIF
public List<Dimension> getDimensions()
VariableSimpleIF
getDimensions
in interface VariableSimpleIF
public int compareTo(@Nonnull VariableSimpleIF o)
compareTo
in interface Comparable<VariableSimpleIF>