ucar.nc2.dt.point
Class SequenceHelper

java.lang.Object
  extended by ucar.nc2.dt.point.SequenceHelper

public class SequenceHelper
extends Object

Helper class for dods sequence datasets.

Version:
$Revision: 51 $ $Date: 2006-07-12 17:13:13Z $
Author:
caron

Nested Class Summary
 class SequenceHelper.SeqPointObs
           
 
Field Summary
protected  Variable altVar
           
protected  DODSNetcdfFile dodsFile
           
protected  DateFormatter formatter
           
protected  boolean isProfile
           
protected  Variable latVar
           
protected  Variable lonVar
           
protected  NetcdfFile ncfile
           
protected  StructureDS sequenceInner
           
protected  StructureDS sequenceOuter
           
protected  DateUnit timeUnit
           
protected  Variable timeVar
           
 
Constructor Summary
SequenceHelper(NetcdfDataset ncfile, boolean isProfile, StructureDS sequenceOuter, StructureDS sequenceInner, Variable latVar, Variable lonVar, Variable altVar, Variable timeVar, List typedDataVariables, StringBuffer errBuffer)
          Constructor.
 
Method Summary
 List getData(CancelTask cancel)
           
 List getData(LatLonRect boundingBox, CancelTask cancel)
           
 List getData(LatLonRect boundingBox, Date start, Date end, CancelTask cancel)
           
 DataIterator getDataIterator(int bufferSize)
           
 DateUnit getTimeUnit()
           
 void setTimeUnit(DateUnit timeUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ncfile

protected NetcdfFile ncfile

dodsFile

protected DODSNetcdfFile dodsFile

sequenceOuter

protected StructureDS sequenceOuter

sequenceInner

protected StructureDS sequenceInner

latVar

protected Variable latVar

lonVar

protected Variable lonVar

altVar

protected Variable altVar

timeVar

protected Variable timeVar

isProfile

protected boolean isProfile

timeUnit

protected DateUnit timeUnit

formatter

protected DateFormatter formatter
Constructor Detail

SequenceHelper

public SequenceHelper(NetcdfDataset ncfile,
                      boolean isProfile,
                      StructureDS sequenceOuter,
                      StructureDS sequenceInner,
                      Variable latVar,
                      Variable lonVar,
                      Variable altVar,
                      Variable timeVar,
                      List typedDataVariables,
                      StringBuffer errBuffer)
Constructor.

Parameters:
ncfile - the netccdf file
typedDataVariables - list of data variables; all record variables will be added to this list, except . You can remove extra
Throws:
IllegalArgumentException - if ncfile has no unlimited dimension and recDimName is null.
Method Detail

setTimeUnit

public void setTimeUnit(DateUnit timeUnit)

getTimeUnit

public DateUnit getTimeUnit()

getData

public List getData(CancelTask cancel)
             throws IOException
Throws:
IOException

getData

public List getData(LatLonRect boundingBox,
                    CancelTask cancel)
             throws IOException
Throws:
IOException

getData

public List getData(LatLonRect boundingBox,
                    Date start,
                    Date end,
                    CancelTask cancel)
             throws IOException
Throws:
IOException

getDataIterator

public DataIterator getDataIterator(int bufferSize)
                             throws IOException
Throws:
IOException


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