Thank you so much, Will. You are right.
2014-02-26
Xueming Zhu 朱学明
Key Laboratory of Research on Marine Hazards Forecasting (LoMF), SOA
National Marine Environmental Forecasting Center (NMEFC)
No.8, Dahuisi Road, Haidian District, Beijing, 100081
People's Republic of China
Tel:+86-10-82481923
发件人:Will Hobbs <Will.Hobbs@utas.edu.au>
发送时间:2014-02-26 11:22
主题:Re: [ncl-talk] Does NCL not accept the trYMaxF < 1.0
收件人:"朱学明"<557xiaozhu@163.com>,"ncl-talk@ucar.edu USERS"<ncl-talk@ucar.edu>
抄送:
I expect it's because you initially set the resource r@trYMaxF as in integer, and then changed it to a float. Try the following change
r@trYMaxF = 1 becomes r@trYMaxF = 1.
Note the decimal point, which then makes the resource a type 'float' value.
Will
From: 朱学明 <557xiaozhu@163.com>
Date: Wednesday, 26 February 2014 2:17 PM
To: "ncl-talk@ucar.edu USERS" <ncl-talk@ucar.edu>
Subject: [ncl-talk] Does NCL not accept the trYMaxF < 1.0
Hello all,
I tried to plot a XY line picture with the function gsn_csm_xy. My code is like this,
r@trYLog = True
r@trYMaxF = 1
r@trYMinF = 0.00001
plot(3) = gsn_csm_xy(wks,frq, plt4,r)
Once I set
r@trYMaxF = 0.1
I will get an error message as follow,
fatal:["NclAtt.c":263]:AttAddFunction: Attribute assignment type mismatch
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 211 in file spec_transport_ECS_filter_intraseasonal.ncl
What's the reason for this? Does NCL not accept the trYMaxF < 1.0 ?
Thanks.
2014-02-26
Xueming Zhu 朱学明
Key Laboratory of Research on Marine Hazards Forecasting (LoMF), SOA
National Marine Environmental Forecasting Center (NMEFC)
No.8, Dahuisi Road, Haidian District, Beijing, 100081
People's Republic of China
Tel:+86-10-82481923
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 25 20:25:54 2014
This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST