public class McIDASGridServiceProvider extends GridServiceProvider
GridServiceProvider.IndexExtendMode| Modifier and Type | Field and Description |
|---|---|
protected McIDASGridReader |
mcGridReader
McIDAS file reader
|
addLatLon, alwaysInCache, debugMissing, debugMissingDetails, debugOpen, debugProj, debugTiming, debugVert, forceNewIndex, indexFileModeOnOpen, indexFileModeOnSync| Constructor and Description |
|---|
McIDASGridServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected float[] |
_readData(GridRecord gr)
Read the data for this GridRecord
|
String |
getFileTypeDescription()
Get the file type description
|
String |
getFileTypeId()
Get the file type id
|
boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf)
Is this a valid file?
|
protected void |
open(GridIndex index,
ucar.nc2.util.CancelTask cancelTask)
Open the index and create the netCDF file from that
|
void |
open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
Open the service provider for reading.
|
boolean |
sync()
Sync and extend
|
forceNewIndex, isMissingXY, readData, setDebugFlags, setExtendIndex, setIndexAlwaysInCache, setIndexFileModeOnOpen, setIndexFileModeOnSyncbuild, buildFinish, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugprotected McIDASGridReader mcGridReader
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
throws IOException
raf - RandomAccessFile to checkIOException - problem reading filepublic String getFileTypeId()
public String getFileTypeDescription()
public void open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
throws IOException
open in interface ucar.nc2.iosp.IOServiceProvideropen in class GridServiceProviderraf - file to read fromncfile - netCDF file we are writing to (memory)cancelTask - task for cancellingIOException - problem reading fileprotected void open(GridIndex index, ucar.nc2.util.CancelTask cancelTask) throws IOException
open in class GridServiceProviderindex - GridIndex to usecancelTask - cancel taskIOException - problem reading the filepublic boolean sync()
protected float[] _readData(GridRecord gr) throws IOException
_readData in class GridServiceProvidergr - grid identifierIOException - problem reading the data