ucar.nc2.dt.grid
Class GridAsPointDataset

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

public class GridAsPointDataset
extends Object

Add Point operations to a GridDataset.

Author:
caron

Nested Class Summary
 class GridAsPointDataset.Point
           
 
Constructor Summary
GridAsPointDataset(List<GridDatatype> grids)
           
 
Method Summary
 List<Date> getDates()
           
 double getMissingValue(GridDatatype grid)
           
 boolean hasTime(GridDatatype grid, Date date)
           
 boolean hasVert(GridDatatype grid, double zCoord)
           
 GridAsPointDataset.Point readData(GridDatatype grid, Date date, double lat, double lon)
           
 GridAsPointDataset.Point readData(GridDatatype grid, 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(List<GridDatatype> grids)
Method Detail

getDates

public List<Date> getDates()

hasTime

public boolean hasTime(GridDatatype grid,
                       Date date)

getMissingValue

public double getMissingValue(GridDatatype grid)

readData

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

hasVert

public boolean hasVert(GridDatatype grid,
                       double zCoord)

readData

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


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