Skip to main content

A collection of tools to compare and process ICON namelists

Project description

icon-nmltools

This package provides command line tools (written in python) to deal with namelist files of the ICON numerical weather prediction model of DWD/MPI.

nmldiff

Displays differences between two ICON namelists. It is also possible to provide an ICON namelist logfile to read the default values and consider them in the comparison. Output and Meteogram namelists are excluded from the comparison. Report bugs and missing features on https://gitlab.physik.uni-muenchen.de/Tobias.Selz/icon-nmltools or via email.

Example usage

To see the available options:

nmldiff -h
nmldiff --help

Display the differences between two namelist files (nmlfile1 and nmlfile2):

nmldiff nmlfile1 nmlfile2

Display the differences, but with defaults values filled:

nmldiff -d nml.log nmlfile1 nmlfile2

Show all namelist parameters that are set in either file (differences will be highlighted in red) and consider the defaults. Also ignore namelist parameters that contain file or path in their name:

nmldiff -vi -d nml.log nmlfile1 nmlfile2

Installation

The tools can easily installed via pip. A Python-version >=3.6 is required.

pip install icon-nmltools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icon-nmltools-0.1b0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

icon_nmltools-0.1b0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page