removed unused variable
factor out `process_measures`, to share between importer/task, refs #98