Cosmo software

Last updated: see individual packages

The software COSMO members use, falls into two broad categories: official packages and other shared software. The goal of this page is to promote the sharing of both major code and all sort of useful utilities among members.

Not all software can be downloaded from this page (the model itself being the most notable case). Some of it is registered and you have to contact its owners first.

Currently, the following programs are available here: official COSMO software: ExtPar, Fieldextra, SNOWE and VERSUS others: CALMO metamodel,TERRA standalone

Official software

Int2lm & Cosmo model

Last updated: as in DWD ftp site

The use of the 'Cosmo' model is free of charge for research applications and conditionally for national meteorological Services (see the licensing terms).

To obtain the source code of Int2lm (produces native input for Cosmo) and Cosmo (the forecasting model itself), you have to register first (even for the case of free use).

For information about eligibility and access, please contact: cosmo-licence@cosmo-model.org.

After registration, you will receive instructions on where to download the src tarballs and all necessary external files (orography, landcover etc) and instructions on how to compile, build and run the model.

EXTPAR (COSMO preprocessing software)

Last updated: Nov 2018

EXTPAR (EXTernal PARameters for Numerical Weather Prediction and Climate Application) is an official software of the COSMO consortium.
It is used to prepare the external parameter data files that are used as input for the COSMO model; additionally now fully supports the ICON model.

Version 5.0.0 (November 2018)
Source Code Administrator Katherine Osterried, C2SM (katherine.osterried@env.ethz.ch)
Category pre-processing
Platforms Linux, Unix
Language Fortran 2008, Python
External zlib and HDF5 & NetCDF libraries
Downloads Source code (3.7MiB) & User Manual (pdf, 1.1MiB)
Github github.com, C2SM-RCM/extpar (private)
Fieldextra (COSMO postprocessing software)

Last updated: Feb 2018

Fieldextra is a generic tool to manipulate NWP model data and gridded observations; simple data processing and more complex data operations are supported. Fieldextra is designed as a toolbox; a set of primitive operations which can be arbitrarily combined are provided.

A strong focus of this program is the production environment, with a lot of effort being put in the robustness of the code, in an extensive reporting of exceptions, and in memory and CPU optimization. This program is used, in particular, for production at MeteoSwiss, at DWD and for COSMO-LEPS at ECMWF.

Full installation of the latest releases of fieldextra are available at ECMWF, on cca, in /perm/ms/ch/ch7/projects/fieldextra (UNIX group cfxtra).

A self-contained package of the latest major production release is available through the link in the 'Downloads' section below. This package contains the source files and all external libraries required to build the code. All resources files used at run time are also provided, as well as comprehensive documentation. A set of command line tools, based on fieldextra, is also part of the package.

In order to participate to the development of the code, or to access to the latest development release, you need to have access to the GitHub platform. For that, you first have to create an account, which is free of charges, and ask the code owner for access to the fieldextra repository.

A summary of the features introduced in each releases, planning of development, and usage within the Consortium, are documented at the dedicated fieldextra GitHub wiki.

Version 12.8.0 (02.02.2018)
Source Code Administrator Jean-Marie Bettems / MeteoSwiss (jean-marie.bettems@meteoswiss.ch)
Category Pre-processing, post-processing
Platforms Linux, Unix, MacOS X
Language Fortran 2008
External ECMWF GRIB API, JasPer library, AEC library, NetCDF library, HDF5 library, Z library, RTTOV library, DWD icontools (all included in package)
Downloads Package (1.3GiB, tar.gz, incl. regression suite), Introduction (pdf) and Primer (pdf)
GitHub https://github.com/MeteoSwiss-APN/fieldextra (protected - use the 'sign in' field at the top of the page opened by this link)
Tutorials 2011 (1.4Mb tar.gz, from Bologna workshop)
SNOWE (full featured snow analysis software)

Last updated: Dec 2016

SNOWE is a standalone software package to prepare the initial snow water equivalent and snow density fields required by the COSMO model. It combines satellite derived snow map, SYNOP standard observations, and COSMO forecast fields within an intermittent assimilation cycle.

Because snow density observations are almost never available, one major issue faced by any snow analysis scheme is the transformation from observed snow height into snow water equivalent. One specific feature of this package is to use observations driven 1-dimensional snow model at each SYNOP location to derive the snow pack density, in order to transform observed snow height into snow water equivalent. This approach has proven to be successful to significantly reduce the T2m bias at the boundary of the snow pack over the Russian teritory.

A full description of the method implemented in this package is found in section 4 of the associated COSMO report.

Roshydromet is further developing and improving this software package. Both the original software resulting from the PT SNOWE (version 1.0) and the most recent software used at RHM (currently version 2.0) are available for download .

