Skip Navigation Links www.nws.noaa.gov 
NOAA logo - Click to go to the NOAA home page National Weather Service   NWS logo - Click to go to the NWS home page
Climate Prediction Center
 
 

 
About Us
   Our Mission
   Who We Are

Contact Us
   CPC Information
   CPC Web Team

 
HOME > Monitoring_and_Data > Oceanic and Atmospheric Data > Reanalysis: Atmospheric Data > wgrib2 FUTURE Changes with v3.0.3
 

wgrib2: v3.1.1

Changes from wgrib2 v3.1.0 to v3.1.1

Wgrib2 v3.1.1 is a minor release that addresses problems with

  1. check_pdt_size causes fatal error for some ECMWF and ICON files
    work around for older versions: -check_pdt_size 0
  2. -unix_time fails with new glibc (random failures)
    work around for older versions: $TZ should not be UTC, or a daylight saving time
    Highlights
  1. fixed check_pdt_size: added more PDTs, support for vertical coordinates
  2. fixed and updated: -unix_time failed with new glibc
    • -unix_time: converted from posix to C89 code, and no longer optional
    • -set_date: now understands unix time (seconds after start of Jan 1, 1970)
    • -import_netcdf: display unix time codes in YYYYMMDDHH(mmss) format
    • many minor changes
  3. ECMWF ensemble files: if code table 4.7 undefined, set to reasonable value
  4. -set_pdt: major changes, handles more PDTs, much better
  5. Early testing of Netcdf4 compiled with Ubuntu 20.04LTS is promising.

Future Changes for wgrib2 v3.1.2

Added better support for grids up to 2**32-1 (4,294,967,295) grid points. This endeavor started in 2016. Progress started slowly because of the lack of large-memory machines and urgency. However, I received my first bug report about the 4G problem.

Cmake is required for latest libaec. So the makefile is now cmake aware. You can build wgrib2 without cmake but you will not be able to install libaec or OpenJPEG.

The parallelization of the uncompressing of complex-compressed files was improved. Decoding of the GFS master file went from 14 seconds to 9 seconds on a 6-core ryzen 5600g cpu using a nmve drive. Unfortunately the speed was slow and unimproved on a Luster file system.

Previous versions of wgrib2 handled non-spherical Lambert Azimuthal Equal Area Projection using a spherical earth. Now this projection is handled by proj4 which means that proj4 is now installed by default.

The geolocation tag (-geolocation) is better defined (external added). Output is changed from "XYZ" to "geolocation=XYZ".

Alpha: USE_NETCDF4 redefined and USE_HDF5 added. The change allows linking to precompiled NetCDF/HDF5 libraries.

Alpha: compiling with Intel's oneAPP icx and ifx compilers. Icx had a problem executing one OpenMP loop. Either the loop is incorrect and several compilers have been accidently generating "correct" code for years, or icx is silently generating bad code. Anyways this is why wgrib2 compiled by icx/ifx is considered alpha status.

Update for local JMA product definition templates.


NOAA/ National Weather Service
National Centers for Environmental Prediction
Climate Prediction Center
5830 University Research Court
College Park, Maryland 20740
Climate Prediction Center Web Team
Page dates: 4/2022
Disclaimer Privacy Policy