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-fi

wgrib2: -fi


The -fi is an output option that does not write. It is used to terminate a -if or a -not_if section when you don't want to execute an output operation.




$ wgrib2 bad.grb -if ":LHTFL:" -rpn "-1:*" -fi -grib fixed.grb
The above example changes the sign of the LHTFL fields and then writes the revised data to fixed.grb.

See also: -if, -not_if -rpn

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