Tea for survey processing: a tutorial