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 String
The urlprivate boolean
private static final org.slf4j.Logger
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
ConstructorsConstructorDescriptionCtor for xml encodingAxformInfo
(File thisFile) CTORAxformInfo
(String filename) CTOR -
Method Summary
Modifier and TypeMethodDescriptionGet the latitude grid file.int
Which band number is latitude?Get the longitude grid file.int
Which band number is longitude?boolean
Is the file an AXFORM header file?protected void
Parse 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
1
for 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
1
for 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:
parseHeader
in classHeaderInfo
-