[Characteristic]
- Visualization tools are needed to understand ECMWF model results, and this program is software designed to accomplish this purpose.
[Function]
- Convert grib data to another format
- [Method 1] converting grib-> ctl using wgrib batch file
- [Method 2] grib-> NetCDF conversion using ncl library
- Visualize in ctl or NetCDF format
[Materials]
-
Data : Surface temperature in ECMWF model
-
Period : June 2016
[Method] -
None
[How to] -
Same directory location for libraries required for GrADS visualization
- xcbar.gs (Source : http://kodama.fubuki.info/wiki/wiki.cgi/GrADS/script?lang=jp)
- worldmap (Source : ftp://cola.gmu.edu/grads/boundaries/worldmap)
- convert grib data to ctl
- [Method 1] converting grib-> ctl using wgrib batch file
- [Step 1] Download grib2ctl.pl source code
wget "ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib.scripts/grib2ctl.pl"
- [Step 2] wgib.c source code download
wget "ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/wgrib.c"
- [Step 3] Compiling with wgrib.c
gcc wgrib.c -o wgrib
- [Step 4] Setting and Granting wgrib and GrADS Environment Variables
open grib2ctl.pl
$wgrib=’wgrib’
$wgrib=’/usr/local/bin/wgrib
$pdef_dir=’/usr/local/lib/grads
chmod 755 grib2ctl.pl
- [Step 5] Transform ctl according to analysis site and prediction field
- Analyst Field
grib2ctl.pl grib_file > grib_file.ctl
gribmap -i grib_file.ctl -0
- Prediction
grib2ctl.pl -verf grib_file > grib_file.ctl
gribmap -i grib_file.ctl
- Analyst Field
- [Method 2] grib-> NetCDF conversion using ncl library
- ncl_convert2nc grib_file > input.nc
- Visualization_Using_Grib_Format_of_ECMEF_Model_Result.csh)
- Check the visualization result
[OS]
- Linux
[Language]
- GrADS
- ShellScript (csh)
[Source Code]
- Visualization Using Grib Format of ECMWF Model Result
- Visualization Using ASCII Format Radiation Transfer Model (RTM) Result
- Visualization using Medium Weather Model (WRF ARW)
[Result]