decimalPlaces leading to loss of data

From: Bridget Thrasher <bthrasher_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 09 2009 - 16:18:07 MST

I'm running a complete array (no missing values) through the decimalPlaces
function and am getting an output array that contains missing values. Is
this correct?

data_all_f = doubletofloat(fdata->$var$)
printVarSummary(data_all_f)
print(num(ismissing(data_all_f)))
printMinMax(data_all_f,True)
data_all = decimalPlaces(data_all_f,2,True)
printVarSummary(data_all)
print(num(ismissing(data_all)))
printMinMax(data_all,True)

Variable: data_all_f
Type: float
Total Size: 116640000 bytes
            29160000 values
Number of Dimensions: 3
Dimensions and sizes: [1800] x [90] x [180]
Coordinates:
Number Of Attributes: 1
  _FillValue : 1e+20
(0) 0
(0)
(0) min=-73.7207 max=45.3083

Variable: data_all
Type: float
Total Size: 116640000 bytes
            29160000 values
Number of Dimensions: 3
Dimensions and sizes: [1800] x [90] x [180]
Coordinates:
Number Of Attributes: 1
  _FillValue : 1e+20
(0) 2147
(0)
(0) min=-73.72 max=45.31

-- 
Bridget Thrasher, PhD
Postdoctoral Researcher
Climate Central
www.climatecentral.org

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Nov 9 16:17:35 2009

This archive was generated by hypermail 2.1.8 : Wed Nov 11 2009 - 12:48:56 MST