Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Hard-coded parameters

Some of the most important FLEXPART parameters cannot specified as a run time option but are hard-coded in the source. The FLEXTRA installation at ECMWF uses the following set of hard-codes coded parameters:

DescriptionValueParameter in sourceSource file
Maximum number of grid points in E-W (input grid)

721

nxmaxpar_mod.f90
Maximum number of grid points in N-S (input grid)361nymaxpar_mod.f90
Maximum number of model levels (input grid)138 par_mod.f90
Maximum number of species16maxspecpar_mod.f90
Maximum number of particles2000000maxpartpar_mod.f90
Maximum number of age classes110maxageclasspar_mod.f90
Maximum number of receptor sites200maxreceptorspar_mod.f90
Maximum number of output grid nests0maxnestspar_mod.f90

...

To make FLEXPART work at ECMWF the following modifications had to be made in the source code:

1. Resolve  Resolve type mismatch in err.f90 with newer gfortran compiler: see flextra ticket49

...

In par_mod.f90 line 125 had to be modified:

3. Increase maximum number of age classes

In par_mod.f90:

Image Added

 

4. Increase maximum number of species

In par_mod.f90:

Image Added