fmihpc / analysator

Python based package for analyzing vlsv files produced by Vlasiator
GNU General Public License v2.0
5 stars 32 forks source link

Suppression of printouts/verbosity settings #248

Open alhom opened 2 weeks ago

alhom commented 2 weeks ago

Currently, launching analysator produces some lines when initializing, and e.g. plot_vdf prints out (admittedly useful) information, but these can swamp outputs pretty fast when plotting several VDFs or when using analysator to read data from multiple MPI processes (see https://github.com/kstppd/asterix for a usecase).

https://docs.python.org/3/library/logging.html could be a standard library solution, instead of cooking up a custom verbosity flag system.