Add subsampling option to topocorr routines.