I noticed a little 'moon thing':
C1 and CMX not giving the same moon age (may be something known)
cloudbaseCUmx.php not showing the 'right' moon image.
Mark if you change anything could you let me so I can change my moonphase script.
Astro gotcha !!But if I do a reverse calculation from the Phase Angle (which I've checked and the Phase Angle is also correct), I arrive at 8.49 days!
....
EDIT: Or is there some weird definition of moon age that I am missing?!
Not sure what you are saying there beteljuice?beteljuice wrote: ↑Sat 04 Apr 2020 4:09 am Remember you telling me the figure wasn't used in the distribution files and the value was rounded ?
For webtags you introduced a 'flag' for no rounding and truncating the value ie. 0 > 29.
I mention this because when I reverse engineered from the above screen shot(s) moonage was 9.88 days - so mx was at that time rounding up.
When you later investigated it was 10.?? (< 10.5)
Let's pick at this bit by bit (I'm getting too old for leaps of faithThe #moonage tag is rounded by default, with as you say the option to truncate.
The screen shots show it using 10 days.
On 3 April 2020 at 02:03 CEST = 00:03 UTC the age was 9.57 days, which rounded is 10 days?
OK, above...beteljuice wrote: ↑Sat 04 Apr 2020 10:18 pm Perhaps I am being confused because I can't actually create / display the figures ..Let's pick at this bit by bit (I'm getting too old for leaps of faithThe #moonage tag is rounded by default, with as you say the option to truncate.
The screen shots show it using 10 days.
On 3 April 2020 at 02:03 CEST = 00:03 UTC the age was 9.57 days, which rounded is 10 days?)
"The #moonage tag is rounded by default, with as you say the option to truncate."
So are you saying the option truncates a rounded figure ? - that serves no useful purpose regarding the initial enquiry !
"The screen shots show it using 10 days."
So is that screen using <#webtag>s, and not being generated directly by mx ?
"On 3 April 2020 at 02:03 CEST = 00:03 UTC the age was 9.57 days, which rounded is 10 days?"
OK - same argument as my query elsewhere for truncation - It isn't 10 days old !
No idea about C1 - it's dead.
Ah so grasshopper ...I assume that is using the default tag so rounded, but you'd have to ask the site owner to be sure. It's not a default CMX web page, nor the admin interface.
The image comes from the new UIMX website and is selected by $moonage as delivered by CumulusMX from a set of images generated from complex program I cannot (at the moment) locate. It was a labour of many hours over some days done some time ago.The screen shot mooncmx.PNG shows 10 days - I assume that is using the default tag so rounded, but you'd have to ask the site owner to be sure. It's not a default CMX web page, nor the admin interface.
That may be, but the illuminated percentage could be used to select an image that is nearest to that amount illuminated, rather than selecting an image based on the moon age.As the illuminated percentage is a function of the phase angle it cannot be used to derive the age for the reasons I gave above.