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

wgrib2: -varX

Introduction

The -varX option writes a raw variable name. It shows the discipline, master table, local table, center, parameter category and parameter number. The format is

var{discipline}_{master table}_{local table}_{center}_{parameter_category}_{parameter}

ex.  var0_10_1_57_1_51
       discipline = 0
       master table = 10
       local table = 1
       parameter category = 1
       parameter = 51
One would use the -varX option when the built-in tables have a problem. For example, suppose SGP is a new "silly grib parameter" that is in the latest version of wgrib2. However, you want to write a script that will extract SGP and work with both the new and old versions of wgrib2. By using -varX, your inventories will have a variable name that is the same in both versions of wgrib2.

Usage

-varX

Example

$ wgrib2 test.grb2 -varX
1:0:var0_2_1_7_3_5

See also: -var


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

See also: -undefine


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