# Wind barb plot for a single station data

Hello all,

the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional vector field for a geographic projection.

What I want is a barb-routine that plots single station wind data (and not fields!) at their approriate lat,lon or x,y-position like in a station plot on a synoptic weather-chart. I googled and searched a while, but I could not find a solution within basemap for that.

Can you help me?

Thanks, Foehn

Hello all,

the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional
vector field for a geographic projection.

What I want is a barb-routine that plots single station wind data (and
not fields!) at their approriate lat,lon or x,y-position like in a
station plot on a synoptic weather-chart. I googled and searched a
while, but I could not find a solution within basemap for that.

There is no requirement that the arguments be on a grid; x, y, u, and v can simply be 1-D arrays with the desired locations and values.

basemap's barbs is a mapping wrapper around matplotlib's Axes.barbs() method, so you can use either one depending on whether you want to plot on a map projection or on some other x,y coordinates.

Eric

···

On 2015/03/25 7:08 AM, Foehn wrote:

Can you help me?

Thanks, Foehn

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Sometimes the solution is embarrassing simple.
Thanks a lot, I did not get that before

···

Am 2015-03-25 um 19:50 schrieb Eric Firing:

On 2015/03/25 7:08 AM, Foehn wrote:

Hello all,

the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional
vector field for a geographic projection.

What I want is a barb-routine that plots single station wind data (and
not fields!) at their approriate lat,lon or x,y-position like in a
station plot on a synoptic weather-chart. I googled and searched a
while, but I could not find a solution within basemap for that.

There is no requirement that the arguments be on a grid; x, y, u, and v
can simply be 1-D arrays with the desired locations and values.

basemap's barbs is a mapping wrapper around matplotlib's Axes.barbs()
method, so you can use either one depending on whether you want to plot
on a map projection or on some other x,y coordinates.

Eric

Can you help me?

Thanks, Foehn

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users