Re: GRIB2

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 18 Sep 2007 10:22:24 -0600 (MDT)

Hi Alex,

It sounds like you either don't have the latest version of PyNIO
installed (V1.2.0) or else the GRIB2 codetables have been installed in
a non-standard location or are just not there for some reason.

Can you tell me more about your Python and PyNIO installation, like
where you installed the software, and what version of PyNIO do you
have?

If you are running V1.2.0 of PyNGL/PyNIO, then what does the following
report:

import Ngl
print Ngl.pynglpath("ncarg")

Do an "ls" on the path returned from the above command; you should
see a directory called "grib2_codetables". If you don't, then we need
to find out what happened to these files.

--Mary

On Tue, 18 Sep 2007, Alex Conselvan de Oliveira wrote:

> Hello all,
>
> I'm trying to open a GRIB2 file, and I'm getting the following error
> message:
>
> fatal: environment variable not set
> fatal: Unable to locate GRIB v2 code tables, cannot continue.
> fatal:Could not open (fh.0054_tl.press_gr.0p5deg.grb2)
> NIOError: Unable to open file
> Traceback (most recent call last):
> File "/discolocal/wrf/bin/extrai_gfs_0p5.py", line 15, in ?
> file1 = Nio.open_file(arq1,"r")
> SystemError: error return without exception set
>
> Which environment variable is this? Where should be this code Tables?
>
>
> Thanks in advance,
> Alex
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Tue Sep 18 2007 - 10:22:24 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 24 2007 - 11:45:09 MDT