generalise sampling for different sensors (atsr.3, atsr.2, ...)