Re: fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 02 2011 - 10:45:26 MST

Hi,

It sounds like you are not loading the requisite script libraries (?)

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
See:

http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_contour.shtml

On Mar 2, 2011, at 10:41 AM, wei huang wrote:

> Hi,
> please I'm getting an error given below. could anyone help me how to fix it?
> thanks
> wei
>
>
> ; options for pressure plotting
> plvl_r = plvl(time|:,lvl|:,lat|:,lon|:)
> printVarSummary(plvl_r)
> res@cnLevelSelectionMode = "ExplicitLevels" ; set manual contour levels
> res@cnLevels = ispan(100,1000,50)
> plot = gsn_csm_contour(wks,plvl_r(0,:,{40:45},{92}),res)
> end
>
> ;*****************************
> Variable: plvl_r
> Type: float
> Total Size: 55282500 bytes
> 13820625 values
> Number of Dimensions: 4
> Dimensions and sizes: [time | 25] x [lvl | 21] x [lat | 195] x [lon | 135]
> Coordinates:
> time: [0.5..24.5]
> lvl: [270..370]
> lat: [40.87445..45.88511]
> lon: [90.85538..100.10556]
> Number Of Attributes: 1
> _FillValue : 9.96921e+36
> fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 116 in file
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 2 10:45:35 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2011 - 10:00:25 MST