Skip to content
jdha edited this page May 20, 2021 · 1 revision

pyNEMO namelist tool [nml meld]

skeleton overview

Objective

To create a simple tool to difference and/or format NEMO style namelists

Why?

Often it is painful to compare namelists that come from difference institutions that are formatted in a different fashion. It also becomes problematic moving from one code version to another (although less so now most of the cpp keys have been removed.

What?

A simple tool that can either be deployed as a GUI or on the command line that can perform the following:

  • diff namelists
  • generate a ref nameless from a particular code base
  • check that your namelist complies with the code you're running
  • reformat a namelist into a 'standard' format for a given code base
  • copy settings from one namelist to another

Next steps:

  • set up package structure
  • add a Conda YML file for the environment
  • employ a pre-commit hook for Black
  • populate repo with exist ad-hoc code
  • employ CI, to aid multi developers
  • start sketching out some unit tests to employ
  • document
Clone this wiki locally