Re: Question: Vectors over a map [SEC=UNCLASSIFIED]

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 09 2010 - 10:00:51 MST

Hi Eunpa,
Try setting vcMapDirection
(http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMapDirection
)
to False.
  -dave

On Feb 8, 2010, at 9:59 PM, Eun-Pa Lim wrote:

>
> Hi,
>
> I am trying to draw wind vectors on a map.
>
> My first try was using gsn_csm_vector_map_ce.
>
> With a dummy data set that contains udata = 1 and vdata = 1 over
> regular grids of 73 lat x 144 lon (the same as NCEP2),
> I notice that the vector angle changes from 45 degree over the
> tropics to 0 degree at the pole (due to the longitudinal distance
> narrows down as the latitude increases).
>
> So I used gsn_csm_vector with
> res@vfXCStartV = 60.0
> res@vfXCEndV = 180.0
> res@vfYCStartV = -90
> res@vfYCEndV = 90
>
> And it solved my problem of vector angle (now I've got 45 degree
> angled vectors everywhere), but I can't overlay it with a map.
>
> Is there any way that I can draw vector plots with a map without
> having vector angles sensitive to latitude change?
>
> Many thanks,
>
> Eunpa
>
> __________________________________________________
>
> Eun-Pa Lim; CAWCR
> GPO Box 1289K, Melbourne 3001, VIC, AUSTRALIA
> Phone +61 3 9669 4636; Fax +61 3 9669 4660 ; http://www.bom.gov.au/bmrc/
>
>
> _______________________________________________
> 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 Tue Feb 9 10:00:57 2010

This archive was generated by hypermail 2.1.8 : Thu Feb 11 2010 - 09:50:35 MST