Package org.esa.snap.core.dataop.barithm
Class StandardUncertaintyGenerator
java.lang.Object
org.esa.snap.core.dataop.barithm.StandardUncertaintyGenerator
- All Implemented Interfaces:
UncertaintyGenerator
Implementation of an
UncertaintyGenerator which generates the Standard Combined Uncertainty
according to JCGM 100:2008 (GUM 1995), Chapter 5.- Since:
- SNAP 2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateUncertainty(Product product, String relation, String expression) Generates the combined uncertainty for a given band maths expression.
-
Constructor Details
-
StandardUncertaintyGenerator
public StandardUncertaintyGenerator() -
StandardUncertaintyGenerator
public StandardUncertaintyGenerator(int order, boolean optimize)
-
-
Method Details
-
generateUncertainty
public String generateUncertainty(Product product, String relation, String expression) throws ParseException, UnsupportedOperationException Description copied from interface:UncertaintyGeneratorGenerates the combined uncertainty for a given band maths expression.- Specified by:
generateUncertaintyin interfaceUncertaintyGenerator- Parameters:
product- The data product that serves the referenced rasters in the expression.relation- Relation name of ancillary variables that represent uncertainties (NetCDF-U 'rel' attribute).expression- The band maths expression.- Returns:
- A new band maths expression representing the combined uncertainty.
- Throws:
ParseExceptionUnsupportedOperationException- See Also:
-