@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,
AttributeContainerHelper 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) |
protected final CoverageReader reader
protected final HorizCoordSys hcs
public CoverageCollection(java.lang.String name,
FeatureType coverageType,
AttributeContainerHelper 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 - coverageType - atts - latLonBoundingBox - if null, calculateprojBoundingBox - if null, calculatecalendarDateRange - need this to get the CalendarcoordSys - coordTransforms - coordAxes - coverages - reader - public java.lang.String getName()
public java.util.List<Attribute> getGlobalAttributes()
public java.lang.String findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
public Attribute findAttribute(java.lang.String attName)
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 CoverageCoordAxis1D getRuntimeCoordinateMax()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 CoordSysContainerpublic CoverageTransform findCoordTransform(java.lang.String name)
findCoordTransform in interface CoordSysContainerpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException