<div dir="ltr"><div><div>Not enough information: What was the error message?<br><br></div><div>Also, including the, say, first 5 lines of the field being read would be useful.<br><br></div><div>Regards<br></div><br></div><br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 3:56 AM, Tao Lu <span dir="ltr"><<a href="mailto:hakufu.asano@gmail.com" target="_blank">hakufu.asano@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear ncl-talk<div><br></div><div>I wrote some codes to use str_get_field()</div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------------------------</div><div><div>number_of_dataline<span class="m_-608685218396013680gmail-Apple-tab-span" style="white-space:pre-wrap">                         </span>= toint(number_of_dataline_str)</div><div>print (number_of_dataline)</div><div>name<span class="m_-608685218396013680gmail-Apple-tab-span" style="white-space:pre-wrap">                                        </span>= str_get_field(lines(0),8, delimiter)</div><div><span style="background-color:rgb(255,153,0)">date</span><span class="m_-608685218396013680gmail-Apple-tab-span" style="white-space:pre-wrap">                                         </span>= str_get_field(lines(1:<span style="background-color:rgb(255,153,0)">number_<wbr>of_dataline+1</span>), 1, delimiter)</div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------</div><div>Error occurred at "date".</div><div><br></div><div>Could you give me some advice?</div><div><br></div><div>Yours sincerely,</div><div>Tao</div><div><br></div>-- <br><div class="m_-608685218396013680gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><span style="font-size:12.8px">******************************<wbr>************************</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">盧 涛 (ル タオ) </span><span style="font-family:arial,helvetica,sans-serif;font-size:small">修士課程2年</span><br style="font-size:12.8px"><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" size="2">〒<span lang="EN-US">112-8551 </span>東京都文京区春日<span lang="EN-US">1-13-27</span></font></p><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" size="2">中央大学理工学研究科都市環境学専攻</font></p><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" size="2">河川・水文<span lang="EN-US"><span lang="EN-US"><span lang="EN-US">研究</span></span><span lang="EN-US"><span lang="EN-US">室</span></span></span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">(山田正教授)</span></p></div><div style="font-size:12.8px"><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US"><br></span></font></p><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US">TEL: 03-3817-3406; </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span></p>Email1: <a href="mailto:mail%3Amet.yamos@gmail.com" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8px">Email2: <a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">lutao@civil.chuo-u.ac.<wbr>jp</a><br style="font-size:12.8px"><span style="font-size:12.8px">******************************<wbr>*************************</span></div><div style="font-size:12.8px"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial"><wbr>************************</span><br></div><div><span style="font-size:small;font-family:arial">Tao Lu (M. Eng)</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Laboratory of River Engineering and Hydrology,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Dept. of Civil and Environmental Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Graduate School of Science and Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Chuo University</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial"> </span><br style="font-family:arial;font-size:small">1-13-27<span style="font-size:small;font-family:arial">,Kasuga,Bunkyo-ku,Tokyo</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">112-8551, Japan</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">TEL: </span>03-3817-1805<font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US">; </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span><br style="font-family:arial;font-size:small"><span style="font-size:12.8px">Email1: </span><a href="mailto:mail%3Amet.yamos@gmail.com" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8px"><span style="font-size:12.8px">Email2: </span><a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">lutao@civil.chuo-u.ac.<wbr>jp</a><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial"><wbr>***********************</span><span style="font-size:12.8px"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>