thredds.wcs
Class GridWriter

java.lang.Object
  extended by thredds.wcs.GridWriter

public class GridWriter
extends java.lang.Object

Not used.

Version:
$Revision:63 $ $Date:2006-07-12 21:50:51Z $
Author:
caron

Constructor Summary
GridWriter()
           
 
Method Summary
static void main(java.lang.String[] arg)
           
static NetcdfFile writeToFile(GridDatatype grid, java.lang.String fileOutName, int timeIdx)
          Wrie a Grid to a physical file, using Netcdf-3 file format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridWriter

public GridWriter()
Method Detail

writeToFile

public static NetcdfFile writeToFile(GridDatatype grid,
                                     java.lang.String fileOutName,
                                     int timeIdx)
                              throws java.io.IOException
Wrie a Grid to a physical file, using Netcdf-3 file format.

Parameters:
grid - write this grid
fileOutName - write to this local file
timeIdx - which time index ?
Returns:
NetcdfFile that was written. It remains open for reading or writing.
Throws:
java.io.IOException

main

public static void main(java.lang.String[] arg)
                 throws java.net.MalformedURLException,
                        java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException