ucar.nc2.dt.grid
Class GridAsPointDataset

java.lang.Object
  extended by ucar.nc2.dt.grid.GridAsPointDataset

public class GridAsPointDataset
extends java.lang.Object

Add Point operations to a GridDataset.

Author:
caron

Nested Class Summary
 class GridAsPointDataset.Point
           
 
Constructor Summary
GridAsPointDataset(java.util.List<GridDatatype> grids)
           
 
Method Summary
 java.util.List<java.util.Date> getDates()
           
 double getMissingValue(GridDatatype grid)
           
 boolean hasTime(GridDatatype grid, java.util.Date date)
           
 boolean hasVert(GridDatatype grid, double zCoord)
           
 GridAsPointDataset.Point readData(GridDatatype grid, java.util.Date date, double lat, double lon)
           
 GridAsPointDataset.Point readData(GridDatatype grid, java.util.Date date, double zCoord, double lat, double lon)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridAsPointDataset

public GridAsPointDataset(java.util.List<GridDatatype> grids)
Method Detail

getDates

public java.util.List<java.util.Date> getDates()

hasTime

public boolean hasTime(GridDatatype grid,
                       java.util.Date date)

getMissingValue

public double getMissingValue(GridDatatype grid)

readData

public GridAsPointDataset.Point readData(GridDatatype grid,
                                         java.util.Date date,
                                         double lat,
                                         double lon)
                                  throws java.io.IOException
Throws:
java.io.IOException

hasVert

public boolean hasVert(GridDatatype grid,
                       double zCoord)

readData

public GridAsPointDataset.Point readData(GridDatatype grid,
                                         java.util.Date date,
                                         double zCoord,
                                         double lat,
                                         double lon)
                                  throws java.io.IOException
Throws:
java.io.IOException