OpenWeather icon indicating copy to clipboard operation
OpenWeather copied to clipboard

Moon phase depiction for southern hemisphere

Open NigelTwo opened this issue 3 years ago • 1 comments

Those of us in the southern latitudes see the moon upside down, even though the moon phase is the same for everyone. Has this been overlooked when converting to .bmp moon icons? Eichhorn has a function determineMoonIcon() that adjusts the index into the "moon fonts" depending on the defined latitude.

As to what happens at the equator, well, I get dizzy thinking about it :-( Perhaps that is a special case that could be handled by a comment in the code.

NigelTwo avatar Jul 11 '22 08:07 NigelTwo

Good point. Will think further on this. A image file program such as MS Paint could be used to flip the images.

Bodmer avatar Aug 23 '22 20:08 Bodmer

The "data driven" design here has saved the day. A comment next to where the long/lat settings are, would be all that is required. Thanks.

NigelTwo avatar Oct 31 '22 07:10 NigelTwo

The visual orientation of the Moon rotates as an observer moves from the Northern to Southern lattitudes so the "real" view should rotate dependant on the lattitude, time of day and the Moon distance from the elliptic etc! However by convention Moon phase calanders seem to all show the Moon in a particular orientation for the two hemispheres, so I think a simple set of 180 deg rotated images will be fine!

I will try to find time to sort this out in the next few days and also change to jpeg rather than bmp format to save space.

Bodmer avatar Nov 02 '22 12:11 Bodmer