Hi Mat,

On Apr 26, 2013, at  3:03 AM, Mathew Topper <mathew.top...@ed.ac.uk> wrote:

> I have a set of wave directions in lon lat,

Not clear how a direction is given as a lon lat.  Do you mean you have a set of 
vectors, each defined as lon/lat pairs?   

> but I want to display them 
> in a UTM type projection. I believe the directions will be distorted, 
> but I'm not sure by how much.

It depends on what you want - if you want the arrow to point where the wind 
would go after X minutes, then you want the "distortion".  If you want the 
viewer to be able to pick off the geographic heading by eye, then simply 
convert your lon lat pairs to heading/length pairs and plot them in the axis 
frame.  See http://matplotlib.org/basemap/users/mapcoords.html for how to 
convert from basemap to the underlying axis frame.

In an ideal world your projection would not be over such a large area that any 
of this matters - if your vector is off by 1 degree, who will be able to tell 
in a plot? 

Cheers,    Jody

--
Jody Klymak    
http://web.uvic.ca/~jklymak/





------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to