NOAA-EMC / NCEPLIBS-g2

Utilities for coding/decoding GRIB2 messages.
Other
7 stars 14 forks source link

new compression AEC #458

Open edwardhartnett opened 1 year ago

edwardhartnett commented 1 year ago

Hi Edward and Eric,

I got a bounce back from Boi's email address.

Do either of you know who is the current maintainer of the NCEPLIBS-g2c library?

Thanks Arthur

On 6/28/2023 10:18 AM, Arthur Taylor wrote: Hi Boi,

Are you still in charge of the NCEPLIBS-g2c library?

It looks like ECMWF is using a new compression scheme. Do you know if the g2c library supports it? If not, do you know if there are plans to support it?

Thanks, Arthur

-------- Forwarded Message -------- Subject: ECMWF Changes Date: Wed, 28 Jun 2023 14:39:10 +0100 From: Karl Devine karl@netweather.tv To: Arthur.Taylor@noaa.gov, Michael.Allard@noaa.gov

Hi, Sorry to be a pain but ECMWF have made some big changes so degrib no longer works with those files:

$filename="$dbdate$dbtime"."0000-$ext"."h-oper-fc.grib2"; $ftpdir="https://data.ecmwf.int/forecasts/$dbdate/$dbtime"."z"."/0p4-beta/oper";

The changes are detailed at: https://confluence.ecmwf.int/display/FCST/Implementation+of+IFS+Cycle+48r1

I think it's mostly compression related but i get the following error:

getdrstemplate: DRS Template 5.42 not defined. ERROR: In call to Grib2Convert. ERROR: In call to ReadGrib2Record. ERROR: Unpack library error code (500 2)

I do hope it's possible to apply these changes to degrib and wgrib2 .

Many thanks

Karl De Vine

edwardhartnett commented 10 months ago

@EricEngle-NOAA is this the compression you desire in the C library?

Of course this should not be implemented in Fortran, but in C. Once present in the C library, we can have wrapper functions in Fortran to make it available there.

edwardhartnett commented 4 months ago

OK, this is implemented in the C library. In the 3.5.0 release of g2, we will allow for this compression to be used from Fortran.

edwardhartnett commented 1 month ago

Sorry, this has to be bumped to the next release...