Class VariableAdapter.UnidataSpatialDomain

    • Constructor Detail

      • UnidataSpatialDomain

        public UnidataSpatialDomain()
    • Method Detail

      • setReferencedEnvelope

        public void setReferencedEnvelope​(ReferencedEnvelope referencedEnvelope)
      • getFullResolution

        public double[] getFullResolution()
      • setGridGeometry

        public void setGridGeometry​(GridGeometry2D gridGeometry)
      • setCoordinateReferenceSystem

        public void setCoordinateReferenceSystem​(CoordinateReferenceSystem coordinateReferenceSystem)
      • getSpatialElements

        public Set<? extends BoundingBox> getSpatialElements​(boolean overall,
                                                             ProgressListener listener)
                                                      throws IOException
        Description copied from class: CoverageSource.SpatialDomain
        The first BoundingBox of this List should contain the overall bounding for the underlying coverage in its native coordinate reference system. However, by setting the global param to false we can request additional bounding boxes in case the area covered by the mentioned coverage is poorly approximated by a single coverage, like it could happen for a mosaic which has some holes.
        Specified by:
        getSpatialElements in class CoverageSource.SpatialDomain
        Throws:
        IOException
      • getRasterElements

        public Set<? extends RasterLayout> getRasterElements​(boolean overall,
                                                             ProgressListener listener)
                                                      throws IOException
        Description copied from class: CoverageSource.SpatialDomain
        The first Rectangle should describe the overall bidimensional raster range for the underlying coverage. However, by setting the overall param to true we can request additional raster ranges in case the area covered by the mentioned coverage is poorly approximated by a single Rectangle, like it could happen for a mosaic which has some holes.
        Specified by:
        getRasterElements in class CoverageSource.SpatialDomain
        Throws:
        IOException