HI Michael,
Flip the order of loading of shea_util and contributed.ncl. There has
always been a rule that contributed.ncl needs to be loaded before
shea_util.ncl, but as of 5.1.1 the rule is being enforced/required. If
that doesn't fix your issue let us know..
Adam
Michael Notaro wrote:
> I am trying to run NCL on breeze (NCAR) today but when I use
> copy_VarCoords,
> the function is not recognized.
>
> Here's a very simple test I made:
>
> 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/shea_util.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
> begin
> a=(/1.,2.,3./)
> a!0="time"
> b=(/2.,4.,6./)
> copy_VarCoords(a,b)
> end
>
>
> Here's the 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 3223 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/
> shea_util.ncl
>
> fatal:syntax error: line 3288 in file $NCARG_ROOT/lib/ncarg/
> nclscripts/csm/shea_util.ncl before or near \n
> copy_VarCoords(X, Xdp)
> ------------------------^
>
> ETC.....
>
> Any idea what is wrong?
>
> Mike
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS 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 Wed Jul 15 2009 - 12:58:16 MDT
This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 15:27:02 MDT