Skip to content

Home

Unofficial Documentation

This is unofficial documentation for wgrib2, scraped and reformatted from the original CPC documentation. While I've worked to preserve accuracy, please refer to the official sources for authoritative information and support.

These are meant to be community docs for wgrib2. Let's make the best docs for wgrib2 together! Submit issues or pull requests to wgrib2-docs.

What is wgrib2?

wgrib2 is a versatile command-line utility for reading, writing, and manipulating GRIB2 files. Developed by NOAA, it eliminates the need for custom Fortran programs to work with meteorological and oceanographic gridded data.

Key Capabilities

  • Read and inventory GRIB2 files with detailed metadata extraction
  • Create subsets by parameter, level, time, or geographic region
  • Convert formats to/from IEEE binary, text, CSV, NetCDF, and MySQL
  • Regional extraction using cookie cutter or map projections
  • High performance with OpenMP threading and flow-based parallelization
  • Create new fields and write GRIB2 output

Official Resources

Quick Start

New to wgrib2? Start with these pages:

About This Site

This documentation aims to make wgrib2 more accessible by:

  • ✅ Improving documentation search and navigation using a modern static site generator
  • ✅ Organizing content by topic
  • ✅ Maintaining comprehensive option reference

I have heavily leveraged ChatGPT to make improvements.