@Immutable public class CoverageCollection extends java.lang.Object implements java.io.Closeable, CoordSysContainer
Modifier and Type | Field and Description |
---|---|
protected HorizCoordSys |
hcs |
protected CoverageReader |
reader |
Constructor and Description |
---|
CoverageCollection(java.lang.String name,
FeatureType coverageType,
AttributeContainer atts,
LatLonRect latLonBoundingBox,
ProjectionRect projBoundingBox,
CalendarDateRange calendarDateRange,
java.util.List<CoverageCoordSys> coordSys,
java.util.List<CoverageTransform> coordTransforms,
java.util.List<CoverageCoordAxis> coordAxes,
java.util.List<Coverage> coverages,
CoverageReader reader)
Ctor
|
Modifier and Type | Method and Description |
---|---|
AttributeContainer |
attributes()
Get the global attributes.
|
void |
close() |
Attribute |
findAttribute(java.lang.String attName)
Deprecated.
use attributes()
|
Attribute |
findAttributeIgnoreCase(java.lang.String attName)
Deprecated.
use attributes()
|
java.lang.String |
findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
Deprecated.
use attributes()
|
CoverageCoordAxis |
findCoordAxis(java.lang.String name) |
CoverageCoordSys |
findCoordSys(java.lang.String name) |
CoverageTransform |
findCoordTransform(java.lang.String name) |
Coverage |
findCoverage(java.lang.String name) |
Coverage |
findCoverageByAttribute(java.lang.String attName,
java.lang.String attValue) |
Calendar |
getCalendar() |
CalendarDateRange |
getCalendarDateRange() |
java.util.List<CoverageCoordAxis> |
getCoordAxes() |
java.util.List<CoverageCoordSys> |
getCoordSys() |
java.util.List<CoverageTransform> |
getCoordTransforms() |
int |
getCoverageCount() |
java.lang.Iterable<Coverage> |
getCoverages() |
java.util.List<CoordSysSet> |
getCoverageSets() |
FeatureType |
getCoverageType() |
java.util.List<Attribute> |
getGlobalAttributes()
Deprecated.
use attributes()
|
HorizCoordSys |
getHorizCoordSys() |
LatLonRect |
getLatlonBoundingBox() |
java.lang.String |
getName() |
ProjectionRect |
getProjBoundingBox() |
CoverageReader |
getReader() |
java.lang.String |
toString() |
void |
toString(java.util.Formatter f) |
protected final CoverageReader reader
protected final HorizCoordSys hcs
public CoverageCollection(java.lang.String name, FeatureType coverageType, AttributeContainer atts, LatLonRect latLonBoundingBox, ProjectionRect projBoundingBox, CalendarDateRange calendarDateRange, java.util.List<CoverageCoordSys> coordSys, java.util.List<CoverageTransform> coordTransforms, java.util.List<CoverageCoordAxis> coordAxes, java.util.List<Coverage> coverages, CoverageReader reader)
name
- CoverageCollection namecoverageType
- CoverageCollection typeatts
- CoverageCollection attributeslatLonBoundingBox
- if null, calculateprojBoundingBox
- if null, calculatecalendarDateRange
- need this to get the CalendarcoordSys
- list of coordinate systemscoordTransforms
- list of coordinate transformscoordAxes
- list of coordinate axescoverages
- list of coveragesreader
- delegate for readingpublic java.lang.String getName()
public AttributeContainer attributes()
@Deprecated public java.util.List<Attribute> getGlobalAttributes()
@Deprecated public java.lang.String findAttValueIgnoreCase(java.lang.String attName, java.lang.String defaultValue)
@Deprecated public Attribute findAttribute(java.lang.String attName)
@Deprecated public Attribute findAttributeIgnoreCase(java.lang.String attName)
public LatLonRect getLatlonBoundingBox()
public ProjectionRect getProjBoundingBox()
public CalendarDateRange getCalendarDateRange()
public Calendar getCalendar()
public java.lang.Iterable<Coverage> getCoverages()
public int getCoverageCount()
public FeatureType getCoverageType()
public java.util.List<CoordSysSet> getCoverageSets()
public java.util.List<CoverageCoordSys> getCoordSys()
public java.util.List<CoverageTransform> getCoordTransforms()
public java.util.List<CoverageCoordAxis> getCoordAxes()
public HorizCoordSys getHorizCoordSys()
public CoverageReader getReader()
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.util.Formatter f)
public Coverage findCoverage(java.lang.String name)
public Coverage findCoverageByAttribute(java.lang.String attName, java.lang.String attValue)
public CoverageCoordSys findCoordSys(java.lang.String name)
public CoverageCoordAxis findCoordAxis(java.lang.String name)
findCoordAxis
in interface CoordSysContainer
public CoverageTransform findCoordTransform(java.lang.String name)
findCoordTransform
in interface CoordSysContainer
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException