Package edu.wisc.ssec.mcidasv.data
Class AxformInfo
java.lang.Object
edu.wisc.ssec.mcidasv.data.HeaderInfo
edu.wisc.ssec.mcidasv.data.AxformInfo
Representation of an AXFORM header file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe urlprivate booleanprivate static final org.slf4j.LoggerFields 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
ConstructorsConstructorDescriptionCtor for xml encodingAxformInfo(File thisFile) CTORAxformInfo(String filename) CTOR -
Method Summary
Modifier and TypeMethodDescriptionGet the latitude grid file.intWhich band number is latitude?Get the longitude grid file.intWhich band number is longitude?booleanIs the file an AXFORM header file?protected voidParse a potential AXFORM header file.Methods inherited from class edu.wisc.ssec.mcidasv.data.HeaderInfo
doesExist, getBandCount, getFilename, getParameter, getParameter, getParameter, getParameter, getParameter, haveParsed, setFilename, setParameter
-
Field Details
-
logger
-
dataFile
The url -
isAxform
-
-
Constructor Details
-
AxformInfo
public AxformInfo()Ctor for xml encoding -
AxformInfo
CTOR- Parameters:
thisFile- File to use. Cannot benull.
-
AxformInfo
CTOR- Parameters:
filename- The filename
-
-
Method Details
-
isAxformInfoHeader
Is the file an AXFORM header file?- Returns:
- Whether or not the file is a valid AXFORM header file.
-
getLatBandNum
Which band number is latitude?- Returns:
- Always returns
1for this class.
-
getLatBandFile
Get the latitude grid file.- Returns:
- Either the latitude grid file or an empty
String.
-
getLonBandNum
Which band number is longitude?- Returns:
- Always returns
1for this class.
-
getLonBandFile
Get the longitude grid file.- Returns:
- Either the longitude grid file or an empty
String.
-
parseHeader
Parse a potential AXFORM header file.- Overrides:
parseHeaderin classHeaderInfo
-