NCL Home> Application examples> File IO || Data files for some examples

Example pages containing: tips | resources | functions/procedures

GRIB to netCDF

NCL can read and plot GRIB1 and GRIB2 data directly. (GRIB2 support was added in version 4.3.0.) Therefore, this type of conversion need only be used if netCDF output for sharing is required.

In version 4.2.0.a034, a tool called ncl_convert2nc was created to convert all or part of a GRIB file to netCDF. This is the preferred method.

Examples of converting GRIB files

  1. Copy entire file
  2. Output selected variables
  3. Efficient output