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 > CORe Time Average
 

Time Average CORe Files

Making time averages is a common operation for a place with the word "climate" in its name. Consequently we are making available a time-averaging program for CORe. This will be useful if you are getting the 3 hourly files from the Nomads web site and you want to make daily or monthly means. The script will be useful if you want make weekly or other such means.

Time averaging would be a one-line command except for the 3 hourly T min, T max, SPFHmin and SPFHmax. For these four variables, you want to make 24 hour max/min values, and then make the average.

The program mk_core_mean.sh needs a list of 3 hourly CORe files in chronological order. The number of input files must be a multiple of 8 (even number of days). To make the time mean, you use the script mk_core_mean.sh.

$ mk_core_mean.sh OUTPUT.grb 3hr file1 file2 ... file8N

For mk_core_mean.sh to work, the programs wgrib2 and gmerge must be installed. Gmerge takes a list of CORe files and make temporal means. Gmerge is also used with wgrib2 to create the ensemble statistics.

Directions on using gmerge to make temporal and ensemble means. It's fun to see an old program (born 5/2009) being applied to a new problem (ensemble statistics).

mk_core_mean.sh
CORe home page
-new_grid
-new_grid_interpolation
-new_grid_winds

Comments: Wesley.Ebisuzaki@noaa.gov, Leigh.Zhang@noaa.gov
Created Sep 12, 2025


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 Sep 12, 2025
Disclaimer Privacy Policy