PyNGL-1.5.0-alpha for MacOS 10.8/10.9 [Was: Re: PyNGL/PyNIO binary for MacOS 10.9?]

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 21 2013 - 16:05:28 MST

FYI: on a lark I decided to try compiling PyNGL 1.5.0-alpha, which supports transparent color among other things.

This was not working for me a few months ago, I think because of a bug in XQuartz (which you should only see under MacOS 10.8 and 10.9).
XQuartz fixed the bug in its 2.7.5 release, so I recommend downloading that if you don't already have it:

http://xquartz.macosforge.org/landing/

If you want to try the PyNGL 1.5.0-alpha version, the file is called (same instructions as below):

PyNGL-1.5.0-alpha.macos-10.8-x86_64-py275-numpy162.tar.gz

There are some new examples of using the new transparent color capabilities (which are similar to those for NCL 6.1.2, if you are familiar with this):

lib/python2.7/site-packages/PyNGL/ncarg/pynglex/newcolor1.py
lib/python2.7/site-packages/PyNGL/ncarg/pynglex/newcolor2.py
lib/python2.7/site-packages/PyNGL/ncarg/pynglex/newcolor3.py
lib/python2.7/site-packages/PyNGL/ncarg/pynglex/newcolor4.py

This alpha version also contains all the new colormaps added to NCL just in the last few days, which you can see on our NCL page:

http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml

--Mary

On Nov 21, 2013, at 3:25 PM, Mary Haley <haley@ucar.edu> wrote:

> Hi Charlie,
>
> I don't have a MacOS 10.9 system handy, but 10.8 binaries should work fine (at least this is the case with other executables I've tried).
>
> I put PyNGL 1.4.0 and PyNIO 1.4.1, compiled with Python 275 and Numpy 162 on ftp:
>
> ftp ftp.ucar.edu
> <log in as "anonymous">
> <Use email address as password>
> cd /pub/scd/haley
> get PyNIO-1.4.1.macos-10.8-x86_64-py275-numpy162.tar.gz
> get PyNGL-1.4.0.macos-10.8-x86_64-py275-numpy162.tar.gz
> quit
>
> You'll want to "tar -zxvf" this file in the root directory of where your python is installed. I'm using a python that I built myself (and not the macports version), so my python installation is pretty basic:
>
> lib/python2.7/site-packages
> bin/python2.7*
> bin/python
>
> If your installation doesn't look like this, for example, if you have "lib64" instead of "lib", then you may need to untar the file somewhere temporary, and change the directories as necessary.
>
> --Mary
>
> On Nov 21, 2013, at 2:09 PM, Mary Haley <haley@ucar.edu> wrote:
>
>> Hi Charlie,
>>
>> I can try to compile you a new version of both.
>>
>> Thanks for the numpy and python versions. I'll see what I can do.
>>
>> --Mary
>>
>> On Nov 20, 2013, at 12:45 PM, Charlie Koven <ckoven@gmail.com> wrote:
>>
>>> Hi Mary, Dave,
>>>
>>> I updated my laptop to the latest MacOS, version 10.9, up from version 10.6 where it had been before. Naturally this broke the PyNGL and PyNIO versions that had been on it. Any chance that there are binaries that would work on the new system? The basic info of my machine is below; I am using the python and numpy that is installed by macports.
>>>
>>> uname -a
>>> Darwin xxxxxxx.dhcp.lbl.gov 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
>>>
>>> python
>>> Python 2.7.5 (default, Aug 25 2013, 00:04:04)
>>> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> import numpy
>>> numpy.__version__
>>>>>> numpy.__version__
>>> '1.6.2'
>>>>>>
>>>
>>>
>>> Thanks,
>>> Charlie Koven
>>> Lawrence Berkeley Lab
>>> _______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>>
>> _______________________________________________
>> pyngl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Nov 21 16:05:36 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:37:03 MST