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

New ellipsoids #180

Merged
merged 30 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
168d1a7
Rename MERCURY to Mercury2015 and update incorrect last digit of GM
MarkWieczorek Apr 1, 2024
1d0b0fe
Add new ellipsoid Mercury2024
MarkWieczorek Apr 1, 2024
44bae66
Rename VENUS to Venus2015
MarkWieczorek Apr 1, 2024
fa8614b
Add Earth EGM96 ellipsoid
MarkWieczorek Apr 1, 2024
d452d17
Rename MOON to Moon2015
MarkWieczorek Apr 1, 2024
bcb1d0f
Rename MARS to Mars2009
MarkWieczorek Apr 1, 2024
22f5767
Rename VESTA and do constant conversions expliticly as original paper…
MarkWieczorek Apr 1, 2024
72faffd
Add Vesta2017_biaxial/triaxial ellipsoids
MarkWieczorek Apr 1, 2024
6a36e46
Add Ceres2018 ellipsoid
MarkWieczorek Apr 1, 2024
8ffa761
Remove Vesta2012_triaxial as it is undocumented in original reference.
Apr 2, 2024
19bbf20
Add Io2024 triaxial ellipsoid
Apr 2, 2024
04b9822
Add Europa2024 hydrostatic triaxial ellipsoid
Apr 2, 2024
dec6073
Add Ganymede2024 triaxial ellipsoid
Apr 2, 2024
818e366
Add Callisto2024 spheroid
Apr 2, 2024
8ad0f0a
Add Enceladus2024 triaxial ellipsoid
Apr 2, 2024
34c1664
Add Titan2024 triaxial ellipsoid
Apr 2, 2024
5629d06
Add Pluto2024 spheroid
Apr 2, 2024
5b27fec
Add Charon2024 spheroid
Apr 2, 2024
c0f0044
Update ellipsoid names in tests
Apr 2, 2024
65e9793
Fix Titan that used incorrect ellispoid class
Apr 2, 2024
c08feee
Add web documentation for new ellipsoids
MarkWieczorek Apr 3, 2024
a520235
more changes to web docs
MarkWieczorek Apr 3, 2024
a7c6470
Turn longitude_semimajor_axis into an optional attribute used to inst…
Apr 8, 2024
4b0d4fe
Add comments attribute to all ellipsoid classes
Apr 9, 2024
75be258
Fix typo in Mercury ellipsoid name
MarkWieczorek Apr 11, 2024
74d4a7f
Merge branch 'comments' into new_ellipsoids
Apr 12, 2024
57edbeb
Merge branch 'triaxial_centrifugal_potential' into new_ellipsoids
Apr 12, 2024
95deebc
Merge comments and semimajor_axis_longitude PRs and update ellipsoids
Apr 12, 2024
c9a3ce0
Fix missing references and broken citations
leouieda Apr 17, 2024
11f6732
Rename VestaTriaxial2017 and fix some references
leouieda Apr 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion boule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,27 @@
#
# Import functions/classes to make the public API
from ._ellipsoid import Ellipsoid
from ._realizations import GRS80, MARS, MERCURY, MOON, VENUS, VESTA, WGS84
from ._realizations import (
EGM96,
GRS80,
WGS84,
Callisto2024,
Ceres2018,
Charon2024,
Enceladus2024,
Europa2024,
Ganymede2024,
Io2024,
Mars2009,
Mercury2015,
Mercury2024,
Moon2015,
Pluto2024,
Titan2024,
Venus2015,
Vesta2017,
VestaTriaxial2017,
)
from ._sphere import Sphere
from ._triaxialellipsoid import TriaxialEllipsoid
from ._version import __version__
5 changes: 4 additions & 1 deletion boule/_ellipsoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Ellipsoid:

The ellipsoid is defined by four parameters: semimajor axis, flattening,
geocentric gravitational constant, and angular velocity. It spins around
it's semiminor axis and has constant gravity potential at its surface. The
its semiminor axis and has constant gravity potential at its surface. The
internal density structure of the ellipsoid is unspecified but must be such
that the constant potential condition is satisfied.

Expand Down Expand Up @@ -57,6 +57,8 @@ class Ellipsoid:
1984"`` (optional).
reference : str or None
Citation for the ellipsoid parameter values (optional).
comments : str or None
Additional comments regarding the ellipsoid (optional).


.. caution::
Expand Down Expand Up @@ -119,6 +121,7 @@ class Ellipsoid:
angular_velocity = attr.ib()
long_name = attr.ib(default=None)
reference = attr.ib(default=None)
comments = attr.ib(default=None)

@flattening.validator
def _check_flattening(self, flattening, value):
Expand Down
Loading
Loading