Fixes to spatial PDR calibration scripts.