Hi Siji,
Make sure that u_month&lat_at_units = "degrees_north" and
u_month&lon_at_units = "degrees_east" (Same goes for v_month.)
The latitude/longitude coordinate variables need to have the units
attributes set for NCL to properly draw the plot... If that turns out
not to be the problem please let us know...
Adam
Sijikumar S wrote:
> Hi,
> Is it possible to draw wind vectors with non uniform grids? I am
> getting error like this
>
> ncl 73> plot=gsn_csm_vector_map_ce(wks,u_month(:,:),v_month(:,:),mpres)
> (0) check_for_y_lat_coord: Warning: Data either does not contain a
> valid latitude coordinate array or doesn't contain one at all.
> (0) A valid latitude coordinate array should have a 'units'
> attribute equal to one of the following values:
> (0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees
> north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN'
> (0) check_for_lon_coord: Warning: Data either does not contain a
> valid longitude coordinate array or doesn't contain one at all.
> (0) A valid longitude coordinate array should have a 'units'
> attribute equal to one of the following values:
> (0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east'
> 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE'
> fatal:VectorFieldInitialize: Insufficient number of elements in
> vfDataArray, vfUDataArray or vfVDataArray
> fatal:Unable to initialize layer-Can't Create
> fatal:Unable to access object with id:-4
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:Unable to access object with id:-4
> warning:Unable to add DataItem "(null)" to DataList "vcVectorFieldData"
> fatal:CompileDataList:DataList has no valid members
> fatal:PID #-4 can't be found in NhlSetValues
> warning:sfXArray is not a valid resource in /test_vector at this time
> warning:sfYArray is not a valid resource in /test_vector at this time
> warning:cnFillOn is not a valid resource in /test_vector at this time
> warning:cnFillMode is not a valid resource in /test_vector at this time
> warning:cnRasterSmoothingOn is not a valid resource in /test_vector at
> this time
> fatal:Unable to Destroy (Bad PID#-4)
> fatal:Unable to Destroy (Bad PID#-4)
>
> Thanks
> Siji
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> 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 ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Oct 04 2006 - 09:20:46 MDT
This archive was generated by hypermail 2.2.0 : Wed Oct 04 2006 - 17:47:31 MDT