[ncl-talk] function conflict problem for help
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Mon Jun 4 07:38:37 MDT 2018
Hi Panfeng,
it seems that undef is not working correctly because if you rename
add_labelbar e.g. add_labelbar2 in the undef and procedure lines
everything is working fine.
-Karin
Am 04.06.18 um 15:05 schrieb 张盼峰:
> Dear NCL members,
>
> I'm a Phd student from the Department of Atmospheric Sciences, China
> University of Geosicences.
>
> In the attachment"test_function_conflict.ncl", I found a function
> conflict problem between the In-built Function (gsn_csm_contour_map)
> and a User Defined Procedure (add_labelbar). If removing the User
> Defined Procedure (add_labelbar), then the script can be run
> correctly. But, if I do not remove the User Defined Procedure, the
> script can not be succefully run. The User Defined Procedure was copys
> from "http://www.ncl.ucar.edu/Applications/Scripts/polyg_8_lbar.ncl"
> <http://www.ncl.ucar.edu/Applications/Scripts/polyg_8_lbar.ncl%22> and
> it can be run correctly in another single plot. I don't know why this
> kind of conflict can happens and how to avoid.
>
> When I run the "test_function_conflict.ncl", the error message as follows.
>
>
> Thank You!
> Your Sincerly, Panfeng Zhang
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180604/03a73f1f/attachment.html>
More information about the ncl-talk
mailing list