ucar.grib
Class GribChecker

java.lang.Object
  extended by ucar.grib.GribChecker

public final class GribChecker
extends java.lang.Object

Used to check the edition number of a Grib file.

Version:
1.0
Author:
Robb Kambic 9/15/04

Constructor Summary
GribChecker()
           
 
Method Summary
static int getEdition(ucar.unidata.io.RandomAccessFile raf)
          Returns the edition number of Grib file (1 or 2) or 0 not a Grib File.
static void main(java.lang.String[] args)
          Checks a Grib file for edition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GribChecker

public GribChecker()
Method Detail

main

public static void main(java.lang.String[] args)
Checks a Grib file for edition.

Parameters:
args - Gribfile

getEdition

public static int getEdition(ucar.unidata.io.RandomAccessFile raf)
Returns the edition number of Grib file (1 or 2) or 0 not a Grib File.

Parameters:
raf -
Returns:
edition