Working with properties while writing scripts: Can't find a property #3086
-
Would someone be able to help with a scripting question related to the "Moon Age", which is apparently one of the "Additional Information" attributes you can get for the moon? I would simply like to output the "Moon age" with a script in Stellarium, but I don't seem to be able to find the associated property. For example, if I want to use a loop to get the moon's phase as a function of JD, I can write: I've tried to output all the available properties and there just doesn't seem to be one for Moon age, e.g. : Where am I going wrong? Many thanks in advance for any hints / solutions! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Moon age and name of phase data are not available through scripting engine. |
Beta Was this translation helpful? Give feedback.
-
Hmm, this should then be added to the getInfoMap() call... |
Beta Was this translation helpful? Give feedback.
-
Thank you again. I certainly have no urgent need for this before next Friday, haha! I didn't realize a new version of the software would be coming out so soon (how lucky!) I am happy to wait to re-install the new version when it's released, which will enable the Moon Age to be queried in the normal way. Thanks for making this software even more amazing in the future! |
Beta Was this translation helpful? Give feedback.
Hmm, this should then be added to the getInfoMap() call...
I have not checked: is the Moon age still just the elongation-derived age, or actual time since last conjunction?