obspy.io.mseed.util._convert_and_check_encoding_for_writing
- _convert_and_check_encoding_for_writing(encoding)[source]
Helper function to handle and test encodings.
If encoding is a string, it will be converted to the appropriate integer. It will furthermore be checked if the specified encoding can be written using libmseed. Appropriate errors will be raised if necessary.