An aviation enthusiast has captured the nail-biting moment an Edinburgh flight made a shaky landing just hours before a red weather warning came into effect.