You need to load two NCL library scripts in order to use this
function. Put the following two lines at the very top of your script,
in this order:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
The documentation for gsn_csm_xy2 also shows this:
http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy2.shtml
This function was added in version 4.2.0.a032, which was released
December 2004, so you also need to make sure you have at least this
version or newer.
--Mary
On Fri, 18 May 2007 p2trivej_at_atmos.ucla.edu wrote:
> Hi,
>
> I am trying to use the function "gsn_csm_xy2"
>
>>> plot = gsn_csm_xy2(wks,day,err,count,True,True)
>
> that is, trying to plot two variables "err" and "count" on "day". it turns
> out the compiler doesn't notice the function and gives out this error
> message.
>
>>> fatal:Undefined identifier: (gsn_csm_xy2) is undefined, can't continue
>
> is it possible that my version of ncl is too outdated that it doesn't have
> the function?
>
> thank you.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 18 2007 - 09:53:39 MDT
This archive was generated by hypermail 2.2.0 : Fri May 18 2007 - 09:54:14 MDT