Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2011-09-09 Thread Jakob Malm
2011/9/8 Jeff Whitaker : > On 9/8/11 1:51 AM, Jakob Malm wrote: >> >> Picking up on an old thread. Hopefully Jeff is still listening in... >> >> On 2010-04-04 23:24, Jeff Whitaker wrote: >>> >>> On 4/4/10 11:06 AM, Will Hewson wrote: Hi again Jeff et al... I've had a play around

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2011-09-08 Thread Jeff Whitaker
On 9/8/11 1:51 AM, Jakob Malm wrote: > Picking up on an old thread. Hopefully Jeff is still listening in... > > On 2010-04-04 23:24, Jeff Whitaker wrote: >> On 4/4/10 11:06 AM, Will Hewson wrote: >>> Hi again Jeff et al... >>> >>> I've had a play around with the extra few lines of code - on paper t

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2011-09-08 Thread Jakob Malm
Picking up on an old thread. Hopefully Jeff is still listening in... On 2010-04-04 23:24, Jeff Whitaker wrote: > On 4/4/10 11:06 AM, Will Hewson wrote: >> Hi again Jeff et al... >> >> I've had a play around with the extra few lines of code - on paper this >> seems like it should solve the problems

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-05 Thread Will Hewson
Jeff, this is great, works fine - many thanks for all your help over the last few days, it really is appreciated. I'm trying to build the case within my office for switching over to Basemap from IDL, ironing out niggles like this is really useful in this respect. All the best, Will. Jeff Whit

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-05 Thread Jeff Whitaker
On 4/5/10 7:25 AM, Will Hewson wrote: I should perhaps of explained my code (included in top post) a little better, the values in my attached file aren't on a regular grid to start with, I do a little bit of juggling as follows to get them into a regular grid: I'm firstly setting up my 2D grid o

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-05 Thread Will Hewson
I should perhaps of explained my code (included in top post) a little better, the values in my attached file aren't on a regular grid to start with, I do a little bit of juggling as follows to get them into a regular grid: I'm firstly setting up my 2D grid of 0.5 degree lat lons, followed by iden

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-05 Thread Jeff Whitaker
On 4/5/10 4:16 AM, Will Hewson wrote: > Hey Jeff, > > It's somewhere between the two - the original satellite swath is converted > to a regular 0.5 degree grid by truncating, binning, and averaging each > point's lons and lats over the top of a 720 x 360 np.zeros array. the > plotting still works f

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-05 Thread Will Hewson
Hey Jeff, It's somewhere between the two - the original satellite swath is converted to a regular 0.5 degree grid by truncating, binning, and averaging each point's lons and lats over the top of a 720 x 360 np.zeros array. the plotting still works fine for non ortho/ hemispherical projections, an

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-04 Thread Jeff Whitaker
On 4/4/10 11:06 AM, Will Hewson wrote: > Hi again Jeff et al... > > I've had a play around with the extra few lines of code - on paper this > seems like it should solve the problems I'm experiencing. However, an > error's being thrown up by the transform scalar function, as my lons and > lats won't

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-04 Thread Will Hewson
Hi again Jeff et al... I've had a play around with the extra few lines of code - on paper this seems like it should solve the problems I'm experiencing. However, an error's being thrown up by the transform scalar function, as my lons and lats won't necessarily be increasing. The data I'm plotting

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-02 Thread Jeff Whitaker
On 4/2/10 6:32 AM, Will Hewson wrote: > This is great Jeff, thanks for the help - I'll give it a try over the weekend > (it's bank holiday here in the UK!) and get back to you, if I'm still having > trouble I'll stick up the plotting data too... thanks again. > > Will > Will: I forgot to ment

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-02 Thread Will Hewson
This is great Jeff, thanks for the help - I'll give it a try over the weekend (it's bank holiday here in the UK!) and get back to you, if I'm still having trouble I'll stick up the plotting data too... thanks again. Will Jeff Whitaker wrote: > > On 4/2/10 4:27 AM, Will Hewson wrote: >> Hi for

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-02 Thread Jeff Whitaker
On 4/2/10 4:27 AM, Will Hewson wrote: Hi forum/ mailing list, When I plot in the orthographic projection I'm getting the large artefact shown below extending away from the north east of the globe. I'm not finding the same problem when plotting in a full globe projection so I'm presuming the pro

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-02 Thread Jeff Whitaker
On 4/2/10 4:27 AM, Will Hewson wrote: Hi forum/ mailing list, When I plot in the orthographic projection I'm getting the large artefact shown below extending away from the north east of the globe. I'm not finding the same problem when plotting in a full globe projection so I'm presuming the pro