Skip to content

labeneator/matplotlib_gfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

matplotlib_gfs

Matplotlib and the NOAA's Global Forecasting System.

A quick intro on how to play around with GFS data using matplotlib. Ideas come from:

Prerequisites

Fetched data from NOAA.

http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013032712/

Installed particular this dataset: http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013032712/gfs.t12z.sfluxgrbf03.grib2

Installed wgrib2:

http://www.cpc.ncep-global-forecast-systemep.noaa.gov/products/wesley/wgrib2/index.html

Extracted the fields I was interested in from the grib2 file into netcdf

./grib2/wgrib2/wgrib2  -s  gfs.t12z.sfluxgrbf03.grib2  | grep :LAND | ./grib2/wgrib2/wgrib2 -i gfs.t12z.sfluxgrbf03.grib2 -netcdf land.netcdf
../grib2/wgrib2/wgrib2  -s  gfs.t12z.sfluxgrbf03.grib2  | grep TMP:2 | ./grib2/wgrib2/wgrib2 -i gfs.t12z.sfluxgrbf03.grib2 -netcdf temp2.netcdf
../grib2/wgrib2/wgrib2  -s  gfs.t12z.sfluxgrbf03.grib2  | grep VEG: | ./grib2/wgrib2/wgrib2 -i gfs.t12z.sfluxgrbf03.grib2 -netcdf vegetation.netcdf
../grib2/wgrib2/wgrib2  -s  gfs.t12z.sfluxgrbf03.grib2  | grep TCDC: | ./grib2/wgrib2/wgrib2 -i gfs.t12z.sfluxgrbf03.grib2 -netcdf cloud.netcdf

You can view the available fields using:

../grib2/wgrib2/wgrib2  -s  gfs.t12z.sfluxgrbf03.grib2  | less

And visiting: http://www.nco.ncep.noaa.gov/pmb/products/gfs/gfs.t00z.sfluxgrbf00.grib2.shtml

About

Matplotlib and the NOAA's Global Forecasting System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published