edu.wisc.ssec.mcidas
Class AncillaryData

java.lang.Object
  extended by edu.wisc.ssec.mcidas.AncillaryData

public class AncillaryData
extends Object

AncillaryData creates an object providing access to image parameters needed to do conversion from McIDAS area format to some other image format.

Version:
1.6 6 Aug 1999
Author:
Tommy Jasmin, SSEC

Constructor Summary
AncillaryData(DataInputStream dis)
          constructor
 
Method Summary
 int getBandMap()
          return 32 bit band map
 int getCalOffset()
          return offset in bytes to calibration data
 int getCalType()
           
 int getCreationDate()
          return image creation date
 int getCreationTime()
          return image creation time
 int getDataOffset()
          return offset in bytes to image data
 int getDataWidth()
          return number of bytes per pixel
 int getElemRes()
          return element resolution
 int getImageDate()
          return image date
 int getImageTime()
          return image time
 int getLineRes()
          return line resolution
 int getNavOffset()
          return offset in bytes to navigation data
 int getNumBands()
          return number of bands/channels in image
 int getNumElements()
          return number of elements
 int getNumLines()
          return number of lines
 int getPrefixSize()
          return size in bytes of line prefix
 int getProjectNum()
          return project number associated with image
 int getSensorId()
          return sensor id
 int getStartElem()
          return starting image element
 int getStartLine()
          return starting image line
 int getStatus()
          return image status field
 int getVersion()
          return file format version number
 boolean isSwapped()
          return flag indicating certain fields were byte flipped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AncillaryData

public AncillaryData(DataInputStream dis)
              throws IOException
constructor

Parameters:
dis - data input stream
Throws:
IOException
Method Detail

getCalType

public int getCalType()

getSensorId

public int getSensorId()
return sensor id


getNumElements

public int getNumElements()
return number of elements


getNumLines

public int getNumLines()
return number of lines


getStartLine

public int getStartLine()
return starting image line


getStartElem

public int getStartElem()
return starting image element


getLineRes

public int getLineRes()
return line resolution


getElemRes

public int getElemRes()
return element resolution


getImageDate

public int getImageDate()
return image date


getImageTime

public int getImageTime()
return image time


getCreationDate

public int getCreationDate()
return image creation date


getCreationTime

public int getCreationTime()
return image creation time


getStatus

public int getStatus()
return image status field


getVersion

public int getVersion()
return file format version number


getDataWidth

public int getDataWidth()
return number of bytes per pixel


getNumBands

public int getNumBands()
return number of bands/channels in image


getPrefixSize

public int getPrefixSize()
return size in bytes of line prefix


getProjectNum

public int getProjectNum()
return project number associated with image


getBandMap

public int getBandMap()
return 32 bit band map


getNavOffset

public int getNavOffset()
return offset in bytes to navigation data


getCalOffset

public int getCalOffset()
return offset in bytes to calibration data


getDataOffset

public int getDataOffset()
return offset in bytes to image data


isSwapped

public boolean isSwapped()
return flag indicating certain fields were byte flipped