passaH2O / dorado

For shallow-water Lagrangian particle routing.
https://passah2o.github.io/dorado
MIT License
54 stars 9 forks source link

Log print statements #32

Open elbeejay opened 2 years ago

elbeejay commented 2 years ago

We print to stdout with reckless abandon throughout the codebase. I think we should create functionality to optionally suppress these print statements (maybe a "quiet" flag or a "verbosity" argument), and/or we should also support printing any messages out to a .log file instead. This way they won't disappear with the terminal, and can be preserved with the particle walk data for review during post-processing or when the results of the simulation are later analyzed.