kashingtondc2 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Grib reader package to use with pythonxy #229

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
2. Which components have you installed (Python(x,y) installer: component
page):
    a. Have you selected the "Recommended" component selection?
    b. Have you selected the "Full" component selection?
c. Have you selected manually plugins in the component list? What
plugins?
3. Have you selected the option "Customize installation directories"?
a. Yes
b. No
4. If the answer to 3. is yes, what installation directories have you
chosen?
5. Where did you install Python(x,y) itself?
a. default path
b. custom path, which one?
6. Have you installed Python(x,y):
    a. For "Current user only"
    b. For "All users"
7. What is your operating system?
a. Windows XP
b. Windows Vista
8. When you installed Python(x,y), were you logged in as :
a. a regular user
b. an administrator of the machine
9. If you are using Windows Vista, have you installed Python(x,y):
a. simply by double-clicking on the installer
    b. by right-clicking on the installer and selecting "Run as an
administrator"
10. Regarding installed softwares on your machine, how did you clean your
machine before installing Python(x,y) (multiple answers are possible):
a. you didn't do anything, you installed Python(x,y) directly on your
machine without precaution
b. you uninstalled any previous Python distribution (including the
official .msi)
c. you cleaned the Windows registry by removing all Python-related keys
d. you cleaned the environment variables by removing all deprecated
entries

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please provide any additional information below.

i'v installed the current release of python xy for windows and i would like to 
know if there is any package that i might install to be able to read and 
analyze grib files.

i'v found pygrib...but it seems that it only works with a cygwin python 
installation.
Can anyone help?...

thanks in advanced

Original issue reported on code.google.com by eng.fern...@gmail.com on 11 Feb 2011 at 4:39

GoogleCodeExporter commented 9 years ago
The underlying library requires Cygwin. I'll try to build it under msys/mingw 
and report the results.

Original comment by grizzly.nyo on 14 Feb 2011 at 9:16

GoogleCodeExporter commented 9 years ago
Actually managed to build and run using mingw32. Will work on the packaging 
next.

Original comment by grizzly.nyo on 17 Oct 2011 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 26 Nov 2011 at 7:53

GoogleCodeExporter commented 9 years ago
Please test http://pythonxy.googlecode.com/files/pygrib-1.9.0_py27.exe

And report any issues - once cleared it will be added as an additional package.

Original comment by grizzly.nyo on 26 Nov 2011 at 7:55

GoogleCodeExporter commented 9 years ago
If noone is testing this package, we should drop this.
Let's wait a couple of month.

Original comment by pierre.raybaut on 18 Dec 2011 at 9:50

GoogleCodeExporter commented 9 years ago
thanks...i'v been able to keep up with the updates on this issue...but i'll 
test the package this wekk...

thanks again

Original comment by eng.fern...@gmail.com on 18 Dec 2011 at 12:54

GoogleCodeExporter commented 9 years ago
Any news?

Original comment by grizzly.nyo on 5 Mar 2012 at 8:49

GoogleCodeExporter commented 9 years ago
well i'v been able to successfully install pythonxy and its working ok. I 
install pygrib and import it with no problem. However, when i try to open a 
file the python crashes. It doesn't give me any error, just stops working and 
restarts.

Original comment by eng.fern...@gmail.com on 5 Mar 2012 at 2:07

GoogleCodeExporter commented 9 years ago
please try the following:
1. add an environment variable GRIB_DEFINITION_PATH=c:\Python27\definitions
2. test again with the current working path at C:\

It can be fixed - but will take time.

Original comment by grizzly.nyo on 5 Mar 2012 at 8:48

GoogleCodeExporter commented 9 years ago
Thank you for your quick reply. I hope to be able to test this today and to 
post the result of that changes.

Original comment by eng.fern...@gmail.com on 6 Mar 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Still can't make it work. added the environment variable GRIB_DEFINITION_PATH 
and changed the current working directory and python still crashes without even 
giving an error.
I'v tried using spyder, but nothing worked.

Original comment by eng.fern...@gmail.com on 7 Mar 2012 at 10:56

GoogleCodeExporter commented 9 years ago
Hi,
I just tried  http://pythonxy.googlecode.com/files/pygrib-1.9.0_py27.exe
Also I set: GRIB_DEFINITION_PATH=c:\Python27\definitions

I can do import pygrib. While I use something like 
pygrib.open('sampledata/flux.grb')
I got error:

GRIB_API ERROR   :  Unable to find boot.def 
grib_context.c at line 87: assertion failure Assert(0)
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Please let me know how to fix it, thanks

Original comment by xiwenw...@gmail.com on 18 Jul 2012 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 11 Dec 2012 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 1 Jun 2013 at 10:22

GoogleCodeExporter commented 9 years ago
I also received the error posted in #12 above. This appears to be the only 
package for pythonxy that can interact with the grib/grib2 file structure and 
it isn't functional.

Original comment by sirpa...@gmail.com on 26 Aug 2013 at 7:23