Version 1.0 (Aug. 2016)
Source Code Administrator Inna Rozinkina / RHM (inna.rozinkina@mail.ru)
Category Pre-processing, assimilation
Platforms Linux, Unix
Language Fortran 90, C++
External ECMWF GRIB APIJasPer library
Downloads Source with example files (0.5GiB), full description (inluding validation of the method), technical description (pdf, 0.5MiB) and PT SNOWE plan (including motivation, pdf, 0.4KiB)
Version 2.0 (Oct. 2017)
Downloads Source (zip file), technical description (pdf, 0.5MiB)
GitHub NA
VERSUS (verification software)

Last updated: Dec 2016

VERSUS, consisting in an Italian Air Force Meteorological Service issued system, is the official verification dedicated tool within COSMO consortium. Versus is a flexible and configurable modular system, able to analyze mathematical models behaviour by studying statistical indexes and time series. This software is used for the production of the common verification products (Common Plots) for Cosmo Consortium.

Full installation package of the latest releases of Versus is available on Italian Air Force Met Service ftp server (ftp.meteoam.it). The installation package is in the directory VERSUS_INSTALLATION/VERSUS_5.1.5 and it includes the patch_versus-5.1.5.tar.gz file for the patch installation and the versus5.1.5.tar.gz file for the installation from scratch. In order to get the latest available release, you need to have access to the ftp.meteoam.it server. For that, you first have to ask the code owner for access credentials to the server.

Version 5.1.5 (May 2018)
Source Code Administrator Francesco Batignani (francesco.batignani@aeronautica.difesa.it)
Category Objective Verification
Platforms Linux
Language R (numerical scores computation), jpGraph (graphical production), PHP (web-GUI), MySQL (RDBMS)
External ECMWF GRIB API, BUFR, PHOENIX, SWIG
Downloads ftp.meteoam.it server (patch_versus-5.1.5.tar.gz, versus5.1.5.tar.gz), user manual, technical manual
GitHub NA

Other software

CALMO meta-model (model calibration)

Last updated: Feb 2017

The calibration method used by the CALMO project optimizes a global model performance score by adjusting the values of a set of unconfined model parameters. A central element of the calibration process is the so called meta-model, which represents with a simple mathematical function the dependency of some representative model fields on the selected model parameters. The mathematical function at the core of the meta-model is calibrated by a set of full model simulations over a time period long enough to represent the variability of the atmospheric conditions. Once fully specified, the meta-model supports a fast sampling of the parameter space to find an optimal combination of the model parameters.

In order to participate to the development of the code, or to access to the latest development release, you need to have access to the GitHub platform. For that, you first have to create an account, which is free of charges, and ask the code owner for access to the fieldextra repository.

Version 1.0 (Feb. 2017)
Source Code Administrator Itsik Carmona / IMS (carmonai@ims.gov.il)
Category Model development
Platforms Linux, Unix, Window
Language Matlab
External Matlab statistical toolbox
Downloads Source (23MiB), user intro (pdf, 0.3MiB), technical description (pdf, 3.1MiB - see appendix A), original description by Omar Bellprat (pdf, 1.1MiB)
GitHub https://github.com/COSMO-ORG/CALMO-MM (protected - use the 'sign in' field at the top of the page opened by this link)
TERRA standalone (COSMO externalized soil & surface module)

Last updated: Jun 2016

TSA is an externalized version of the soil-vegetation-atmosphere transfer scheme of the COSMO model, originally developed by Felix Ament. It consists of the soil module TERRA combined with a simplified transfer scheme, parameterizations of the radiation interaction at the surface, and the annual cycles of vegetation parameters. Except for the transfer scheme, all components are copied from the operational model.

The operational transfer scheme developed by M. Raschendorfer (DWD) requires information about atmospheric TKE, which is in general not available by measurements or past analysis fields. Therefore TSA uses the Louis scheme which was used by COSMO in former times.

TSA can be computed at a single point or on a geographical domain. It requires the associated external parameters, the atmospheric forcing, and some initial conditions. It uses the GRIB1 format for input/output files (or some ad hoc format for atmospheric observations).

In order to participate to the development of the code, or to access to the latest development release, you need to have access to the GitHub platform. For that, you first have to create an account, which is free of charges, and ask the code owner for access to the fieldextra repository.

Version 5.3 (Sep. 2016)
Source Code Administrator Yiftach Ziv / IMS (zivy@ims.gov.il)
Category Pre-processing, component testing
Platforms Linux, Unix
Language Fortran 90
External DWD GRIB1 library (included in package)
Downloads Source (161MiB tar.bz2, with example grib files), Readme (pdf, 0.5Mib) and PT Terra SAnta final report (including validation and spin-up evaluatioan, pdf 0.8MiB)
GitHub https://github.com/COSMO-ORG/terra-standalone (protected - use the 'sign in' field at the top of the page opened by this link)