Package edu.wisc.ssec.mcidasv.data.hydra
Class SuomiNPPProductProfile
java.lang.Object
edu.wisc.ssec.mcidasv.data.hydra.SuomiNPPProductProfile
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DocumentBuilderprivate static final org.slf4j.Logger(package private) HashMap<String, ArrayList<QualityFlag>> (package private) boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaDataFromFile(String fileName) private FileAttempts to locatemcidasv.jarwithin the "classpath".getFillValues(String name) getProfileFileName(String attrName) See if for a given N_Collection_Short_Name attribute, the profile is present.getQualityFlags(String name) getRangeMax(String name) getRangeMin(String name) getScaleFactorName(String name) booleanhasNameAndMetaData(String name) Check if this product profile has a product AND metadata.
-
Field Details
-
logger
-
db
-
readFromJar
boolean readFromJar -
rangeMin
-
rangeMax
-
units
-
scaleFactorName
-
fillValues
-
qualityFlags
-
-
Constructor Details
-
SuomiNPPProductProfile
-
-
Method Details
-
getProfileFileName
See if for a given N_Collection_Short_Name attribute, the profile is present.- Parameters:
attrName- The attribute name our file should match.nullis allowed.- Returns:
- Full file name for the XML Product Profile, or
null.
-
findMcVJar
Attempts to locatemcidasv.jarwithin the "classpath".- Returns:
Fileobject which for mcidasv.jar, ornullif not found
-
addMetaDataFromFile
- Throws:
SAXExceptionIOException
-
hasNameAndMetaData
Check if this product profile has a product AND metadata.Note: Checking presence of a Range alone is not sufficient.
- Parameters:
name- "Product" name.- Returns:
- true if both conditions met
-
getRangeMin
-
getRangeMax
-
getUnits
-
getScaleFactorName
-
getFillValues
-
getQualityFlags
-