Code related to measuring the data quality of SALT observations