[ncl-talk] nan in data radar set, how to handle

Geeta Geeta geetag54 at yahoo.com
Sat Nov 21 22:42:00 MST 2015


Hi Rick. 
Thanks for your suggestion. 
The "isnan_ieee" didnt work. but I converted the double to float and then it worked. 

refl    = doubletofloat(ref)
  reflec  = where(refl.eq."nan",-9999.,refl)
             asciiwrite("reflec.txt",reflec)
;            printVarSummary(reflec)
This is what I did.  But I still have one question. when the dataset is of the type "double", then how will "nan" be represented??? Can You pls explain???

The Figure is attached. 
Geeta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151122/fef33b79/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdr-v1-lev2.ps
Type: application/postscript
Size: 173368 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151122/fef33b79/attachment.ps 


More information about the ncl-talk mailing list