public class GribServiceProvider extends GridServiceProvider
GridServiceProvider.IndexExtendMode| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
useMaximalCoordSys |
addLatLon, alwaysInCache, debugMissing, debugMissingDetails, debugOpen, debugProj, debugTiming, debugVert, fmrcCoordSys, forceNewIndex, indexFileModeOnOpen, indexFileModeOnSync, ncfileraf| Constructor and Description |
|---|
GribServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected float[] |
_readData(GridRecord gr) |
String |
getFileTypeDescription() |
String |
getFileTypeId() |
protected GridIndex |
getIndex(String dataLocation)
Open the index file.
|
GridTableLookup |
getLookup() |
protected GridTableLookup |
getLookup1() |
protected GridTableLookup |
getLookup2() |
boolean |
isValidFile(RandomAccessFile raf) |
protected void |
open(GridIndex index,
CancelTask cancelTask) |
void |
open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
Object |
sendIospMessage(Object special) |
boolean |
sync() |
static void |
useMaximalCoordSys(boolean b)
Set whether to use the maximal coordinate system or not
|
forceNewIndex, getDetailInfo, isMissingXY, readData, setDebugFlags, setExtendIndex, setIndexAlwaysInCache, setIndexFileModeOnOpen, setIndexFileModeOnSyncclose, getFileTypeVersion, getLastModified, getStructureIterator, readSection, readToByteChannel, readToOutputStream, streamToByteChannel, syncExtend, toStringDebugpublic static void useMaximalCoordSys(boolean b)
b - true to usepublic boolean isValidFile(RandomAccessFile raf)
public String getFileTypeId()
public String getFileTypeDescription()
public Object sendIospMessage(Object special)
sendIospMessage in interface IOServiceProvidersendIospMessage in class GridServiceProviderpublic void open(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) throws IOException
open in interface IOServiceProvideropen in class GridServiceProviderIOExceptionprotected void open(GridIndex index, CancelTask cancelTask) throws IOException
open in class GridServiceProviderIOExceptionpublic GridTableLookup getLookup() throws IOException
IOExceptionprotected GridTableLookup getLookup2() throws IOException
IOExceptionprotected GridTableLookup getLookup1() throws IOException
IOExceptionprotected GridIndex getIndex(String dataLocation) throws IOException
dataLocation - location of the file. The index file has ".gbx" appended.IOException - on io errorpublic boolean sync()
throws IOException
IOExceptionprotected float[] _readData(GridRecord gr) throws IOException
_readData in class GridServiceProviderIOExceptionCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.