From: Arlindo da S. <da...@al...> - 2008-02-24 18:16:00
|
Hi, I am not sure if any of you are into Python, but I have a new version of PyGrADS that now, after a week of frustrating debugging with Mike Bosilovich, seems to work reliably on win32. For all of this you need the latest Win32 GrADS using the installer (.exe), not the ZIP file: http://opengrads.org/pre-rel/win32/grads-1.9.0-rc1.win32_superpack.exe Here are your options: 1) If you have no Python whatsoever installed on your Windows box and would like to give it a try, then you may want to start with the PyGrADS win32_superpack: http://opengrads.org/pre-rel/win32/pygrads-1.0.8.win32_superpack.exe This has all you need. 2) Now, if you have Python 2.5 already installed on your windows box, you can install "PyGrADS only" with this: http://opengrads.org/pre-rel/win32/pygrads-1.0.8.win32.exe You willl have the download the dependencies individually; see the wiki: http://opengrads.org/wiki/index.php?title=Python_Interface_to_GrADS Or else, you can use the superpack in 1) and only install the dependencies you need. Notice that the superpack is specific for Python 2.5. *Important:* If you install "*basemaps*" be sure to install "*httplib2*", also included in the superpack. 3) Or else, get the tarball and do a standard python install. http://opengrads.org/pre-rel/win32/pygrads-1.0.8.tar.gz Note that PyGrADS is 100% pure Python, so no compilation is necessary. Again, you will need the dependencies for full functionality, though. See the Wiki. 4) If you would like to try some examples, download the tarball in 3) [no need to install it if have already done 1) or 2)], then open a cmd.exewindow nd cd \some\path\pygrads-1.0.8\examples c:\python25\python ganum_examples.py c:\python25\python galab_examples.py etc and take a look at the output PNG files. As Mike Bosilovich reports, you can also open the "examples" folder with the Windows Explorer and click on "galab_examples" to run it --- I am too much of a command liner for that :-). Let me know of any problems if you have a chance to try this out. I am planning to post it on sf.net early in the week after I have a chance to touch up the wiki documentation. And that I'll be glad to fold up my old and slow Windows laptop and go back to my Mac :-). Arlindo -- Arlindo da Silva da...@al... |