Hi Wei-Chih,
Make sure you load contributed.ncl before shea_util.ncl:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
That should eliminate the error... Adam
On 04/01/2011 01:52 PM, wei chih chen wrote:
> Dear NCL user,
> When I run my program, it always shows these kinds of error :
> "fatal:syntax error: line 3200 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl before or near \n
> copy_VarCoords(x, advect)"
> "fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 3853 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
> But the program still work at last. Does anyone know what the problem is
> ? Thank you.
>
> --
> Best regards
> Wei-Chih
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- __________________________________________________ Adam Phillips asphilli@ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 Climate and Global Dynamics Division fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Apr 1 13:58:50 2011
This archive was generated by hypermail 2.1.8 : Tue Apr 05 2011 - 09:01:21 MDT