Warning
This package is still under construction!!
Smart Diffs for Fortran Namelists. Allows you to compare two different namelists and takes care of order of entries within a namelist chapter, order of the actual chapters, comments, and case sensitivity. Regular diff would just show you line by line differences.
- Easily compare namelists via the command line
- Python API for generating diffs withing Python
- Jupyter compatability, shows diffs in rich HTML
You can use Namelist Diff in the following ways:
$ nmldiff /path/to/nml1 /path/to/nml2 .....TODO.....
>>> from namelist_diff import NamelistDiff
>>> diff = NamelistDiff("/path/to/nml1", "/path/to/nml2")
>>> print(diff)
... TODO ... (should be same as above)
... TODO screenshot ...
Namelist Diff is available under GPL v3.
Please contact Paul <pgierz@awi.de> for help. Bug reports are always welcome, it helps me make the program better!
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Additional modifications to the cookiecutter template were made by Paul Gierz.