There is a fantastic French film by Eric Rohmer called Le Rayon vert (The Green Ray) where this phenomenon is a central element to the story.
https://www.wikiwand.com/en/The_Green_Ray_(film)
I cannot recommend this film highly enough. Beautifully shot, heartfelt, and often hilarious dialogue. I discovered Rohmer and this film through a screening Richard Linklater and the Austin Film Society hosted. Linklater introduced the film and he hosted a nice audience discussion afterwards (you can watch his introduction and the audience discussion here: https://www.youtube.com/watch?v=nTfV3tA054s)