Skip Navigation Links 
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-flush

wgrib2: -flush


The -flush option causes wgrib2 to flush the output buffers after every write. You would use this option if you were running wgrib2 as an interactive decoder or using pipes to multitask the processing.

Multitasking wgrib2 by using pipes is well established, so wgrib2 detects when writing to a pipe and enables the flush mode. If wgrib2 is writing to a disk file and another program is reading that same file be the file is closed, then you will need to use the -flush option.



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 last modified: May 15, 2005
Disclaimer Privacy Policy