@Immutable public class CoverageCollection extends Object implements Closeable, CoordSysContainer
Modifier and Type | Field and Description |
---|---|
protected HorizCoordSys |
hcs |
protected CoverageReader |
reader |
Constructor and Description |
---|
CoverageCollection(String name,
FeatureType coverageType,
AttributeContainerHelper atts,
LatLonRect latLonBoundingBox,
ProjectionRect projBoundingBox,
CalendarDateRange calendarDateRange,
List<CoverageCoordSys> coordSys,
List<CoverageTransform> coordTransforms,
List<CoverageCoordAxis> coordAxes,
List<Coverage> coverages,
CoverageReader reader) |
protected final CoverageReader reader
protected final HorizCoordSys hcs
public CoverageCollection(String name, FeatureType coverageType, AttributeContainerHelper atts, LatLonRect latLonBoundingBox, ProjectionRect projBoundingBox, CalendarDateRange calendarDateRange, List<CoverageCoordSys> coordSys, List<CoverageTransform> coordTransforms, List<CoverageCoordAxis> coordAxes, 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 String getName()
public LatLonRect getLatlonBoundingBox()
public ProjectionRect getProjBoundingBox()
public CalendarDateRange getCalendarDateRange()
public Calendar getCalendar()
public int getCoverageCount()
public FeatureType getCoverageType()
public List<CoordSysSet> getCoverageSets()
public List<CoverageCoordSys> getCoordSys()
public List<CoverageTransform> getCoordTransforms()
public List<CoverageCoordAxis> getCoordAxes()
public HorizCoordSys getHorizCoordSys()
public CoverageReader getReader()
public void toString(Formatter f)
public CoverageCoordSys findCoordSys(String name)
public CoverageCoordAxis findCoordAxis(String name)
findCoordAxis
in interface CoordSysContainer
public CoverageTransform findCoordTransform(String name)
findCoordTransform
in interface CoordSysContainer
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException