checkout loc_data_gen.py from master branch (remove downsampling)