Re: problems opening GRIB file

From: Dave Brown (dbrown AT XXXXXX)
Date: Mon Apr 21 2003 - 13:24:19 MDT


Hi Christian,
From the error message, it appears that your GRIB file has the
extension ".grib". NCL recognizes ".grb" rather than ".grib" as the file
extension indicating a GRIB formatted file, so that may be the cause of
your problem.

You can either rename your file to "0132306000003.grb", or you
can induce NCL to treat the file as a GRIB file (whatever it happens to
be called) by adding the extension "grb" to the actual name in the
addfile call, i.e:

f = addfile("0132306000003.grib.grb","r")

 -dave

On Mon, 21 Apr 2003, [ISO-8859-1] Christian Pagé wrote:

> Hi,
>
> I have problems opening a RUC GRIB file (using the latest NCL on SGI
> IRIX) :
>
> fatal:An internal error has occurred. The file format requested does
> not appear to be supported, could not open (0132306000003.grib)
> Variable: gribfile (file variable)
> (0) File Missing Value : -1
>
> And doing a head on the file :
> GRIBx;i¸m
>
> So it is really a GRIB file. What is wrong or what am I doing wrong?
>
> Christian Pagé
> page AT sca.uqam.ca
> http://meteocentre.com/ http://meteoalerte.com/
>
> Etudiant au Doctorat en Sciences de l'environnement UQAM
> +1 514 987 3000 ext. 2376
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk AT ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Mon Apr 21 2003 - 22:40:22 MDT