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) DocumentBuilder
private static final org.slf4j.Logger
(package private) HashMap
<String, ArrayList<QualityFlag>> (package private) boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetaDataFromFile
(String fileName) private File
Attempts to locatemcidasv.jar
within 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) boolean
hasNameAndMetaData
(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.null
is allowed.- Returns:
- Full file name for the XML Product Profile, or
null
.
-
findMcVJar
Attempts to locatemcidasv.jar
within the "classpath".- Returns:
File
object which for mcidasv.jar, ornull
if not found
-
addMetaDataFromFile
- Throws:
SAXException
IOException
-
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
-