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

wgrib2: -set_ensm_derived_fcst

Introduction: set ensemble mean derived forecast

The -set_ensm_derived_fcst option changes Product Definition Template (PDT) 0,1,2 -> 2 or 8,11,12 -> 12. PDT 2, and 12 are for "ensemble mean derived forecasts". Effectively this options describes the forecast as being derived from an ensemble of forecasts. The types derived forecasts is listed in code table 4.7. The "cluster" derived forecast should not be used with this option as PDT 2 and 12 do not have metadata to describe the cluster that was used.


-set_ensm_derived_fcst X Y
X = code table 4.7
Y = 0..255  number of forecasts in the ensemble


$ wwgrib2 sst.grb2  -set_ensm_derived_fcst 1 10 -grib newsst.grb
1:0:d=1981110100:TMP:surface:0-1 month ave anl:wt ens-mean

-set_ensm_derived_fcst 1 10
    1 = weighted mean of all members (code table 4.7)
   10 = number of ensemble members

-grib newsst.grb
   save the new grib file in newsst.grb
See also: -set_ens_num, -ens, -N_ens

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