ucar.grib
Class GribChecker
java.lang.Object
ucar.grib.GribChecker
public final class GribChecker
- extends Object
Used to check the edition number of a Grib file.
- Version:
- 1.0
- Author:
- Robb Kambic 9/15/04
Method Summary |
static int |
getEdition(RandomAccessFile raf)
Returns the edition number of Grib file (1 or 2) or 0 not a Grib File. |
static void |
main(String[] args)
Checks a Grib file for edition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GribChecker
public GribChecker()
main
public static void main(String[] args)
- Checks a Grib file for edition.
- Parameters:
args
- Gribfile
getEdition
public static int getEdition(RandomAccessFile raf)
- Returns the edition number of Grib file (1 or 2) or 0 not a Grib File.
- Parameters:
raf
-
- Returns:
- edition
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.