make modis_hist.py work