update process_dem.py