Re: GRIB file with unknown grid

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Mon, 12 Oct 2009 03:32:39 -0600

Hi Tanja,

I have modified NCL to be more tolerant of undocumented GRIB 1 grids
such as the grid 200 specified in this file.
An ncl_filedump of the file you sent now produces the following:

warning:GdsUnknownGrid: GDS grid 200 is unknown and may not be decoded
correctly; no coordinate variables will be supplied
Variable: f (file variable)

filename: PIX_00060_2007070701_ch
path: PIX_00060_2007070701_ch.grib1
    file global attributes:
    dimensions:
       g200_lat_0 = 620
       g200_lon_1 = 620
    variables:
       float A_PCP_GDS200_SFC_acc60min ( g200_lat_0, g200_lon_1 )
          center : Zurich
          long_name : Total precipitation
          units : kg/m^2
          _FillValue : 1e+20
          level_indicator : 1
          gds_grid_type : 200
          parameter_table_version : 2
          parameter_number : 61
          forecast_time : 60
          forecast_time_units : minutes
          initial_time : 07/07/2007 (00:00)

I need to stress that NCL is only making a (hopefully) educated guess
about the structure of this grid. Let me know if something does not
seem right about the print out above.
Once this is verified and built in to the development version, we can
provide access to a version of NCL with the fix.
  -dave

On Oct 9, 2009, at 4:47 AM, <Tanja.Weusthoff_at_meteoswiss.ch> <Tanja.Weusthoff_at_meteoswiss.ch
> wrote:

> Hello,
>
> I try to read a GRIB file data with NCL, which coordinates have an
> unknown type. However, I'm at the moment not interesting in plotting
> but
> only in the variables and data values.
>
> NCL gives me the followin error:
>
> fatal:GdsUnsupportedGrid: Not enough known about grid 200 to determine
> grid size or shape
> fatal:NclGRIB: Couldn't handle dimension information returned by grid
> decoding
> fatal:NclGRIB: Deleting reference to parameter because of decoding
> error
>
> Does anybody know how to read such a file with an unknown grid? I've
> attached the GRIB-file (PIX_00060_20070701_ch.grib1).
>
> Cheers,
> Tanja
>
>
> <
> PIX_00060_2007070701_ch
> .grib1>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 12 2009 - 03:32:39 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 12 2009 - 03:45:17 MDT