Hi,
I think a little bit is being lost in the translation but i think I
understand you. When the moon is say 99% illuminated just before the full
moon the moon_phase is 'Full', similarly when the moon is 99% illuminated
just after the full moon the moon_phase is still 'Full' so you cannot
discriminate between your images. Perhaps what you need to be doing is
comparing the date-time of the next full moon and the date-time of the next
new moon to determine if the moon is waning or waxing. This combined with
moon_fullness should let you determine the appropriate image. Something
like:
#if $almanac.moon.next_full_moon.raw > $almanac.moon.next_new_moon.raw
# waxing moon, use moon_fullness to choose waxing moon image
#else
# waning moon, use moon_fullness to choose waning moon image
#end if
If I still have this wrong try using your native language to describe your
problem, chances are someone will pick up your meaning.
Gary
On Saturday, 3 November 2018 02:53:22 UTC+10, Thomas Sch wrote:
>
>
>
> Am Freitag, 2. November 2018 17:19:35 UTC+1 schrieb Andrew Milner:
>>
>> can't you just combine the two approaches?:
>>
>> if moon index < 4 it is waxing and if moon index > 4 it is waning so you
>> know if it is increasing or decreasing and moon_fullness gives you the
>> percentage
>>
>>
>>
>> On Friday, 2 November 2018 17:30:30 UTC+2, Thomas Sch wrote:
>>>
>>> I created 200 images. 100 for increasing and 100 for decreasing.
>>>
>> Hey, thanks for your answer :) thats a really cool Idea. But "0" and "4"
> / "New" and "Füll Moon" are problematic.
>
> I try to explain: "moon_phase" or "moon_index" are updated only once a
> day. At 0:00.
> But the moon Changes the percentage 9 times a day.
> For example:
> On 22nd November it will say "full moon" or "4", but full moon will be on
> 23rd November. Same on 24th November. Full moon already ober but it says
> full moon.
>
> Sorry for bad explanation. It would be easier If I could explain it in
> German xD
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.