Class ThreddsMetadata.GeospatialCoverage

  • Enclosing class:
    ThreddsMetadata

    public static class ThreddsMetadata.GeospatialCoverage
    extends Object
    Implements GeospatialCoverage type.
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • getZPositive

        public String getZPositive()
        Returns:
        "up" or "down"
      • setZPositive

        public void setZPositive​(String positive)
      • getZPositiveUp

        public boolean getZPositiveUp()
        Returns:
        true or false
      • setZPositiveUp

        public void setZPositiveUp​(boolean positive)
      • isValid

        public boolean isValid()
      • isGlobal

        public boolean isGlobal()
        Returns:
        true if coverage is Global
      • setGlobal

        public void setGlobal​(boolean isGlobal)
        Set isGlobal
        Parameters:
        isGlobal - true if global coverage
      • getLatStart

        public double getLatStart()
        Returns:
        starting latitude, or Double.NaN if not valie
      • setLatStart

        public void setLatStart​(double start)
        Set starting latitude
        Parameters:
        start - starting latitude, decimal degrees north
      • getLatExtent

        public double getLatExtent()
        Returns:
        latitude extent - may be positive or negetive
      • setLatExtent

        public void setLatExtent​(double size)
        Set latitude extent
        Parameters:
        size - latitude extent, decimal degrees north
      • getLatResolution

        public double getLatResolution()
        Returns:
        latitude resolution: 0.0 or NaN means not set.
      • setLatResolution

        public void setLatResolution​(double resolution)
        Set latitude resolution
        Parameters:
        resolution - latitude resolution, decimal degrees north
      • getLatUnits

        public String getLatUnits()
        Returns:
        latitude units
      • setLatUnits

        public void setLatUnits​(String units)
        Set latitude units
        Parameters:
        units - set units
      • getLatNorth

        public double getLatNorth()
      • getLatSouth

        public double getLatSouth()
      • getLonStart

        public double getLonStart()
        Returns:
        starting longitude
      • setLonStart

        public void setLonStart​(double start)
        Set starting longitude
        Parameters:
        start - starting longitude
      • getLonExtent

        public double getLonExtent()
        Returns:
        longitude extent - may be positive or negetive
      • setLonExtent

        public void setLonExtent​(double size)
        Set longitude extent
        Parameters:
        size - longitude extent
      • getLonResolution

        public double getLonResolution()
        Returns:
        longitude resolution: 0.0 or NaN means not set.
      • setLonResolution

        public void setLonResolution​(double resolution)
        Set longitude resolution
        Parameters:
        resolution - longitude resolution
      • getLonUnits

        public String getLonUnits()
        Returns:
        longitude units
      • setLonUnits

        public void setLonUnits​(String units)
        Set longitude units
        Parameters:
        units - longitude units
      • getLonEast

        public double getLonEast()
      • getLonWest

        public double getLonWest()
      • getHeightStart

        public double getHeightStart()
        Returns:
        starting height
      • setHeightStart

        public void setHeightStart​(double start)
        Set starting height
        Parameters:
        start - starting height
      • getHeightExtent

        public double getHeightExtent()
        Returns:
        height extent - may be positive or negetive
      • setHeightExtent

        public void setHeightExtent​(double size)
        Set height extent
        Parameters:
        size - height extent
      • getHeightResolution

        public double getHeightResolution()
        Returns:
        height resolution: 0.0 or NaN means not set.
      • setHeightResolution

        public void setHeightResolution​(double resolution)
        Set height resolution
        Parameters:
        resolution - height resolution
      • getHeightUnits

        public String getHeightUnits()
        Returns:
        height units
      • setHeightUnits

        public void setHeightUnits​(String units)
        Set height units
        Parameters:
        units - height units
      • getBoundingBox

        public LatLonRect getBoundingBox()
      • setBoundingBox

        public void setBoundingBox​(LatLonRect bb)
      • setVertical

        public void setVertical​(double start,
                                double end,
                                double resolution,
                                String units,
                                boolean isPositiveUp)
      • hashCode

        public int hashCode()
        Override Object.hashCode() to implement equals.
        Overrides:
        hashCode in class Object