thredds.catalog
Class ThreddsMetadata.GeospatialCoverage

java.lang.Object
  extended by thredds.catalog.ThreddsMetadata.GeospatialCoverage
Enclosing class:
ThreddsMetadata

public static class ThreddsMetadata.GeospatialCoverage
extends Object

Implements GeospatialCoverage type.


Constructor Summary
ThreddsMetadata.GeospatialCoverage()
           
ThreddsMetadata.GeospatialCoverage(ThreddsMetadata.Range eastwest, ThreddsMetadata.Range northsouth, ThreddsMetadata.Range updown, List<ThreddsMetadata.Vocab> names, String zpositive)
           
 
Method Summary
 boolean equals(Object o)
           
 LatLonRect getBoundingBox()
           
 ThreddsMetadata.Range getEastWestRange()
           
 double getHeightExtent()
           
 double getHeightResolution()
           
 double getHeightStart()
           
 String getHeightUnits()
           
 double getLatExtent()
           
 double getLatNorth()
           
 double getLatResolution()
           
 double getLatSouth()
           
 double getLatStart()
           
 String getLatUnits()
           
 double getLonEast()
           
 double getLonExtent()
           
 double getLonResolution()
           
 double getLonStart()
           
 String getLonUnits()
           
 double getLonWest()
           
 List<ThreddsMetadata.Vocab> getNames()
           
 ThreddsMetadata.Range getNorthSouthRange()
           
 ThreddsMetadata.Range getUpDownRange()
           
 String getZPositive()
           
 boolean getZPositiveUp()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 boolean isEmpty()
           
 boolean isGlobal()
           
 boolean isValid()
           
 void setBoundingBox(LatLonRect bb)
           
 void setGlobal(boolean isGlobal)
          Set isGlobal
 void setHeightExtent(double size)
          Set height extent
 void setHeightResolution(double resolution)
          Set height resolution
 void setHeightStart(double start)
          Set starting height
 void setHeightUnits(String units)
          Set height units
 void setLatExtent(double size)
          Set latitude extent
 void setLatResolution(double resolution)
          Set latitude resolution
 void setLatStart(double start)
          Set starting latitude
 void setLatUnits(String units)
          Set latitude units
 void setLonExtent(double size)
          Set longitude extent
 void setLonResolution(double resolution)
          Set longitude resolution
 void setLonStart(double start)
          Set starting longitude
 void setLonUnits(String units)
          Set longitude units
 void setVertical(CoordinateAxis1D vaxis)
           
 void setZPositive(String positive)
           
 void setZPositiveUp(boolean positive)
           
 void toXML(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreddsMetadata.GeospatialCoverage

public ThreddsMetadata.GeospatialCoverage()

ThreddsMetadata.GeospatialCoverage

public ThreddsMetadata.GeospatialCoverage(ThreddsMetadata.Range eastwest,
                                          ThreddsMetadata.Range northsouth,
                                          ThreddsMetadata.Range updown,
                                          List<ThreddsMetadata.Vocab> names,
                                          String zpositive)
Method Detail

isEmpty

public boolean isEmpty()

getEastWestRange

public ThreddsMetadata.Range getEastWestRange()

getNorthSouthRange

public ThreddsMetadata.Range getNorthSouthRange()

getUpDownRange

public ThreddsMetadata.Range getUpDownRange()

getNames

public List<ThreddsMetadata.Vocab> getNames()

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(CoordinateAxis1D vaxis)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class Object

toXML

public void toXML(OutputStream out)
           throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.