ucar.nc2.iosp.grib
Class Grib1ServiceProvider

java.lang.Object
  extended by ucar.nc2.iosp.grib.GribServiceProvider
      extended by ucar.nc2.iosp.grib.Grib1ServiceProvider
All Implemented Interfaces:
IOServiceProvider

public class Grib1ServiceProvider
extends GribServiceProvider

Grib1 iosp.

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

Field Summary
 
Fields inherited from class ucar.nc2.iosp.grib.GribServiceProvider
addLatLon, extendIndex, fmrcCoordSys, forceNewIndex, ncfile, parseInfo, raf, useMaximalCoordSys
 
Constructor Summary
Grib1ServiceProvider()
           
 
Method Summary
protected  float[] _readData(long dataOffset1, long dataOffset2, int decimalScale, boolean bmsExists)
           
 boolean isValidFile(RandomAccessFile raf)
          Check if this is a valid file for this IOServiceProvider.
protected  void open(ucar.grib.Index index, CancelTask cancelTask)
           
 
Methods inherited from class ucar.nc2.iosp.grib.GribServiceProvider
close, getDetailInfo, getIndex, isMissingXY, open, readData, readLevel, readNestedData, readXY, setDebugFlags, setExtendIndex, setIndexAlwaysInCache, setSpecial, sync, syncExtend, toStringDebug, useMaximalCoordSys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1ServiceProvider

public Grib1ServiceProvider()
Method Detail

isValidFile

public boolean isValidFile(RandomAccessFile raf)
Description copied from interface: IOServiceProvider
Check if this is a valid file for this IOServiceProvider.

Parameters:
raf - RandomAccessFile
Returns:
true if valid.

open

protected void open(ucar.grib.Index index,
                    CancelTask cancelTask)
             throws java.io.IOException
Specified by:
open in class GribServiceProvider
Throws:
java.io.IOException

_readData

protected float[] _readData(long dataOffset1,
                            long dataOffset2,
                            int decimalScale,
                            boolean bmsExists)
                     throws java.io.IOException
Specified by:
_readData in class GribServiceProvider
Throws:
java.io.IOException