A spherical model of wave generation in the atmosphere by the solar terminator