ModisBandDescription { public boolean isExponentialScaled() { return ModisConstants.EXPONENTIAL_SCALE_NAME.equalsIgnoreCase(scaleMethod); } ModisBandDescription(final String name, final String isSpectral, final String scalingMethod,
                                final String scaleName, final String offsetName,
                                final String unitName, final String bandName, final String descName); String getName(); String getScalingMethod(); String getOffsetAttribName(); String getScaleAttribName(); String getUnitAttribName(); String getBandAttribName(); boolean isSpectral(); String getDescriptionAttribName(); void setSpecInfo(final ModisSpectralInfo specInfo); ModisSpectralInfo getSpecInfo(); boolean hasSpectralInfo(); boolean isExponentialScaled(); boolean isLinearScaled(); boolean isLinearInvertedScaled(); boolean isSlopeInterceptScaled(); boolean isPow10Scaled();  }
@Test public void testIsExponentialScale() { final ModisBandDescription exponential = new ModisBandDescription("", "", ModisConstants.EXPONENTIAL_SCALE_NAME, "", "", "", "", ""); assertTrue(exponential.isExponentialScaled()); final ModisBandDescription notExponential = new ModisBandDescription("", "", "notExp", "", "", "", "", ""); assertFalse(notExponential.isExponentialScaled()); }