Download WRF Model
Transcript
WPS supplied with Vtable files for many sources of meteorological data, and the appropriate Vtable may simply be symbolically linked to the file Vtable, which is the Vtable name expected by ungrib. For example, if the GRIB data are from the GFS model, this could be accomplished with > ln -s ungrib/Variable_Tables/Vtable.GFS Vtable The ungrib program will try to read GRIB files named GRIBFILE.AAA, GRIBFILE.AAB, …, GRIBFILE.ZZZ. In order to simplify the work of linking the GRIB files to these filenames, a shell script, link_grib.csh, is provided. The link_grib.csh script takes as a command-line argument a list of the GRIB files to be linked. For example, if the GRIB data were downloaded to the directory /data/gfs, the files could be linked with link_grib.csh as follows: > ls /data/gfs -rw-r--r-- 1 42728372 gfs_080324_12_00 -rw-r--r-- 1 48218303 gfs_080324_12_06 > ./link_grib.csh /data/gfs/gfs* After linking the GRIB files and Vtable, a listing of the WPS directory should look something like the following: > ls drwxr-xr-x -rwxr-xr-x -rwxr-xr-x -rw-r--r--rwxr-xr-x -rw-r--r--rw-r--r--rw-r--r-drwxr-xr-x lrwxrwxrwx -rw-r--r-lrwxrwxrwx lrwxrwxrwx -rwxr-xr-x drwxr-xr-x lrwxrwxrwx -rw-r--r--rw-r--r--rw-r--r--rw-r--r--rw-r--r-drwxr-xr-x lrwxrwxrwx drwxr-xr-x lrwxrwxrwx 2 1 1 1 1 1 1 1 4 1 1 1 1 1 3 1 1 1 1 1 1 4 1 3 1 4096 1672 3510 85973 4257 2486 1957004 4745324 4096 23 11169 38 38 1328 4096 23 1094 1987 1075 652 4786 4096 21 4096 33 arch clean compile compile.output configure configure.wps geo_em.d01.nc geo_em.d02.nc geogrid geogrid.exe -> geogrid/src/geogrid.exe geogrid.log GRIBFILE.AAA -> /data/gfs/gfs_080324_12_00 GRIBFILE.AAB -> /data/gfs/gfs_080324_12_06 link_grib.csh metgrid metgrid.exe -> metgrid/src/metgrid.exe namelist.wps namelist.wps.all_options namelist.wps.global namelist.wps.nmm README ungrib ungrib.exe -> ungrib/src/ungrib.exe util Vtable -> ungrib/Variable_Tables/Vtable.GFS After editing the namelist.wps file and linking the appropriate Vtable and GRIB files, the ungrib.exe executable may be run to produce files of meteorological data in the intermediate format. Ungrib may be run by simply typing the following: > ./ungrib.exe >& ungrib.output WRF-ARW V3: User’s Guide 3-15