def assertWriteMode(self):
        if self.file_mode == "r":
            raise LaspyHeaderException("Header instance is not in write mode.")
Assert that header has permission to write data to file.
dataset/ETHPy150Open grantbrown/laspy/laspy/header.py/HeaderManager.assertWriteMode