[ncl-talk] readAsciiTable to handle ***** in data

xiaoming Hu yuanfangcan at hotmail.com
Tue Apr 9 10:18:16 MDT 2019


I need to read a lot of table data. but some of them contains **** (but the number and location of **** in the file are uncertain), see one of the examples below.
What is the best way to handle the **** in these files other than manually removing them?   I am currently using readAsciiTable  to read.

Thanks a lot!
Xiaoming

72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 55  7.29 14   94   7000   1.0  5 -70.2 -98.3 18481 18638   12.5 247
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 55 56.21 28   94   6689   1.0  5 -72.3 -99.8 18750 18907   15.5 228
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 56 16.21 21   94   6570   1.0  5 -72.9 ***** 18855 19014   17.2 229
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 56 54.21 28   94   6360   1.0  5 -73.1 ***** 19046 19210   19.1 243
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 58 24.21 28   94   5861   1.0  5 -73.0 ***** 19525 19694   13.5 290
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 58 48.21 21   94   5744   1.0  5 -72.9 ***** 19643 19816   14.3 291
72249 03990 87  3 2008  3 31 11 51 55.21  32.83500  -97.29806   199   195  6 2008  3 31 12 59 29.21 28   94   5551   1.0  5 -69.3 -97.6 19846 20025   11.7 290

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190409/eb1f825a/attachment.html>


More information about the ncl-talk mailing list