Modeling variable seasonal features with the Fourier transform