[ncl-talk] NaN string in array
Zhang, Xiao
xiao.zhang at pnnl.gov
Tue May 2 09:00:56 MDT 2017
Hello,
I have a big text input file, most values are numbers but it has string "NaN" in it. After reading in I tried to replace it with 0 using: (where a.eq."NaN",0,a), but it didn't work. Anyone knows how to fix it? Thank you!
Best,
Xiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170502/fe07785b/attachment.html
More information about the ncl-talk
mailing list