Re: Mixed Grib1/Grib2

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 07 2011 - 10:55:16 MDT

I have to say that mixing GRIB versions in one file sounds totally perverse. I think the only way that NCL could currently handle it would be to find some tool (wgrib2 or wgrib perhaps) that could separate the records according to their respective versions. However, I would be interested in looking at such a file to see if there might be some way to get NCL to make sense of it. Can you upload an example file using the instructions at Thanks! Sorry we cannot be of more immediate assistance.

On Sep 7, 2011, at 10:18 AM, Carl Schreck wrote:

> I am trying to read some ECMWF operational analysis and forecast data. Apparently these files contain both grib1 and grib2 data within the same file. Is there an option that allows NCL to read these types of files? Currently, ncl_filedump gives me this error:
> $ ncl_filedump D1D08250600082506001.grib
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See for more details.
> g2_info: can only decode GRIB edition 2.fatal:Could not extend memory for GRIB v2 data.
> fatal:Could not open (D1D08250600082506001)
> Variable: f
> Type: file
> (0) File Missing Value : -1
> Thanks!
> Carl
> --
> Carl J. Schreck III, PhD
> Postdoctoral Research Associate
> Cooperative Institute for Climate and Satellites (CICS-NC)
> NOAA's National Climatic Data Center and North Carolina State University
> 151 Patton Avenue
> Asheville, NC 28801
> Tel: 828-257-3140
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Sep 7 10:55:23 2011

This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT