ucar.nc2.iosp.grib
Class Grib2ServiceProvider

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

Deprecated.

public class Grib2ServiceProvider
extends GribServiceProvider

Grib2 iosp.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.iosp.grib.GribServiceProvider
GribServiceProvider.IndexExtendMode
 
Field Summary
 
Fields inherited from class ucar.nc2.iosp.grib.GribServiceProvider
addLatLon, extendMode, fmrcCoordSys, forceNewIndex, ncfile, syncMode, useMaximalCoordSys
 
Fields inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
raf
 
Constructor Summary
Grib2ServiceProvider()
          Deprecated.  
 
Method Summary
protected  float[] _readData(long GdsOffset, long PdsOffset, int decimalScale, boolean bmsExists)
          Deprecated.  
 java.lang.String getFileTypeDescription()
          Deprecated. Get a human-readable description for this file type.
 java.lang.String getFileTypeId()
          Deprecated. Get a unique id for this file type.
 boolean isValidFile(RandomAccessFile raf)
          Deprecated. Check if this is a valid file for this IOServiceProvider.
protected  void open(ucar.grib.Index index, CancelTask cancelTask)
          Deprecated.  
 
Methods inherited from class ucar.nc2.iosp.grib.GribServiceProvider
getDetailInfo, getIndex, isMissingXY, open, readData, readLevel, readXY, sendIospMessage, setDebugFlags, setExtendIndex, setIndexAlwaysInCache, setIndexExtendMode, setIndexSyncMode, sync, toStringDebug, useMaximalCoordSys
 
Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
close, copyToByteChannel, createValidNetcdfObjectName, getFileTypeVersion, getStructureIterator, readSection, readToByteChannel, syncExtend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib2ServiceProvider

public Grib2ServiceProvider()
Deprecated. 
Method Detail

isValidFile

public boolean isValidFile(RandomAccessFile raf)
Deprecated. 
Description copied from interface: IOServiceProvider
Check if this is a valid file for this IOServiceProvider. You must make this method thread safe, ie dont keep any state.

Parameters:
raf - RandomAccessFile
Returns:
true if valid.

getFileTypeId

public java.lang.String getFileTypeId()
Deprecated. 
Description copied from interface: IOServiceProvider
Get a unique id for this file type.

Returns:
registered id of the file type
See Also:
"http://www.unidata.ucar.edu/software/netcdf-java/formats/FileTypes.html"

getFileTypeDescription

public java.lang.String getFileTypeDescription()
Deprecated. 
Description copied from interface: IOServiceProvider
Get a human-readable description for this file type.

Returns:
description of the file type
See Also:
"http://www.unidata.ucar.edu/software/netcdf-java/formats/FileTypes.html"

open

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

_readData

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