Re: Segmentation Fault and errno=12 by GRIB reading

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 30 Oct 2007 09:28:24 -0600 (MDT)

Hi Wen,

Thanks for providing the GRIB file. I tried reading it in with PyNIO,
and instead of getting a seg fault I got the following warning:

warning:NclGRIB: Unsupported time unit found for parameter (HZEROCL_GDS10_0DEG), continuing anyways.

I'm running the latest version of PyNIO which hasn't been released
yet. I'll check with Dave Brown to see if he added some changes that
affect files like this.

--Mary

On Tue, 30 Oct 2007, Yen, Wenchieh wrote:

> Dear developers,
>
> I always get segmentation fault by reading a GRIB1 file, and I
> remembered it worked in Pyngl 1.1.0
>
> The following is the error message on a linux machine. It crashes also
> on a mac (both have Python 2.5.1, numpy 1.0.4, Pyngl 1.2.0).
>
> The sample data can be found at
> http://www.pa.op.dlr.de/~WenchiehYen/tmp/hzerocl.grb
>
> This GRIB data also let ncl 4.3.1 crash.
>
> - Wen -
>
>
> Python 2.5.1 (r251:54863, Jun 14 2007, 13:58:13)
> [GCC 4.3.0 20070111 (experimental)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import Nio
>>>> file = Nio.open_file('hzerocl.grb','r')
> fatal:NclMalloc Failed:[errno=12]
> Segmentation fault
>
>
>
> --
> ------------------------------------------
> Wenchieh Yen
> Institut fuer Physik der Atmosphaere
> DLR Oberpfaffenhofen
> T: +49 8153 28 2587
> F: +49 8153 28 1841
> E: wenchieh.yen @ dlr.de
> ------------------------------------------
> _______________________________________________
> pyngl-talk mailing list
> pyngl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Tue Oct 30 2007 - 09:28:24 MDT

This archive was generated by hypermail 2.2.0 : Thu Nov 01 2007 - 07:23:55 MDT