ucar.nc2
Interface NetcdfFileFactory


public interface NetcdfFileFactory

A factory for opening a NetcdfFile. Used by NetcdfFileCache, NCML, etc.

Author:
caron

Method Summary
 NetcdfFile open(java.lang.String location, int buffer_size, CancelTask cancelTask, java.lang.Object spiObject)
          Open a NetcdfFile.
 

Method Detail

open

NetcdfFile open(java.lang.String location,
                int buffer_size,
                CancelTask cancelTask,
                java.lang.Object spiObject)
                throws java.io.IOException
Open a NetcdfFile.

Parameters:
location - location of the NetcdfFile
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 NetcdfFile
Throws:
java.io.IOException - on error