Personal tools

Difference between revisions of "GFS"

From MohidWiki

Jump to: navigation, search
Line 1: Line 1:
 
This article is about [[GFS]] and is under construction
 
This article is about [[GFS]] and is under construction
  
Global Forecasting System (GFS) files are packed under the GRIB protocol. There are two different types of GRIB files GRIB1 and GRIB2 files. They differ in the way and the software used to convert them into HDF5 mohid input files and normally the former can be found on the reanalysis solutions while the latter is the format used for forecast.  
+
Global Forecasting System (GFS) files are packed under the GRIB protocol, following WMO protocol. There are two different types of GRIB files: GRIB1 and GRIB2. GRIB2 is the most recent format, so that historical simulation files (e.g. reanalysis) are usually found in GRIB1 while the forecasts and recent analysis files are in GRIB2.
  
Reanalysis data in GRIB1 format can be collected from the NCEP FNL Operational Model Global Tropospheric Analyses, continuing from July 1999 found on this web address. To collect the data you must become a registered user http://dss.ucar.edu/datasets/ds083.2/
+
Reanalysis data in GRIB1 format can be collected from the NCEP FNL Operational Model Global Tropospheric Analyses http://dss.ucar.edu/datasets/ds083.2/, from July 1999. To collect the data you must become a registered user.
  
Forecasting data in GRIB2 format it is collected from the NOAA ftp site ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/ within this page it is located different folders, that are changing continuosly the name of the folder indicate the date and time when they were produced with the following format gfs.yyyymmddhh . In example, the folder named gfs.2009081406 indicated results produced at 6 a.m. of the 14th of August 2009. Inside each folder, It can be found different files, our interest are mainly in the files named with the following format gfs.tXXz.pgrb2bfYY that indicate that are gfs files, produced at the time XX and that correspond to the YY hour after the beginning of the simulation. Results are produced every 3 hours and the size of each file is around 40 MB.
+
GFS forecasts in GRIB2 format can be downloaded from ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/. This ftp has a different folder for each simulation. The name indicates the begining of the simulation (gfs.yYYYYMMDDHH). For example, the folder named gfs.2009081406 indicated results produced at 6 a.m. (UTC) of the 14th of August 2009. Inside each folder, there can be found different files, but our interest is mainly in the files named with the following format '''gfs.tHHz.pgrb2bfHZ''' that indicate that are gfs files, produced at the simulation hour HH and that correspond to the HZ forecast hour (after the beginning of the simulation). Results are produced every 3 hours and the size of each file is around 40 MB.
  
Windows
+
==Ungrib==
  
GRIB1 files are first unpacked into ASCII or binary files with the help of WGRIB while GRIB2 are converted into ASCII, binary or NETCDF. Once our files are converted into ASCII text files they would be converted into HDF5 files through a Matlab code.  
+
GRIB1 files can be converted into ASCII or binary files with '''wgrib.exe''' while GRIB2 arte converted into ASCII, binary or NETCDF with '''wgrib2.exe''' Once our files are converted into ASCII text files they would be converted into HDF5 files through a Matlab code.  
  
The WGRIB and WGRIB2 programs can be downloaded at the NOAA´s Climate Prediction Center website http://www.cpc.noaa.gov/products/wesley/
+
The wgrib and wgrib2 programs can be downloaded at the NOAA´s Climate Prediction Center website http://www.cpc.noaa.gov/products/wesley/
  
WGRIB2
+
===wgrib2.exe===
  
The WRIB2.exe is executed through a Dos command-line and present a wide list of options. In order to reduce the computing space, the extracted domain has been limited through the option -small_grib. A typical command-line using this option would be:
+
The wgib2.exe is a command-line program and presents a wide list of options. In order to reduce the computing space, the extracted domain can be limited through the option -small_grib. A typical command-line using this option would be:
  
