double noData;
double min = -Double.MAX_VALUE, max = Double.MAX_VALUE;
if (st.compareTo(SampleDimensionType.REAL_32BITS) == 0) {
noData = Float.NaN;
}
else if (st.compareTo(SampleDimensionType.REAL_64BITS) == 0) {
noData = Double.NaN;
}
else if (st.compareTo(SampleDimensionType.SIGNED_16BITS) == 0) {
noData = Short.MIN_VALUE;
min = Short.MIN_VALUE;