wrfhydropy.diff_namelist

wrfhydropy.diff_namelist(old_namelist: Namelist | str, new_namelist: Namelist | str, **kwargs) dict[source]

Diff two Namelist objects or fortran 90 namelist files and return a dictionary of differences.

Parameters:
  • old_namelist – String containing path to the first namelist file, referred to as ‘old’ in

  • outputs.

  • new_namelist – String containing path to the second namelist file, referred to as ‘new’ in

  • outputs.

  • **kwargs – Additional arguments passed onto deepdiff.DeepDiff method

Returns:

The differences between the two namelists