libdatrwxx: confusing VIOLATION message
When reading MiniSEED data with inconsistent frame count libdatrwxx reports:
VIOLATION of condition: (iframe==nframes)
in mseed/mseedread_mseedrecord_read.cc at line 224
message: ERROR (reading MiniSEED record): inconsistent frame count
comment: number of frames (53) differs from expected number (63)
Without further hints this is confusing to users. This problem not necessarily inhibits reading of data. With data from some data loggers (like pri-files from Earth Data loggers) this problem occurs with any data files.
The library should
- give a proper and helpful hint whether this is critical or not
- refer to further information in the documentation
- provide means to suppress this message in cases where the problem is known and can be ignored