edu.wisc.ssec.mcidasv.data
Class FrameDirectory

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.data.FrameDirectory

public class FrameDirectory
extends Object

Class FrameDirectory holds information obtained from frame directory files, FRAMEn.p, from McIdas-X


Field Summary
private  int AREAnavGRAF
          GRAF navigation type
private  int[] aux
          Navigation block
private  int band
          Band number
private  int cyd
          Year and Julian day, ccyyddd
private  int eleMag
           
private  int eleRes
           
private  int hms
          Time, hhmmss
private  int lineMag
          Magnification factors
private  int lineRes
          Resolution factors
private  int[] nav
          Navigation block
private  Date nominalTime
          time of data in frame
private  String sensorName
          Sensor source name
private  int sensorNumber
          Sensor source number
private  int uLEle
           
private  int uLLine
          Upper-left corner satellite coordinates
 
Constructor Summary
FrameDirectory()
          Constructor
FrameDirectory(FrameDirectory that)
          Copy constructor
FrameDirectory(int[] directory)
          Constructor
 
Method Summary
 int getBand()
          Get band.
 int getCyd()
          Get cyd.
 int getEleRes()
           
 int[] getFrameAux()
           
 int[] getFrameNav()
           
 int getHms()
          Get hms.
 int getLineRes()
           
 Date getNominalTime()
          Get the nominalTime.
 String getSensorName()
          Get the sensorName.
 int getSensorNumber()
          Get the sensorNumber.
 int getULEle()
           
 int getULLine()
           
private  String navIntToString(int navInt)
          Print the nav type
 void setBand(int newBand)
          Set band.
 void setCyd(int newCyd)
          Set cyd.
 void setHms(int newHms)
          Set hms.
 void setSensorName(String newName)
          Set sensorName.
 String toString()
          Get a String representation of this object
private  int[] transformGRAFIntoRECT(int[] nav)
          Since GRAF is not a real data projection, try to munge it into RECT for VisAD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nominalTime

private Date nominalTime
time of data in frame


sensorName

private String sensorName
Sensor source name


sensorNumber

private int sensorNumber
Sensor source number


cyd

private int cyd
Year and Julian day, ccyyddd


hms

private int hms
Time, hhmmss


band

private int band
Band number


uLLine

private int uLLine
Upper-left corner satellite coordinates


uLEle

private int uLEle

lineMag

private int lineMag
Magnification factors


eleMag

private int eleMag

lineRes

private int lineRes
Resolution factors


eleRes

private int eleRes

nav

private int[] nav
Navigation block


aux

private int[] aux
Navigation block


AREAnavGRAF

private int AREAnavGRAF
GRAF navigation type

Constructor Detail

FrameDirectory

public FrameDirectory()
Constructor


FrameDirectory

public FrameDirectory(FrameDirectory that)
Copy constructor

Parameters:
that - The FrameDirectory to copy

FrameDirectory

public FrameDirectory(int[] directory)
Constructor

Parameters:
directory - frame directory from McIdax-X
Method Detail

getNominalTime

public Date getNominalTime()
Get the nominalTime.

Returns:
The nominalTime.

getSensorName

public String getSensorName()
Get the sensorName.

Returns:
The sensorName.

getSensorNumber

public int getSensorNumber()
Get the sensorNumber.

Returns:
The sensorNumber.

getCyd

public int getCyd()
Get cyd.

Returns:
cyd.

getHms

public int getHms()
Get hms.

Returns:
hms.

getBand

public int getBand()
Get band.

Returns:
band.

setSensorName

public void setSensorName(String newName)
Set sensorName.

Parameters:
newName - The new vaue for sensorName.

setCyd

public void setCyd(int newCyd)
Set cyd.

Parameters:
newCyd - The new vaue for cyd.

setHms

public void setHms(int newHms)
Set hms.

Parameters:
newHms - The new vaue for hms.

setBand

public void setBand(int newBand)
Set band.

Parameters:
newBand - The new vaue for band.

toString

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

Overrides:
toString in class Object
Returns:
a string representation

getFrameNav

public int[] getFrameNav()

getFrameAux

public int[] getFrameAux()

getLineRes

public int getLineRes()

getEleRes

public int getEleRes()

getULLine

public int getULLine()

getULEle

public int getULEle()

navIntToString

private String navIntToString(int navInt)
Print the nav type


transformGRAFIntoRECT

private int[] transformGRAFIntoRECT(int[] nav)
Since GRAF is not a real data projection, try to munge it into RECT for VisAD