ucar.nc2.dt
Class StationImpl

java.lang.Object
  extended by ucar.unidata.geoloc.EarthLocationImpl
      extended by ucar.unidata.geoloc.StationImpl
          extended by ucar.nc2.dt.StationImpl
All Implemented Interfaces:
java.lang.Comparable<Station>, EarthLocation, Station

public class StationImpl
extends StationImpl

Implementation of Station

Author:
caron

Constructor Summary
StationImpl()
           
StationImpl(java.lang.String name, java.lang.String desc, double lat, double lon, double alt)
           
StationImpl(java.lang.String name, java.lang.String desc, double lat, double lon, double alt, int count)
           
 
Method Summary
 void addObs(StationObsDatatype sobs)
           
 int getNumObservations()
           
 java.util.List getObservations()
           
 void incrCount()
           
 
Methods inherited from class ucar.unidata.geoloc.StationImpl
compareTo, getDescription, getName, getWmoId, toString
 
Methods inherited from class ucar.unidata.geoloc.EarthLocationImpl
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ucar.unidata.geoloc.EarthLocation
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
 

Constructor Detail

StationImpl

public StationImpl()

StationImpl

public StationImpl(java.lang.String name,
                   java.lang.String desc,
                   double lat,
                   double lon,
                   double alt)

StationImpl

public StationImpl(java.lang.String name,
                   java.lang.String desc,
                   double lat,
                   double lon,
                   double alt,
                   int count)
Method Detail

getNumObservations

public int getNumObservations()

incrCount

public void incrCount()

getObservations

public java.util.List getObservations()
                               throws java.io.IOException
Throws:
java.io.IOException

addObs

public void addObs(StationObsDatatype sobs)