I used sleep cycle for a long time, and they had a feature of how wheather, air pressure and location affect sleep.
could be improved with humidity, pollution and another’s metrics