-
-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing data in Moon's InfoMap #3088
Comments
Hello @gzotti! Thank you for suggesting this enhancement. |
Hello @gzotti! The enhancement or feature has been implemented! You may test it via building Stellarium from source code or wait the weekly development snapshot... |
Hello @gzotti! The bug or issue has been fixed! You may test it via building Stellarium from source code or wait the weekly development snapshot... |
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
Hello @gzotti! Please check the latest stable version of Stellarium: |
Discussed in #3086
Originally posted by spacemanmartin March 7, 2023
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:
objectData=core.getSelectedObjectInfo();
core.output( core.getJDay() + "," + objectData["phase"]);
I've tried to output all the available properties and there just doesn't seem to be one for Moon age, e.g. :
core.mapToString(objectData);
Where am I going wrong? Many thanks in advance for any hints / solutions!
Short answer: Add age and phase string to getInfoMap() for the Moon.
The text was updated successfully, but these errors were encountered: