ucar.nc2.dataset
Interface NetcdfDatasetFactory


public interface NetcdfDatasetFactory

A factory for opening a NetcdfDataset.

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

Method Summary
 NetcdfDataset openDataset(java.lang.String location, int buffer_size, CancelTask cancelTask, java.lang.Object spiObject)
          Open the NetcdfDataset.
 

Method Detail

openDataset

NetcdfDataset openDataset(java.lang.String location,
                          int buffer_size,
                          CancelTask cancelTask,
                          java.lang.Object spiObject)
                          throws java.io.IOException
Open the NetcdfDataset.

Parameters:
location - location of the dataset
buffer_size - RandomAccessFile buffer size, if <= 0, use default size
cancelTask - allow task to be cancelled; may be null.
spiObject - sent to iosp.setSpecial() if not null
Returns:
a valid NetcdfDataset
Throws:
java.io.IOException - on error