Re: Problems on reading GRIB2 files

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 21 2010 - 15:44:34 MDT

Hi Johnny,

You are correct that NCL is ignoring some records. That is because they have the appearance of being duplicate records. There are 12 records in the file. The first six are spatial averages of "Icing" on a global grid and the second six are spatial maximum values on a global grid. The all have the same initial time and forecast time, and have no specified level type or value. Also the product definition template number (15) does not indicate that they are are intended to be individual members of an ensemble run. Using NCL's scheme for arranging similar GRIB records into arrays, NCL finds no way to differentiate them (although their data values may well be different) and therefore ignores all but 2 of the records. A record-oriented tool such as wgrib2 just prints the contents of each record individually and does not try to relate them to each other.

Do you know how the records are supposed to be differentiated? Perhaps there is a characteristic that NCL should be noticing but is not. Can you send back the output of whatever tool you are using that might give a clue? Thanks,
 -dave
 

On Oct 21, 2010, at 1:53 AM, Tam Johnny wrote:

> Found that there are missing some variables/fields after reading a GRIB2 file by NCL (Version 5.2.1). There is more information available when I decode with other software. Is there any way to solve the problem. Attached please find the file for checking. Thanks.
>
> <ice_15_10101718.grb>_______________________________________________
> 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 Thu Oct 21 16:23:43 2010

This archive was generated by hypermail 2.1.8 : Fri Oct 22 2010 - 12:21:46 MDT