A method for regional climate change detection using smooth temporal patterns