[Matplotlib-users] pyproj.Geod() azimuth problem

2015-02-23 Thread Knut-Frode Dagestad
Hi, I have a question related to use of pyproj. I am trying to calculate the azimuth orientation of vectors in a general coordinate system, defined by a proj4 string. My approach is to calculate the azimuth angle of the y-axis of the given projection, and add this to the angle relative to the

Re: [Matplotlib-users] Basemap from proj4 string

2014-11-07 Thread Knut-Frode Dagestad
As an example, say I have a proj4 string defining a spatial reference system: p4 = '+lon_0=0.0 +lat_ts=60.0 +R=6370997.0 +proj=stere +x_0=-0.0 +units=m +y_0=4327039.11059 +lat_0=90.0' Then one can construct a Basemap from this as: map = Basemap(projection='stere', lon_0=0., lat_0=90,

[Matplotlib-users] Basemap from proj4 string

2014-05-20 Thread Knut-Frode Dagestad
Hi, Is it possible to create a Basemap instance directly from a proj4 string and min/max values of the x and y coordinates? Or is there a simple and safe way to construct Basemap input arguments/values from a general proj.4 string?