[Numpy-discussion] Changing the numpy array into required shape

John Ladasky john_ladasky at sbcglobal.net
Sat Aug 23 03:02:55 EDT 2014


On 08/22/2014 11:14 PM, Cleo Drakos wrote:
>
> How can I convert this numpy array so that its first element belongs 
> to (49.875N,179.625W), i.e., upper left latitude and longitude 
> respectively; and the last element belong to (49.625S,179.875E), i.e., 
> lower right latitute and longitude respectively.
>
> I tried to rotate it, but I do not think it is correct.
>
I think that you want to use the numpy function flipud().



More information about the NumPy-Discussion mailing list