class ModisBandReader {

    public static int decodeScalingMethod(final String scaleMethod) {
        if (scaleMethod != null) {
            if (scaleMethod.equalsIgnoreCase(ModisConstants.LINEAR_SCALE_NAME)) {
                return SCALE_LINEAR;
            } else if (scaleMethod.equalsIgnoreCase(ModisConstants.EXPONENTIAL_SCALE_NAME)) {
                return SCALE_EXPONENTIAL;
            } else if (scaleMethod.equalsIgnoreCase(ModisConstants.POW_10_SCALE_NAME)) {
                return SCALE_POW_10;
            } else if (scaleMethod.equalsIgnoreCase(ModisConstants.SLOPE_INTERCEPT_SCALE_NAME)) {
                return SCALE_SLOPE_INTERCEPT;
            }
        }
        return SCALE_UNKNOWN;
    }

    public  ModisBandReader(Variable variable, final int layer, final boolean is3d);

}