Jeff,
The problem is not in basemap, it is numpy. Basemap is doing the right
thing, using the astype method to ensure a copy--but that is not what
the method is actually doing in this case. I filed a numpy ticket
(788). I took a quick look at the numpy code but did not find anything
obvious
Jeff,
I sent that last message a little too quickly. Now I see that pyproj
really is trying to ensure a copy--that is what the comments and
docstring say--so I will simply try to find and fix the bug, the
particular case in which a copy is not being made.
Eric
Eric Firing wrote:
> Jeff,
>
>
Jeff,
I ran into a major bug that I think results from a fairly deep-seated
gotcha in basemap. The problem lies with the in-place transformation of
lon,lat in the proj library. This is not an inherent problem in itself;
the trouble comes because sometimes the data get copied along the way
fr