Skip Navigation Links www.nws.noaa.gov 
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 -elseif
 

wgrib2: -elseif_fs

Introduction

The -elseif_fs option is part of the -if, -else, -endif structure for conditional execution of wgrib2 options. The -elseif* option must follow an -if or -elseif type option, and it must preceed either the next -elseif type, -else or -endif option.

The -elseif_fs is an -elseif* options and does a comparison with a fixed string (fs) instead of a regular expression as done by the -else_if.

More details are in the -if documentation. The -else option was introduced with wgrib2 v3.0.0 to replace the older version 1 IF structure.

See also: -if, -if_fs, -else, -elseif, -endif, -match,


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: 6/2022
Disclaimer Privacy Policy