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 Changes with v3.0.2
 

wgrib2: v3.0.2

Changes from wgrib2 v3.0.0 to v3.0.2

Note that the file server (ftp.cpc.ncep.noaa.gov) had the wrong files for v3.0.1. The source code was for a older beta version. So wgrib2 v3.0.1 has been erased from history. Wgrib2 v3.0.2 is basically v3.0.1 plus with a minor upgrade to "extended names". The extended names can now optionally include the level and and forecast time information. This change allows -netcdf to produce unique variable names for fields that previously would have had the same name.

Wgrib2 v3.0.2 is a minor upgrade to v3.0.0. Rather than accumulating updates and new features for 12+ months, v3.0.1 is a relatively quick update that is needed for gnu make v4.3, and for providing initial python support on Windows (pywgrib2, cygwin). So that was the plan.

I had deferred adding D Jovic's code for using the OpenJPEG library for supporting jpeg2000 until the release of wgrib2 v3.0.0. It is now a compile time option.

M Schwarb sent me scripts that would read the ECMWF grib tables from the web and convert them to a format suitable for wgrib2. This lead to adding the -names option and adding the DWD grib tables. Of course, a wgrib2 update is not finished unless there several new options.

G Trojan worked on the fatal error handler, and that resulted in the removal of several routines, and cleaner code.

Delayed fatal errors were added. This allows wgrib2 to flag an error, and error out at the end of processing of the grib message. This allows the user to "debug" the grib message which caused the fatal error. In addition, delayed fatal errors can be converted to warnings.

For python, wgrib2 has options to read and write grib sections.

New compilers, means new warning and error messages. Fixed an error that would be triggered if your keyboard generated characters with the high bit (128) set and your compiler defines char as signed char.

Added support for Nvidia compilers from the Nvidia HPC SDK for building the wgrib2 executable and shared library. Previous versions of the Nvidia compilers (old branding: Portland) had problems compiling wgrib2.

Added support for AOCC to compile a shared library for pywgrib2.

Added support for cygwin (Windows) to compile a shared library for pywgrib2. Unfortunately the shared library does not support jpeg2000 or png compression because they use the zlib which refers to an undefined routine.

Fixed -new_grid with interpolation ot user-specified locations. I forgot to set the discpline of GEOLAT/GEOLON.

An update to ncep grib tables.


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: 2/17/2021
Disclaimer Privacy Policy