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¶
-
GitHub Repository
Source code, issues, and releases
NOAA-EMC/wgrib2 → -
API Documentation
Auto-generated Doxygen docs
View API docs → -
Original Documentation
CPC wgrib2 documentation
CPC website → -
Video Tutorial
EMC wgrib2 seminar presentation
Watch on YouTube →
Quick Start¶
New to wgrib2? Start with these pages:
- Installation - Get wgrib2 running on your system
- Basic Usage - Common commands and workflows
- Options Reference - Complete list of command-line options
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.