Versions Compared

Key

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

...

Some of the important FLEXTRA parameters cannot be specified at run time but are hard-coded in the source. The FLEXTRA installation at ECMWF uses the following set of hard-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 species6maxspecpar_mod.f90
Maximum number of particles2000000maxpartpar_mod.f90
Maximum number of age classes10maxageclasspar_mod.f90
Maximum number of receptor sites200maxreceptorspar_mod.f90
Maximum number of output grid nests0maxnestspar_mod.f90

Compilation

compiler: gfortran

...

Necessary code modifications

To make FLEXTRA work at with ECMWF data in the desired way the following modifications had to be were made in the source code:

Make FLEXTRA work for 137 model levels

In includepar modify line 38:

Image Added

and also modify line 83 in gridcheck.f.

Image Added

Increase file name buffer length

In includecom modify line 264:

Image Added

Fix bug when a limited area domain is incorrectly detected as global

In gridcheck.f add this code to line 276:

Image Added