Skip to content
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

Calculate Rise Time in the next 365 days #3267

Open
marcmayo opened this issue Jun 13, 2023 · 3 comments
Open

Calculate Rise Time in the next 365 days #3267

marcmayo opened this issue Jun 13, 2023 · 3 comments
Labels
question Just a question, no change in code needed subsystem: scripting The issue related to scripting engine of planetarium…

Comments

@marcmayo
Copy link

Hello everybody,
currently, there is Vec4d StelObject::getRTSTime which calculates the rise time of an object in the next 24 hours, but no further.
For example, if you check a star in June, that only rises above the horizon in December, it currently says "Star is not visible tonight".

Our idea was to run the function for each day until it returns a time. Would that be a good approach or is there some better logic?

@github-actions
Copy link

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

@gzotti
Copy link
Member

gzotti commented Jun 13, 2023

Scripting is the way to develop your own ephemeris lists.

@gzotti gzotti added the question Just a question, no change in code needed label Jun 13, 2023
@alex-w
Copy link
Member

alex-w commented Jun 15, 2023

Hello everybody, currently, there is Vec4d StelObject::getRTSTime which calculates the rise time of an object in the next 24 hours, but no further. For example, if you check a star in June, that only rises above the horizon in December, it currently says "Star is not visible tonight".

How it possible? Do you using Observability Analysis plugin to check nighttime visibility of the star? Just for understanding - a star can rise, transit and set in daytime.

@alex-w alex-w added the subsystem: astrocalc The issue is related to AstroCalc subsystem of planetarium... label Oct 13, 2024
@alex-w alex-w added subsystem: scripting The issue related to scripting engine of planetarium… and removed subsystem: astrocalc The issue is related to AstroCalc subsystem of planetarium... labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Just a question, no change in code needed subsystem: scripting The issue related to scripting engine of planetarium…
Development

No branches or pull requests

3 participants