Explicitly state default verbosity level in usage message (looks like -vv?)
Based on Jay Heinzelman's comments from testing GRB 1.0.
- Some extraneous python messages are being printed by default when I run the quicklook script. Looks like -vv [INFO] output?
[jayh@chai product]$ cspp-geo-grb-ql.sh OR_ABI-L1b-RadC-M3C13_G16_s20181851542221_e20181851545005_c20181851545035.nc --image_size 20.0 16.0 --stride 1 -O JAY 2018-07-30 19:11:14.254 (INFO) : ------------------------------------- 2018-07-30 19:11:14.254 (INFO) : Plotting quicklooks for file: /data/users/jayh/grb_output/product/OR_ABI-L1b-RadC-M3C13_G16_s20181851542221_e20181851545005_c20181851545035.nc 2018-07-30 19:11:14.272 (INFO) : Plotting variable: Rad /home/jayh/cspp-geo-grb-1.0/quicklooks/lvl1_data.py:377: UserWarning: Warning: converting a masked element to nan. 'kappa0': float(nc['kappa0'][:]) /home/jayh/cspp-geo-grb-1.0/quicklooks/lvl1_data.py:321: RuntimeWarning: invalid value encountered in log return (fk2 / numpy.log((fk1 / L) + 1.0) - bc1) / bc2
My reply:
There is a note in section 4.2 that the warnings can be ignored, and note that we are planning to suppress or redirect those messages in a future release. Might be worth a caveat in the doc (there is a Caveats / Known Issues section toward the end). As far as the info messages, I would say that is close to the typical level of verbosity from a CSPP package. The main program in the GRB package is an exception because it runs as a server, so all the output has to go to a log. Personally when I run a program to process data at the command line, I like to see some indication of what it is doing, without being overly verbose, so I think this is about right. Let us know if you have other ideas.
Could add a note to the usage message that -vv is the default, if that is indeed the case.
Note this is related to #17 (closed).