refine OpenTopo TIFF script