Package edu.wisc.ssec.mcidasv.data
Class QualityFlag
java.lang.Object
edu.wisc.ssec.mcidasv.data.QualityFlag
- Author:
- tommyj Holds info to extract a Suomi NPP Quality Flag from a packed byte. Info is read from the appropriate XML Product Profile
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQualityFlag(int bitOffset, int numBits, String name, HashMap<String, String> hm) -
Method Summary
Modifier and TypeMethodDescriptionintgetHm()getName()getNameForValue(String valueStr) intvoidsetBitOffset(int bitOffset) voidvoidvoidsetNumBits(int numBits) voidsetPackedName(String packedName) toString()
-
Field Details
-
bitOffset
-
numBits
-
name
-
packedName
-
hm
-
-
Constructor Details
-
QualityFlag
- Parameters:
bitOffset-numBits-name-
-
-
Method Details
-
getBitOffset
- Returns:
- the bitOffset
-
setBitOffset
- Parameters:
bitOffset- the bitOffset to set
-
getNumBits
- Returns:
- the numBits
-
setNumBits
- Parameters:
numBits- the numBits to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getPackedName
- Returns:
- the packedName
-
setPackedName
- Parameters:
packedName- the packedName to set
-
getHm
- Returns:
- the hm
-
setHm
- Parameters:
hm- the hm to set
-
getNameForValue
- Returns:
- the name for a discreet value for this flag
-
toString
-