wgrib2 20090101/gfs.t00z.pgrb2f00 -small_grib -10:11 30:45 Smallergrib00.grib
+
wgrib2 20090101/gfs.t00z.pgrb2f00 -small_grib -10:11 30:45 Smallergrib00.grib
  
 
where -10:11 is the longitude interval, 30:45 is the latitude interval and Smallergrib00.grib correspond to the new grib file.  
 
where -10:11 is the longitude interval, 30:45 is the latitude interval and Smallergrib00.grib correspond to the new grib file.  
Line 23: Line 23:
 
Once executed, the outputs are .dat files each containing a different property with the following correspondences:
 
Once executed, the outputs are .dat files each containing a different property with the following correspondences:
  
  HR2m - Relative Humidity 2 m above ground [%]
+
*HR2m - Relative Humidity 2 m above ground [%]
  LAND - Land Cover (1=land, 0=sea) [Proportion]
+
*LAND - Land Cover (1=land, 0=sea) [Proportion]
  MSLP - Pressure Reduced to Mean Sea Level [Pa]
+
*MSLP - Pressure Reduced to Mean Sea Level [Pa]
  TCDC - Total Cloud Cover [%]
+
*TCDC - Total Cloud Cover [%]
  TMP2m - Temperature 2 m above ground [K]
+
*TMP2m - Temperature 2 m above ground [K]
  U - U-Component of Wind 10 m above ground [m/s]
+
*U - U-Component of Wind 10 m above ground [m/s]
  V - V-Component of Wind 10 m above ground [m/s]
+
*V - V-Component of Wind 10 m above ground [m/s]
  
  

Revision as of 15:13, 21 August 2009

This article is about GFS and is under construction

Global Forecasting System (GFS) files are packed under the GRIB protocol, following WMO protocol. There are two different types of GRIB files: GRIB1 and GRIB2. GRIB2 is the most recent format, so that historical simulation files (e.g. reanalysis) are usually found in GRIB1 while the forecasts and recent analysis files are in GRIB2.

Reanalysis data in GRIB1 format can be collected from the NCEP FNL Operational Model Global Tropospheric Analyses http://dss.ucar.edu/datasets/ds083.2/, from July 1999. To collect the data you must become a registered user.

GFS forecasts in GRIB2 format can be downloaded from ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/. This ftp has a different folder for each simulation. The name indicates the begining of the simulation (gfs.yYYYYMMDDHH). For example, the folder named gfs.2009081406 indicated results produced at 6 a.m. (UTC) of the 14th of August 2009. Inside each folder, there can be found different files, but our interest is mainly in the files named with the following format gfs.tHHz.pgrb2bfHZ that indicate that are gfs files, produced at the simulation hour HH and that correspond to the HZ forecast hour (after the beginning of the simulation). Results are produced every 3 hours and the size of each file is around 40 MB.

Ungrib

GRIB1 files can be converted into ASCII or binary files with wgrib.exe while GRIB2 arte converted into ASCII, binary or NETCDF with wgrib2.exe Once our files are converted into ASCII text files they would be converted into HDF5 files through a Matlab code.

The wgrib and wgrib2 programs can be downloaded at the NOAA´s Climate Prediction Center website http://www.cpc.noaa.gov/products/wesley/

wgrib2.exe

The wgib2.exe is a command-line program and presents a wide list of options. In order to reduce the computing space, the extracted domain can be limited through the option -small_grib. A typical command-line using this option would be:

wgrib2 20090101/gfs.t00z.pgrb2f00 -small_grib -10:11 30:45 Smallergrib00.grib

where -10:11 is the longitude interval, 30:45 is the latitude interval and Smallergrib00.grib correspond to the new grib file.

Once executed, the outputs are .dat files each containing a different property with the following correspondences:

  • HR2m - Relative Humidity 2 m above ground [%]
  • LAND - Land Cover (1=land, 0=sea) [Proportion]
  • MSLP - Pressure Reduced to Mean Sea Level [Pa]
  • TCDC - Total Cloud Cover [%]
  • TMP2m - Temperature 2 m above ground [K]
  • U - U-Component of Wind 10 m above ground [m/s]
  • V - V-Component of Wind 10 m above ground [m/s]