Professional Documents
Culture Documents
If you intend to run WRFDA 4DVAR, it is necessary to have WRFPLUS installed first.
Note: if you intend to run both 3DVAR and 4DVAR experiments, it is not necessary to compile
the code twice. The da_wrfvar.exe executable compiled for 4DVAR can be used for both 3DVAR
and 4DVAR assimilation.
To install WRFPLUS (for versions prior to V4.0, see:
http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_V3.9/users_guide_chap6.htm#_Installing_
WRFPLUS_and_2)
> gunzip WRFV4.0.tar.gz
> tar -xf WRFV4.0.tar
> mv WRF WRFPLUS
> cd WRFPLUS
> ./configure wrfplus
As with 3D-Var, “serial” means single-processor, and “dmpar” means Distributed Memory Parallel
(MPI). Be sure to select the same option for WRFPLUS as you will use for WRFDA.
Compile WRFPLUS
> ./compile wrfplus >& compile.out
> ls -ls main/*.exe
If compilation was successful, you should see the WRFPLUS executable (named wrfplus.exe):
53292 -rwxr-xr-x 1 user man 54513254 Apr 6 22:43 main/wrfplus.exe
You should see the same 44 executables as are listed in the above 3DVAR section, including
da_wrfvar.exe
Mendownload libraries hdf5
hdfgroup.org/downloads/hdf5/
Kemudian ekstrak di dalam folder LIBRARIES dan rename menjadi hdf5
Buka Folder hdf5 dan Open Terminal
(VERSI FAZRUL)
./configure --prefix=/home/wahyu/WRF/LIBRARIES/hdf5 --with-
zlib=/home/wahyu/WRF/LIBRARIES/grib2 --enable-hl --enable-fortran --enable-cxx --enable-
shared
make check
make install
---
(VERSI GITHUB)
# hdf5 library for netcdf4 functionality
cd $HOME/WRF/Downloads
tar -xvzf hdf5-1.10.5.tar.gz
cd hdf5-1.10.5
./configure --prefix=$DIR --with-zlib=$DIR --enable-hl --enable-fortran
make check
make install
setenv HDF5=/home/wahyu/WRF/LIBRARIES/hdf5
setenv LD_LIBRARY_PATH=/home/wahyu/WRF/LIBRARIES/hdf5/lib:$LD_LIBRARY_PATH
Mendownload package WRFPLUS
Ekstrak WRFPLUS di dalam folder WRF
tar -xf WRFV4.0.TAR
mv WRF WRFPLUS
cd WRFPLUS
export NETCDF=/home/wahyu/WRF/LIBRARIES/netcdf
./configure wrfplus
→ Enter selection : 18
./compile wrfplus
Cek Keberhasilan: ls -ls main/*.exe
Sebelum menginstall WRFDA jika ingin menambahkan RTTOV:
Download RTTOV