edu.wisc.ssec.mcidasv.data
Class EnviInfo

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.data.HeaderInfo
      extended by edu.wisc.ssec.mcidasv.data.EnviInfo

public class EnviInfo
extends HeaderInfo


Field Summary
private  String dataFile
          The url
private  boolean isEnvi
           
 
Fields inherited from class edu.wisc.ssec.mcidasv.data.HeaderInfo
BANDFILES, BANDNAMES, BIGENDIAN, BYTEORDER, DATATYPE, DESCRIPTION, ELEMENTS, INTERLEAVE, kFormat1ByteUInt, kFormat2ByteSInt, kFormat2ByteUInt, kFormat2x8Byte, kFormat4ByteFloat, kFormat4ByteSInt, kFormat8ByteDouble, kFormatASCII, kFormatImage, kFormatUnknown, kInterleaveByLine, kInterleaveByPixel, kInterleaveSequential, kNavigationBounds, kNavigationFiles, kNavigationUnknown, LINES, MISSINGVALUE, NAVBOUNDS, NAVFILES, OFFSET, UNIT
 
Constructor Summary
EnviInfo()
          Ctor for xml encoding
EnviInfo(File thisFile)
          CTOR
EnviInfo(String filename)
          CTOR
 
Method Summary
 String getLatBandFile()
           
 int getLatBandNum()
          Which band/file is latitude?
 String getLonBandFile()
           
 int getLonBandNum()
          Which band/file is longitude?
 boolean hasEnviData()
          Can we find a matching ENVI data file?
 boolean isEnviHeader()
          Is the file an ENVI header file?
 boolean isNavHeader()
          Is this a navigation header file?
protected  void parseHeader()
          Parse a potential ENVI header file
 
Methods inherited from class edu.wisc.ssec.mcidasv.data.HeaderInfo
doesExist, getBandCount, getFilename, getParameter, getParameter, getParameter, getParameter, getParameter, haveParsed, setFilename, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataFile

private String dataFile
The url


isEnvi

private boolean isEnvi
Constructor Detail

EnviInfo

public EnviInfo()
Ctor for xml encoding


EnviInfo

public EnviInfo(File thisFile)
CTOR

Parameters:
filename - The filename

EnviInfo

public EnviInfo(String filename)
CTOR

Parameters:
filename - The filename
Method Detail

isEnviHeader

public boolean isEnviHeader()
Is the file an ENVI header file?


hasEnviData

public boolean hasEnviData()
Can we find a matching ENVI data file?


isNavHeader

public boolean isNavHeader()
Is this a navigation header file?


getLatBandNum

public int getLatBandNum()
Which band/file is latitude?


getLatBandFile

public String getLatBandFile()

getLonBandNum

public int getLonBandNum()
Which band/file is longitude?


getLonBandFile

public String getLonBandFile()

parseHeader

protected void parseHeader()
Parse a potential ENVI header file

Overrides:
parseHeader in class HeaderInfo