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

wgrib2: -set_ftime

Introduction

Changing the time stamp is more complicated than necessary. Depending on the type of time stamp, the options needed differ, and the options have some arbitary limitions. It's all on how wgrib2 evolved. Originally there was PDT 4.0 and -set_ftime and -set_date were written to modify the time stamp. Then there was the idea to modify PDT 4.0 to handle averages and accumulations by converting it to PDT 4.8 using a new option, -set_ave. The start of all the confusion.

Original: :d=2014113018:6 hour fcst:
New:      :d=2014122500:12 hour fcst:
   options: -set_date 2014122500 -set_ftime "12 hour fcst"

Original: :d=2014113018:6 hour fcst:
New:      :d=2014122500:0-6 hour ave fcst:
   options: -set_date 2014122500 -set_ave "0-6 hour ave fcst"

Original: :d=2014113018:6 hour fcst:
New:      :d=2014122500:124@6 hour ave(0-6 hour ave fcst),missing=0:
   options: -set_date 2014122500 -set_ave "124@6 hour ave(0-6 hour ave fcst),missing=0"
The options, -set_ave and -set_ftime may have to convert between PDTs. Only a subset of the conversions is supported.

See also:


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