vector problem

From: jerry (jerry AT cwb.gov.tw)
Date: Fri Jun 24 2005 - 02:48:15 MDT


Hi
I want to draw a vector with attach file but it will have the follow error message :

wrning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for
X axis failed: consider adjusting trXTensionF value
warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear
warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for
X axis failed: consider adjusting trXTensionF value
warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear

below is my ncl scripts :

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

 begin

   dir = ncargpath("data")
   in = addfile(dir+"/cdf/941110_UV.cdf","r")
   u = in->u(:,:)
   v = in->v(:,:)
   
   wks = gsn_open_wks("x11","xy_vector")
   res = True
   res@vcRefMagnitudeF = 10 ; make vectors larger
   res@vcRefLengthF = 0.045 ; ref vec length
   res@vcGlyphStyle = "CurlyVector" ; turn of curly vectors
   res@vcMinDistanceF = 0.017 ; thin out vectors
   plot = gsn_csm_vector_map(wks,u,v,res)

 end

if i set res@vfXCStartV res@vfXCEndV res@vfYCStartV res@vfYCEndV that it can work

Thank you




_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Jun 24 2005 - 10:30:47 MDT