Class FrameDirectory

java.lang.Object
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 Details

    • 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
    • aux

      private int[] aux
      Navigation block
    • AREAnavGRAF

      private int AREAnavGRAF
      GRAF navigation type
  • Constructor Details

    • FrameDirectory

      public FrameDirectory()
      Constructor
    • FrameDirectory

      Copy constructor
      Parameters:
      that - The FrameDirectory to copy
    • FrameDirectory

      public FrameDirectory(int[] directory)
      Constructor
      Parameters:
      directory - frame directory from McIdax-X
  • Method Details

    • getNominalTime

      public Date getNominalTime()
      Get the nominalTime.
      Returns:
      The nominalTime.
    • 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()
    • transformGRAFIntoRECT

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