warning added for depreciated keyword downsamplingrescale