Re: Does NCL not accept the trYMaxF < 1.0

From: Will Hobbs <Will.Hobbs_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 25 2014 - 20:22:13 MST

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<mailto:557xiaozhu@163.com>>
Date: Wednesday, 26 February 2014 2:17 PM
To: "ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu> USERS" <ncl-talk@ucar.edu<mailto: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<mailto:r@trYLog> = True
   r@trYMaxF<mailto:r@trYMaxF> = 1
   r@trYMinF<mailto:r@trYMinF> = 0.00001
   plot(3) = gsn_csm_xy(wks,frq, plt4,r)

  Once I set
   r@trYMaxF<mailto: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:22:36 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST