Discussion:
[Matplotlib-users] Wind barb plot for a single station data
Foehn
2015-03-25 17:08:23 UTC
Permalink
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
Eric Firing
2015-03-25 18:50:21 UTC
Permalink
Post by 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
Post by Foehn
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Foehn
2015-03-25 19:03:42 UTC
Permalink
Sometimes the solution is embarrassing simple.
Thanks a lot, I did not get that before :)
Post by Eric Firing
Post by 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
Post by Foehn
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
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Continue reading on narkive:
Search results for '[Matplotlib-users] Wind barb plot for a single station data' (Questions and Answers)
7
replies
plz i need information for my project?
started 2007-12-24 04:48:33 UTC
homework help
Loading...