astronoby
astronoby copied to clipboard
Ruby library based on astronomy and astrometry books
I didn't realise `% 360` would rationalize a potentially negative angle in degrees into a 0-360 range. This change simplifies many angles from `Astronoby::Moon`.
This change introduces multiple new objects to be able to get all the phase times for a given month. The Moon phases are: New Moon, First Quarter, Full Moon and...
This introduces two new Moon-related information: the phase angle and the illuminated fraction. The phase angle is the angle between the incident light from the Sun onto the Moon and...
Before, `Astronoby::GeocentricParallax::for_equatorial_coordinates` used to require the `latitude`, `longitude` and `elevation` of the observer. Now, for consistency and ease of use, it requires a `Astronoby::Observer` object instead.
Distances are used in the library here and there. To deal with different units, conversion used to be calculated in the logic itself. This introduces a new value object for...
Works with ruby-3.3.0
### Problem this feature will solve Not a big problem, but curious when my solar panels are aligned with the sun. In my case they are oriented approx. 190° ###...
Bumps [standard](https://github.com/standardrb/standard) from 1.39.2 to 1.40.0. Changelog Sourced from standard's changelog. 1.40.0 Updates rubocop to 1.65.1 Commits 4dae99e 🥩 v1.40.0 889ecee Merge pull request #646 from standardrb/updates-2024-08-13 d82f1da Updates for...
Bumps [standard](https://github.com/standardrb/standard) from 1.40.0 to 1.41.0. Changelog Sourced from standard's changelog. 1.41.0 Updates rubocop to 1.66.1 Updates standard-performance to 1.5.0 1.40.1 Fix error handling in LSP Server 84ee9f4 Commits 0c5a69f...
### Problem this feature will solve With the moon's current attributes, we get `illuminated_fraction` but not the name of the current `moon_phase`. I believe we discussed this a while back,...