Version 4 (modified by ignacio, 5 years ago) (diff)


FLEPXART-NorESm/CAM (V1) is based on FLEXPART V9. Compared to the standard FLEXPART V9 this NorESm/CAM version does not allow nesting and it is tailored to run using the grid resolution of NorESM in the CMIP5 configuration (1.89°×2.5°) and 26 vertical levels. The code is very similar to the original FLEXPARTV9. It uses a PATHNAMES file, and a COMMAND file to input the simulations settings. In COMMAND there is an added flag to set the method to calculate the vertical velocity (see the GMD manuscript) and in PATHNAMES there is an additional path to a file defining the grid structure of the meteorological input data.

The download and installation test procedure:

1) Create a base directory e.g.

mkdir ~/repos

2) Get the code using Git, type the command:

git clone -b flexpart-noresm

Make sure Git is installed in your system This will create a local “flexpart” directory containing the sub-directories “src” (with sources), “tests” and “options”

3) Get the meteorological data and two extra “.dat” files needed by FLEXPART (~650 Mb)

Downloading the file “flexpartnoresm.dat.tar” from:

4) Decompress the data using the command:

tar -xf flexpartnoresm.dat.tar

the archive contains the driving meteorological data for tests (in sub-directory “meteogrid”) and two essential input “.dat” files that FLEXPART needs in the “options” directory

5) be sure to move the two input “.dat files” mentioned in (4) to the options directory e.g. use command:

mv *.dat options

6) Once the structure is in place one has to create the executable.

a) make sure the NetCDF libraries are available (

b) modify the makefile where needed to link to your local NetCDF library

c) make the executable: make -f makefile_noresm_gfortran

7) Finally test that the installation works

a) go to the “tests” directory

b1) execute the file ./create_tests It will create 3 basic test cases in the directory ~/repos/flexpart/tests_tmp

b2) or execute the file /create_and_run It will create the tests and run automatically

The Reference for the FLEXPART-NorESM/CAM model version is: Cassiani M., Stohl A., Olivié D., Seland Ø., Bethke I., Pisso I., Iversen T. (2016): The Lagrangian particle model FLEXPART-NorESM/CAM: model description, validation and an example application. To be submitted soon to Geoscientific Model Development.

hosted by ZAMG