ucar.nc2.iosp.gempak
Class GempakFileReader.DMLabel

java.lang.Object
  extended by ucar.nc2.iosp.gempak.GempakFileReader.DMLabel
Enclosing class:
GempakFileReader

protected class GempakFileReader.DMLabel
extends Object

Class to mimic the GEMPAK DMLABL common block


Field Summary
static String DMLABEL
          File identifier
 int kckeys
          # col keys
 int kcol
          # of cols
 int kfhdrs
          # file headers
 int kfsrce
          file source
 int kftype
          file type
 boolean kieeet
          ieee flags
 int kldmgt
          length of dmg rec
 int kmachn
          machine data type
 int kmissd
          int missing data values
 int kpckey
          ptr to col keys
 int kpcolh
          ptr to col headers
 int kpdata
          ptr to data
 int kpdmgt
          ptr to dmg rec
 int kpfile
          ptr to file keys
 int kppart
          # part info
 int kprkey
          ptr to row keys
 int kprowh
          ptr to row headers
 int kprt
          # of parts
 int krkeys
          # row keys
 int krow
          # of rows
 int kversn
          version number
 boolean kvmst
          swap byte flags
 double smissd
          double missing data values
 
Constructor Summary
GempakFileReader.DMLabel()
          Create a new DMLabel for the GempakFileReader
 
Method Summary
 boolean init()
          Read in all the info based on the block of integer words.
 String toString()
          Get a String representation of this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DMLABEL

public static final String DMLABEL
File identifier

See Also:
Constant Field Values

kversn

public int kversn
version number


kfhdrs

public int kfhdrs
# file headers


kpfile

public int kpfile
ptr to file keys


krow

public int krow
# of rows


krkeys

public int krkeys
# row keys


kprkey

public int kprkey
ptr to row keys


kprowh

public int kprowh
ptr to row headers


kcol

public int kcol
# of cols


kckeys

public int kckeys
# col keys


kpckey

public int kpckey
ptr to col keys


kpcolh

public int kpcolh
ptr to col headers


kprt

public int kprt
# of parts


kppart

public int kppart
# part info


kpdmgt

public int kpdmgt
ptr to dmg rec


kldmgt

public int kldmgt
length of dmg rec


kpdata

public int kpdata
ptr to data


kftype

public int kftype
file type


kfsrce

public int kfsrce
file source


kmachn

public int kmachn
machine data type


kmissd

public int kmissd
int missing data values


smissd

public double smissd
double missing data values


kvmst

public boolean kvmst
swap byte flags


kieeet

public boolean kieeet
ieee flags

Constructor Detail

GempakFileReader.DMLabel

public GempakFileReader.DMLabel()
Create a new DMLabel for the GempakFileReader

Method Detail

init

public boolean init()
             throws IOException
Read in all the info based on the block of integer words. Modeled after DM_RLBL.

Returns:
true if okay.
Throws:
IOException - problem reading the file

toString

public String toString()
Get a String representation of this.

Overrides:
toString in class Object
Returns:
a String representation of this.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.