Local inertial oscillations in the surface ocean generated by time-varying winds