<DIV><SPAN style="LINE-HEIGHT: 24px; FONT-FAMILY: 'lucida Grande', Verdana, 'Microsoft YaHei'"><FONT style="LINE-HEIGHT: 30px" size=4>Hi,all:</FONT></SPAN></DIV>
<DIV><SPAN style="LINE-HEIGHT: 24px; FONT-FAMILY: 'lucida Grande', Verdana, 'Microsoft YaHei'"><FONT size=4> I have </FONT></SPAN><STRONG>read data from ASCII file with NCL:</STRONG></DIV>
<DIV> ascii_filename = "/public/home/huanglei/data/ob.txt"<BR> seismic = asciiread(ascii_filename,(/725,6/),"float") <BR> <BR> time_o= seismic(:,1) ; Column 1 of file contains X values.<BR> p_o = seismic(:,2) ; Column 2 of file contains Y values.<BR> t2_o= seismic(:,3) ; Column 3 of file contains Z values.<BR> wdir_1= seismic(:,4) <BR> wspd_1 = seismic(:,5) </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=4> the part of data in the ascii file(ob.txt) are like this:</FONT></DIV>
<DIV>57131 2015051122 0 187 199 20 <BR>57131 2015051123 0 154 250 3 <BR>57131 2015051200 0 144 309 11 <BR>57131 2015051201 0 133 25 8 <BR>57131 2015051202 0 127 31 16 <BR>57131 2015051203 0 116 15 12 <BR>57131 2015051204 0 104 272 16 <BR>57131 2015051205 0 113 91 5 <BR>57131 2015051206 0 95 340 6 <BR>57131 2015051207 0 115 349 7 <BR>57131 2015051208 0 139 323 11 <BR>57131 2015051209 0 164 252 16 <BR>57131 2015051210 0 185 204 31 <BR>57131 2015051211 0 206 247 19 <BR>57131 2015051212 0 227 212 15 <BR>57131 2015051213 0 241 301 12 <BR>57131 2015051214 0 249 144 19 <BR>57131 2015051215 0 260 187 14 <BR>57131 2015051216 0 269 183 22 <BR>57131 2015051217 0 271 212 20 <BR>57131 2015051218 0 279 276 8 <BR>57131 2015051219 0 265 295 11 <BR>57131 2015051220 0 217 310 12 <BR>57131 2015051221 0 208 339 8 <BR>57131 2015051222 0 202 35 5 <BR>57131 2015051223 0 200 279 17 <BR>57131 2015051300 0 182 32 5 <BR>57131 2015051301 0 181 20 16 <BR>57131 2015051302 0 161 98 6 <BR>57131 2015051303 0 157 40 17 <BR>57131 2015051304 0 149 125 4 <BR>57131 2015051305 0 154 185 8 </DIV>
<DIV> </DIV>
<DIV><STRONG>but it have warning:</STRONG></DIV>
<DIV><STRONG>warning:asciiread: End of file reached and only (2984) elements were read from the file, filling remaining elements with the default missing value for the requested type<BR></STRONG></DIV>
<P><STRONG>how to set the default missing value ?</STRONG></P><STRONG>
<DIV><FONT size=2><FONT face="lucida Grande, Verdana, Microsoft YaHei"><SPAN style="LINE-HEIGHT: 30px">How can I slove the problem?</SPAN></FONT><BR></FONT></DIV>
<DIV style="LINE-HEIGHT: 23px; FONT-FAMILY: 'lucida Grande', Verdana, 'Microsoft YaHei'"><SPAN style="LINE-HEIGHT: 24px"><FONT style="LINE-HEIGHT: 30px" size=2>Or do you guys have some advice?</FONT></SPAN></DIV>
<DIV style="LINE-HEIGHT: 23px; FONT-FAMILY: 'lucida Grande', Verdana, 'Microsoft YaHei'"><SPAN style="LINE-HEIGHT: 24px"><FONT style="LINE-HEIGHT: 30px" size=2>any information will be appreciated</FONT></SPAN></DIV>
<DIV><BR></DIV></STRONG>