OceanMesh2D icon indicating copy to clipboard operation
OceanMesh2D copied to clipboard

Verbosity

Open krober10nd opened this issue 4 years ago • 3 comments

  • some methods are excessively verbose (msh.clean) for example.

  • perhaps we could handle this in a more consistent way with more controls. For example introducing a verbose kwarg to all methods that is either true or false and false will silence all output while true is left for debugging and advanced use cases.

  • Often warning messages become lost in the sea of text and it’s simply messy.

krober10nd avatar Feb 15 '21 23:02 krober10nd

I think that's a fair comment.

Could we add a m.messages field to show what operations have been performed on it and any notes.

e.g.,

  • msh.interp() method was performed on 2030/12/12 12:00 UTC with the following input options: filename = GEBCO, CA = 1, ...
  • msh.bound_courant_number() method was performed on 2030/12/12 12:05 UTC with the following input options: dt = 2, cr_max = 1, .... Important note: boundary conditions were deleted during this step.

WPringle avatar Feb 16 '21 00:02 WPringle

I really like the idea of keeping a record in the object indicating in plain English what was done.

krober10nd avatar Feb 16 '21 00:02 krober10nd

#200

CHLNDDEV avatar Mar 20 '21 19:03 CHLNDDEV