[Matplotlib-users] Basemap - UTM Support

2015-05-11 Thread Nick Eubank
Hi All,

Trying to move from ArcGIS into pure python GIS, but am a little surprised
to find that UTM is not (directly) supported as a projection. Going through
the machinations in the utmtest.py file

every time I want to plot a map in UTM seems a little unwieldy.

Please excuse my ignorance, but is there a reason it is so hard to support
/ any plans to integrate in the future / any other easier paths to plotting
UTMs I don't know about?

Thanks,

Nick
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Cartopy install problem: this correct forum?

2015-05-13 Thread Nick Eubank
Not sure if this is the right forum; also posting to Stack Overflow (
http://stackoverflow.com/questions/30221047/cartopy-conda-install-error-osx-library-not-loaded-rpath-libproj-0-dylib
). Will re-post any answers from here to SO.

Did conda install:

conda install -c scitools cartopy

Seemed to go find, but now I'm getting the following error:

import cartopy.crs as ccrs
Traceback (most recent call last):

  File "", line 1, in 
import cartopy.crs as ccrs

  File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/__init__.py",
line 110, in 
import cartopy.crs

  File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/crs.py",
line 37, in 
from cartopy._crs import CRS, Geocentric, Geodetic, Globe, PROJ4_RELEASE
ImportError: 
dlopen(/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so,
2): Library not loaded: @rpath/libproj.0.dylib
  Referenced from:
/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so
  Reason: image not found

Any suggestions?

I also tried building from source and got the same problem.

I had a prior install of GDAL Complete, if that matters.
Thanks!
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Cartopy install problem: this correct forum?

2015-05-13 Thread Nick Eubank
Thanks!

On Wed, May 13, 2015 at 3:07 PM Benjamin Root  wrote:

> No, it isn't this list. I think it is the Iris list instead:
> https://groups.google.com/forum/#!forum/scitools-iris
>
> On Wed, May 13, 2015 at 1:06 PM, Nick Eubank  wrote:
>
>> Not sure if this is the right forum; also posting to Stack Overflow (
>> http://stackoverflow.com/questions/30221047/cartopy-conda-install-error-osx-library-not-loaded-rpath-libproj-0-dylib
>> ). Will re-post any answers from here to SO.
>>
>> Did conda install:
>>
>> conda install -c scitools cartopy
>>
>> Seemed to go find, but now I'm getting the following error:
>>
>> import cartopy.crs as ccrs
>> Traceback (most recent call last):
>>
>>   File "", line 1, in 
>> import cartopy.crs as ccrs
>>
>>   File 
>> "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/__init__.py", line 
>> 110, in 
>> import cartopy.crs
>>
>>   File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/crs.py", 
>> line 37, in 
>> from cartopy._crs import CRS, Geocentric, Geodetic, Globe, PROJ4_RELEASE
>> ImportError: 
>> dlopen(/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so, 2): 
>> Library not loaded: @rpath/libproj.0.dylib
>>   Referenced from: 
>> /Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so
>>   Reason: image not found
>>
>> Any suggestions?
>>
>> I also tried building from source and got the same problem.
>>
>> I had a prior install of GDAL Complete, if that matters.
>> Thanks!
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Basemap - UTM Support

2015-05-13 Thread Nick Eubank
Thanks Don. The consensus seems to be that I need to move to Cartopy, which
apparently supersedes Basemap.

(Just realized the helpful responses I received weren't cc'd to the list,
so responding here for the record).

On Wed, May 13, 2015 at 1:47 PM Don Morton 
wrote:

> Hi,
>
> I only partially know what I'm talking about, but what the heck.  Have you
> considered pyproj (which Basemap is apparently built on)?  Pyproj seems to
> support any kind of projection you could even imagine, and a quick ggogle
> suggests UTM would be included.
>
> I had to learn all about this to some depth in order to teach it last
> summer to a group in Vienna, and I have slides at
>
>
> https://sites.google.com/a/borealscicomp.com/zamg-scientific-python-aug-sep-2014/home
>
> and if you go to course slides, 06-PlottingMetData, starting at about
> Slide 60, I have some examples which lead up to Basemap.  My intent was to
> try to get students to understand the how and why of plotting grids in
> projections, then moving on to Basemap.  This way they might have a better
> idea of how to deal with Basemap when things go wrong.  I think I just
> confused them, though :)
>
> At any rate, I haven't tried it, but I think it would be fairly simple to
> do what you want, IF you understand some of the low-level aspects.  But,
> maybe UTM is harder than I am imagining.
>
> All the best,
>
> Don Morton
>
>
>
> ---
> Don Morton, Owner/Manager
> Boreal Scientific Computing LLC
> Fairbanks, Alaska USA
> http://www.borealscicomp.com/
> http://www.borealscicomp.com/Miscellaneous/MortonBio/
>
> On Mon, May 11, 2015 at 4:45 PM, Nick Eubank  wrote:
>
>> Hi All,
>>
>> Trying to move from ArcGIS into pure python GIS, but am a little
>> surprised to find that UTM is not (directly) supported as a projection.
>> Going through the machinations in the utmtest.py file
>> <https://github.com/matplotlib/basemap/blob/ee6a2f7f95b7a5eff022fcbb2800d7c50b8c97b5/examples/utmtest.py>
>> every time I want to plot a map in UTM seems a little unwieldy.
>>
>> Please excuse my ignorance, but is there a reason it is so hard to
>> support / any plans to integrate in the future / any other easier paths to
>> plotting UTMs I don't know about?
>>
>> Thanks,
>>
>> Nick
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users