Versions Compared

Key

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

...

The Metview source bundle is a single package containing the source code for MetviewMagicsGRIB ecCodes and ODB API and Emoslib. It allows for a simpler way to build and install Metview and the ECMWF software on which it depends. Instead of downloading, configuring, building, testing and installing each package separately, the bundle allows these steps to be performed for just one software package - the bundle itself. Building the bundle triggers the building of each of the component packages automatically, and they will 'see' each other, so for example Metview will be linked with the ecCodes which is part of the bundle, with no need to point it to an already-installed version.

Please follow the general CMake instructions below, and refer to the installation instructions of the individual packages for the tables of available CMake options for each. Options given to CMake will be passed to every component package of the bundle. Certain of these are set by default, for example Magics will be built with Metview and BUFR support enabled.

Note that the bundle has two additional CMake options:

CMake OptionDescriptionDefault
ENABLE_EXPOSE_SUBPACKAGESConfigures the sub-packages to be installed into the same directory level as Metview. If set to OFF, they will
be installed into a sub-directory; this option could be useful in order to avoid clashing with pre-existing
installations of, for example, ecCodes.
OFF
ENABLE_ECCODES
Please note: GRIB_API is no longer included in the bundle since the 2018.02.0 bundle release
Set this to OFF to build the bundle with the supplied GRIB_API instead of with the supplied ecCodes.ON
ENABLE_ODBSet this to ON to enable recognition and processing of ODB data with ODCOFF

Download



















Include Page
SUP:General CMake installation instructions
SUP:General CMake installation instructions

Requirements to build the Metview bundle

The following table lists the dependencies that the bundle requires to be built from source. Please note that when you install these packages you also might have to install the respective "-devel" packages.

Compilers
C++http://gcc.gnu.org/
Fortranhttp://gcc.gnu.org/fortran/
Utilities

make

http://www.gnu.org/software/make/
Third party libraries
Qthttp://www.qt.io/

if Metview's user interface is required (version 4.6.2 or later of Qt is needed).

Note that on some systems it is also necessary to install the libQtWebKit-devel development package (it may have different names on different systems)

gdbmhttp://www.gnu.org.ua/software/gdbm/
bashhttps://www.gnu.org/software/bash/
ImageMagickhttp://www.imagemagick.org/script/index.phpif Metview's user interface is required
projhttp://trac.osgeo.org/proj/
netcdf 4http://www.unidata.ucar.edu/software/netcdf/

Please note: You also need to install the legacy C++ interface and HDF5

cairohttps://www.cairographics.org/if png/pdf support needed
pangohttp://www.pango.org/if png/pdf support needed
expathttp://expat.sourceforge.net/


Overview

The Metview source bundle is a single package containing the source code for MetviewMagicsecCodes and ODB API. It allows for a simpler way to build and install Metview and the ECMWF software on which it depends. Instead of downloading, configuring, building, testing and installing each package separately, the bundle allows these steps to be performed for just one software package - the bundle itself. Building the bundle triggers the building of each of the component packages automatically, and they will 'see' each other, so for example Metview will be linked with the ecCodes which is part of the bundle, with no need to point it to an already-installed version.

Please follow the general CMake instructions below, and refer to the installation instructions of the individual packages for the tables of available CMake options for each. Options given to CMake will be passed to every component package of the bundle. Certain of these are set by default, for example Magics will be build built with Metview and BUFR support enabled.

Note that the bundle has two additional CMake options:

CMake OptionDescriptionDefault
ENABLE_EXPOSE_SUBPACKAGESConfigures the sub-packages to be installed into the same directory level as Metview. If set to OFF, they will
be installed into a sub-directory; this option could be useful in order to avoid clashing with pre-existing
installations of, for example, ecCodes.
OFF
ENABLE_ECCODES
Please note: GRIB_API is no longer included in the bundle since the 2018.02.0 bundle release
Set this to OFF to build the bundle with the supplied GRIB_API instead of with the supplied ecCodes.ON
ENABLE_ODBSet this to ON to enable recognition and processing of ODB data with ODCOFF

Download





Include Page
SUP:General CMake installation instructions
SUP:General CMake installation instructions
 

Requirements to build the Metview bundle

The following table lists the dependencies that the bundle requires to be built from source. Please note that when you install these packages you also might have to install the respective "-devel" packages.

Compilers
C++http://gcc.gnu.org/
Fortranhttp://gcc.gnu.org/fortran/
Utilities

make

http://www.gnu.org/software/make/
Third party libraries
Qthttp://www.qt.io/

if Metview's user interface is required (version 4.6.2 or later of Qt is needed).

Note that on some systems it is also necessary to install the libQtWebKit-devel development package (it may have different names on different systems)

gdbmhttp://www.gnu.org.ua/software/gdbm/
bashhttps://www.gnu.org/software/bash/
ImageMagickhttp://www.imagemagick.org/script/index.phpif Metview's user interface is required
projhttp://trac.osgeo.org/proj/
netcdf 4http://www.unidata.ucar.edu/software/netcdf/

Please note: You also need to install the legacy C++ interface and HDF5

cairohttps://www.cairographics.org/if png/pdf support needed
pangohttp://www.pango.org/if png/pdf support needed
expathttp://expat.sourceforge.net/