Package edu.wisc.ssec.mcidasv.data
Class FrameDirectory
java.lang.Object
edu.wisc.ssec.mcidasv.data.FrameDirectory
Class FrameDirectory holds information obtained
from frame directory files, FRAMEn.p, from McIdas-X
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
GRAF navigation typeprivate int[]
Navigation blockprivate int
Band numberprivate int
Year and Julian day, ccyydddprivate int
private int
private int
Time, hhmmssprivate int
Magnification factorsprivate int
Resolution factorsprivate int[]
Navigation blockprivate Date
time of data in frameprivate String
Sensor source nameprivate int
Sensor source numberprivate int
private int
Upper-left corner satellite coordinates -
Constructor Summary
ConstructorsConstructorDescriptionConstructorFrameDirectory
(int[] directory) ConstructorFrameDirectory
(FrameDirectory that) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionint
getBand()
Get band.int
getCyd()
Get cyd.int
int[]
int[]
int
getHms()
Get hms.int
Get the nominalTime.Get the sensorName.int
Get the sensorNumber.int
getULEle()
int
private String
navIntToString
(int navInt) Print the nav typevoid
setBand
(int newBand) Set band.void
setCyd
(int newCyd) Set cyd.void
setHms
(int newHms) Set hms.void
setSensorName
(String newName) Set sensorName.toString()
Get a String representation of this objectprivate int[]
transformGRAFIntoRECT
(int[] nav) Since GRAF is not a real data projection, try to munge it into RECT for VisAD
-
Field Details
-
nominalTime
time of data in frame -
sensorName
Sensor source name -
sensorNumber
Sensor source number -
cyd
Year and Julian day, ccyyddd -
hms
Time, hhmmss -
band
Band number -
uLLine
Upper-left corner satellite coordinates -
uLEle
-
lineMag
Magnification factors -
eleMag
-
lineRes
Resolution factors -
eleRes
-
aux
Navigation block
-
-
Constructor Details
-
FrameDirectory
public FrameDirectory()Constructor -
FrameDirectory
Copy constructor- Parameters:
that
- The FrameDirectory to copy
-
FrameDirectory
Constructor- Parameters:
directory
- frame directory from McIdax-X
-
-
Method Details
-
getNominalTime
Get the nominalTime.- Returns:
- The nominalTime.
-
getSensorName
Get the sensorName.- Returns:
- The sensorName.
-
getSensorNumber
Get the sensorNumber.- Returns:
- The sensorNumber.
-
getCyd
Get cyd.- Returns:
- cyd.
-
getHms
Get hms.- Returns:
- hms.
-
getBand
Get band.- Returns:
- band.
-
setSensorName
Set sensorName.- Parameters:
newName
- The new vaue for sensorName.
-
setCyd
Set cyd.- Parameters:
newCyd
- The new vaue for cyd.
-
setHms
Set hms.- Parameters:
newHms
- The new vaue for hms.
-
setBand
Set band.- Parameters:
newBand
- The new vaue for band.
-
toString
Get a String representation of this object -
getFrameAux
-
getLineRes
-
getEleRes
-
getULLine
-
getULEle
-
transformGRAFIntoRECT
Since GRAF is not a real data projection, try to munge it into RECT for VisAD
-