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:
Comparable<Station>, EarthLocation, Station

public class StationImpl
extends StationImpl

Implementation of Station

Author:
caron

Field Summary
protected  int count
           
protected  List<StationObsDatatype> obsList
           
 
Fields inherited from class ucar.unidata.geoloc.StationImpl
desc, name, wmoId
 
Fields inherited from class ucar.unidata.geoloc.EarthLocationImpl
alt, lat, lon
 
Constructor Summary
StationImpl()
           
StationImpl(String name, String desc, double lat, double lon, double alt)
           
StationImpl(String name, String desc, double lat, double lon, double alt, int count)
           
 
Method Summary
 void addObs(StationObsDatatype sobs)
           
 int getNumObservations()
           
 List getObservations()
           
 void incrCount()
           
protected  List<StationObsDatatype> readObservations()
           
 
Methods inherited from class ucar.unidata.geoloc.StationImpl
compareTo, getDescription, getName, getWmoId, setDescription, setName, setWmoId, toString
 
Methods inherited from class ucar.unidata.geoloc.EarthLocationImpl
getAltitude, getLatitude, getLatLon, getLongitude, isMissing, setAltitude, setLatitude, setLongitude
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ucar.unidata.geoloc.EarthLocation
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
 

Field Detail

obsList

protected List<StationObsDatatype> obsList

count

protected int count
Constructor Detail

StationImpl

public StationImpl()

StationImpl

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

StationImpl

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

getNumObservations

public int getNumObservations()

incrCount

public void incrCount()

getObservations

public List getObservations()
                     throws IOException
Throws:
IOException

addObs

public void addObs(StationObsDatatype sobs)

readObservations

protected List<StationObsDatatype> readObservations()
                                             throws IOException
Throws:
IOException


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