25.12.2012 Views

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Required Libraries<br />

The only library that is required to build the <strong>WRF</strong> model is NetCDF. The user can find<br />

the source code, precompiled binaries, and documentation at the UNIDATA home page<br />

(http://www.unidata.ucar.edu/software/netcdf/). Most users will select the NetCDF I/O<br />

option for WPS due to the easy access to utility programs that support the NetCDF data<br />

format, and before configuring the WPS, users should ensure that the environment<br />

variable NETCDF is set to the path of the NetCDF installation.<br />

Where <strong>WRF</strong> adds a software layer between the model and the communications package,<br />

the WPS programs geogrid and metgrid make MPI calls directly. Most multi-processor<br />

machines come preconfigured with a version of MPI, so it is unlikely that users will need<br />

to install this package by themselves.<br />

WPS<br />

Three libraries are required by the ungrib program for GRIB Edition 2 compression<br />

support. Users are encouraged to engage their system administrators for the installation of<br />

these packages so that traditional library paths and include paths are maintained. Paths to<br />

user-installed compression libraries are handled in the configure.wps file by the<br />

COMPRESSION_LIBS and COMPRESSION_INC variables.<br />

1) JasPer (an implementation of the JPEG2000 standard for "lossy" compression)<br />

http://www.ece.uvic.ca/~mdadams/jasper/<br />

Go down to “JasPer software”, one of the "click here" parts is the source.<br />

> ./configure<br />

> make<br />

> make install<br />

Note: The GRIB2 libraries expect to find include files in "jasper/jasper.h", so it may be<br />

necessary to manually create a "jasper" subdirectory in the "include" directory created by<br />

the JasPer installation, and manually link header files there.<br />

2) PNG (compression library for "lossless" compression)<br />

http://www.libpng.org/pub/png/libpng.html<br />

Scroll down to "Source code" and choose a mirror site.<br />

> ./configure<br />

> make check<br />

> make install<br />

3) zlib (a compression library used by the PNG library)<br />

http://www.zlib.net/<br />

Go to "The current release is publicly available here" section and download.<br />

> ./configure<br />

> make<br />

> make install<br />

<strong>WRF</strong>-<strong>ARW</strong> V3: User’s <strong>Guide</strong> 3-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!