<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
  I have trouble to readAsciiTable   the following data: </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>VERSION 03.30^M^M<br>
</span>
<div>54342 0123.5167 041.7333 0052.5^M^M<br>
</div>
<div>GFE(L)-1 12.2 GTS1 -00262833792 028 0750 0400 2650 1500 352^M^M<br>
</div>
<div>026.0 026.0 00.0 1000.7 1001.2 -0.5 068 065 03 1^M^M<br>
</div>
<div>20130714111522 20130714192922 20130714123100 20130714123100 06 06 26985 25904 002.00 28.1 1000.7 069 000 000.0 010.0 00 // // 000 10- // // // 090.00 -01.00 070.00^M^M<br>
</div>
<div>ZCZC SECOND^M^M<br>
</div>
<div>TimeStep     T            Press        RH           angle        direction    distance     delta_lon    delta_lat    xx           xx           xx<br>
</div>
<div>       0.000       28.100     1000.700       69.000       -1.000       90.000        0.070        0.000        0.000        0.000        0.000       52.000<br>
</div>
<div>       1.000     -999.000     -999.000     -999.000        3.370       67.810        0.108        0.000        0.000        0.000        0.000       64.000<br>
</div>
<div>       2.000     -999.000     -999.000     -999.000        3.970       67.620        0.108        0.000        0.000        0.000        0.000       69.000<br>
</div>
<span></span>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
see:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>ncl 8> data_second = readAsciiTable("Z_UPAR_I_54342_20130712111513_O_TEMP-L.txt.SECOND", 12, "float", 7)                                                                        <br>
</span>
<div>warning:asciiread: End of file reached and only (76173) elements were read from the file, filling remaining elements with the default missing value for the requested type<br>
</div>
<div>ncl 9> print(data_second(:2,0))  <br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Variable: data_second (subsection)<br>
</div>
<div>Type: float<br>
</div>
<div>Total Size: 12 bytes<br>
</div>
<div>            3 values<br>
</div>
<div>Number of Dimensions: 1<br>
</div>
<div>Dimensions and sizes: [3]<br>
</div>
<div>Coordinates: <br>
</div>
<div>Number Of Attributes: 1<br>
</div>
<div>  _FillValue : 9.96921e+36<br>
</div>
<div>(0) 2.013071e+13<br>
</div>
<div>(1) 315<br>
</div>
<div>(2) 70<br>
</div>
<span></span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It appears NCL  treated   ^M^M   as an additional line. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How can I tell NCL to treat ^M as characters? </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Xiaoming </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>