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_percentile

wgrib2: -set_percentile


Probabilistic forecasts can be presented as percentiles. For example, 10% forecast of temperature means that 1 time out of 10, the expected temperature will less than the forecasted temperature. The -set_percentile option adds or changes the percentile of a forecast.

Percentile forecasts use product definition templates (PDT) of 6 or 10 depending whether the forecast is for a single time or a time interval. The -set_percentile option converts pdt 0..6 -> 6 and 8..15 -> 10.

Percentiles are also supported by the -set_metadata option.


-set_percentile X         X = percentile 0..100


$ wgrib p.grb -set_percentile 50 -grib_out new.grb
1:0:d=2010020304:PRMSL:mean sea level:6 hour fcst:50% level
2:17960:d=2010020304:PRES:1 hybrid level:3 hour fcst:50% level
See also: -grib, -grib_out, -set_metadata,

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