smurf: Deal with bad values in pre-cleaned data when running makemap

Bad values need to flagged with BADDA flags in the quality array.