[ncl-talk] Sub: Removing the missing values..

Adv advita6 at gmail.com
Tue Jun 23 12:50:46 MDT 2015


Hi,
Please find here the printed code. The output figure plots only the missing
values. I don't understand where I have been going wrong. Could someone
help me to fix this. The missing values are not at all disappearing. For
the test sake I used number one here.
f    = addfile("precip.V1.0.mon.mean.nc", "r")   ; note the "s" of addfile
;u=short2flt( f->pr_wtr )
u1 = f->precip
printVarSummary (u1)
u = clmMonTLL(u1)
printVarSummary (u)
print(min(u))
print(max(u))
u at _FillValue=1
u at _missing_value=1
u at missing_value=1
u at missing_value_original=1
delete(u at _FillValue)delete(u at _missing_value)
delete(u at missing_value)
delete(u at missing_value_original)
printVarSummary (u)
print(min(u))
print(max(u))
anew= dim_avg_Wrap(u(lat|:,lon|:,month|:))
printVarSummary(anew)
print(min(anew))
print(max(anew))

Thanks,
Adv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150623/e6fb1822/attachment.html 


More information about the ncl-talk mailing list