checked out tests/LD/cluster/process_data.py from branch jz