[ncl-talk] About how to use a variable in str_get_filed

Tao Lu hakufu.asano at gmail.com
Wed Dec 7 03:56:44 MST 2016


Dear ncl-talk

I wrote some codes to use str_get_field()
----------------------------------------------------------------------------------------------------------------------
number_of_dataline = toint(number_of_dataline_str)
print (number_of_dataline)
name = str_get_field(lines(0),8, delimiter)
date = str_get_field(lines(1:number_of_dataline+1), 1, delimiter)
-----------------------------------------------------------------------------------------------------------------------
Error occurred at "date".

Could you give me some advice?

Yours sincerely,
Tao

-- 
******************************************************
盧 涛 (ル タオ) 修士課程2年

〒112-8551 東京都文京区春日1-13-27

中央大学理工学研究科都市環境学専攻

河川・水文研究室(山田正教授)


TEL: 03-3817-3406;   Phone: 070-2188-7509
Email1: hakufu.asano at gmail.com <mail%3Amet.yamos at gmail.com>
Email2: lutao at civil.chuo-u.ac.jp <mail%3Ayamoto at civil.chuo-u.ac.jp>
*******************************************************
******************************************************
Tao Lu    (M. Eng)
Laboratory of River Engineering and Hydrology,
Dept. of Civil and Environmental Engineering,
Graduate School of Science and Engineering,
Chuo University

1-13-27,Kasuga,Bunkyo-ku,Tokyo
112-8551, Japan
TEL: 03-3817-1805;   Phone: 070-2188-7509
Email1: hakufu.asano at gmail.com <mail%3Amet.yamos at gmail.com>
Email2: lutao at civil.chuo-u.ac.jp <mail%3Ayamoto at civil.chuo-u.ac.jp>
*****************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161207/44ec1a1f/attachment.html 


More information about the ncl-talk mailing list