public class CoverageCSImpl extends java.lang.Object implements CoverageCS
CoverageCS.Subset, CoverageCS.Type| Modifier and Type | Field and Description |
|---|---|
protected CoordinateSystem |
cs |
protected NetcdfDataset |
ds |
protected CoverageCSFactory |
fac |
protected ProjectionRect |
mapArea |
protected ProjectionImpl |
projection |
| Modifier | Constructor and Description |
|---|---|
protected |
CoverageCSImpl(NetcdfDataset ds,
CoordinateSystem cs,
CoverageCSFactory fac) |
| Modifier and Type | Method and Description |
|---|---|
ProjectionRect |
getBoundingBox()
Get horizontal bounding box in projection coordinates.
|
CalendarDateRange |
getCalendarDateRange()
If there is a time coordinate, get the time covered.
|
java.util.List<CoordinateAxis> |
getCoordinateAxes()
Get the list of all axes.
|
java.util.List<CoordinateTransform> |
getCoordinateTransforms()
Get the list of all CoordinateTransforms.
|
java.util.List<Dimension> |
getDomain()
Get the list of dimensions used by any of the Axes in the Coordinate System.
|
LatLonRect |
getLatLonBoundingBox()
Get horizontal bounding box in lat, lon coordinates.
|
java.lang.String |
getName()
The name of the Grid Coordinate System.
|
java.util.List<CoordinateAxis> |
getOtherCoordinateAxes()
Get the list of axes that are not x,y,z,t.
|
ProjectionImpl |
getProjection()
Get the Projection that performs the transform math.
|
CoverageCS.Subset |
getSubset() |
CoordinateAxis |
getTimeAxis()
Get the Time axis, if it exists.
|
CoordinateAxis |
getVerticalAxis()
Get the Z axis.
|
VerticalCT |
getVerticalCT()
Get the Vertical CoordinateTransform, it it exists.
|
VerticalTransform |
getVerticalTransform()
Get the VerticalTransform that performs the transform math.
|
CoordinateAxis |
getXHorizAxis()
Get the X axis.
|
CoordinateAxis |
getYHorizAxis()
Get the Y axis.
|
boolean |
hasTimeAxis()
True if there is a Time Axis.
|
boolean |
isLatLon()
Does this use lat/lon horizontal axes?
If not, then the horizontal axes are GeoX, GeoY, and there must be a Projection defined.
|
boolean |
isProductSet()
True if all axes are 1 dimensional.
|
boolean |
isZPositive()
True if increasing z coordinate values means "up" in altitude
|
CoverageCS.Subset |
makeSubsetFromLatLonRect(LatLonRect llbb)
Get Index Ranges for the given lat, lon bounding box.
|
void |
show(java.util.Formatter f,
boolean showCoords)
Show information about this
|
java.lang.String |
toString() |
protected NetcdfDataset ds
protected CoordinateSystem cs
protected CoverageCSFactory fac
protected ProjectionImpl projection
protected ProjectionRect mapArea
protected CoverageCSImpl(NetcdfDataset ds, CoordinateSystem cs, CoverageCSFactory fac)
public java.lang.String getName()
CoverageCSgetName in interface CoverageCSpublic java.util.List<Dimension> getDomain()
CoverageCSgetDomain in interface CoverageCSpublic java.util.List<CoordinateAxis> getCoordinateAxes()
CoverageCSgetCoordinateAxes in interface CoverageCSpublic java.util.List<CoordinateAxis> getOtherCoordinateAxes()
CoverageCSgetOtherCoordinateAxes in interface CoverageCSpublic boolean isProductSet()
CoverageCSisProductSet in interface CoverageCSpublic java.util.List<CoordinateTransform> getCoordinateTransforms()
CoverageCSgetCoordinateTransforms in interface CoverageCSpublic CoordinateAxis getXHorizAxis()
CoverageCSgetXHorizAxis in interface CoverageCSpublic CoordinateAxis getYHorizAxis()
CoverageCSgetYHorizAxis in interface CoverageCSpublic boolean isLatLon()
CoverageCSisLatLon in interface CoverageCSpublic LatLonRect getLatLonBoundingBox()
CoverageCSgetLatLonBoundingBox in interface CoverageCSpublic ProjectionRect getBoundingBox()
CoverageCSgetBoundingBox in interface CoverageCSpublic ProjectionImpl getProjection()
CoverageCSgetProjection in interface CoverageCSpublic CoordinateAxis getVerticalAxis()
CoverageCSgetVerticalAxis in interface CoverageCSpublic boolean isZPositive()
CoverageCSisZPositive in interface CoverageCSpublic VerticalCT getVerticalCT()
CoverageCSgetVerticalCT in interface CoverageCSpublic VerticalTransform getVerticalTransform()
CoverageCSgetVerticalTransform in interface CoverageCSpublic boolean hasTimeAxis()
CoverageCShasTimeAxis in interface CoverageCSpublic CoordinateAxis getTimeAxis()
CoverageCSgetTimeAxis in interface CoverageCSpublic CalendarDateRange getCalendarDateRange()
CoverageCSgetCalendarDateRange in interface CoverageCSpublic java.lang.String toString()
toString in class java.lang.Objectpublic void show(java.util.Formatter f,
boolean showCoords)
CoverageCSshow in interface CoverageCSf - put info hereshowCoords - optionally show the coordinate valuespublic CoverageCS.Subset makeSubsetFromLatLonRect(LatLonRect llbb) throws InvalidRangeException
CoverageCSmakeSubsetFromLatLonRect in interface CoverageCSllbb - a lat/lon bounding box.InvalidRangeException - if llbb generates bad rangespublic CoverageCS.Subset getSubset()
getSubset in interface CoverageCS