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 intGRAF navigation typeprivate int[]Navigation blockprivate intBand numberprivate intYear and Julian day, ccyydddprivate intprivate intprivate intTime, hhmmssprivate intMagnification factorsprivate intResolution factorsprivate int[]Navigation blockprivate Datetime of data in frameprivate StringSensor source nameprivate intSensor source numberprivate intprivate intUpper-left corner satellite coordinates -
Constructor Summary
ConstructorsConstructorDescriptionConstructorFrameDirectory(int[] directory) ConstructorFrameDirectory(FrameDirectory that) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionintgetBand()Get band.intgetCyd()Get cyd.intint[]int[]intgetHms()Get hms.intGet the nominalTime.Get the sensorName.intGet the sensorNumber.intgetULEle()intprivate StringnavIntToString(int navInt) Print the nav typevoidsetBand(int newBand) Set band.voidsetCyd(int newCyd) Set cyd.voidsetHms(int newHms) Set hms.voidsetSensorName(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
-