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

Warning from gala.coordinates #194

Open
HannoSpreeuw opened this issue Mar 13, 2023 · 2 comments
Open

Warning from gala.coordinates #194

HannoSpreeuw opened this issue Mar 13, 2023 · 2 comments

Comments

@HannoSpreeuw
Copy link

HannoSpreeuw commented Mar 13, 2023

Executing commands from the beginning of Coordinate Transformations:

from gala.coordinates import GD1Koposov10

gd1_frame = GD1Koposov10()
gd1_frame

gives

WARNING: AstropyDeprecationWarning: The matrix_product function is deprecated and may be removed in a future version.
        Use @ instead. [gala.coordinates.sgr]
WARNING: AstropyDeprecationWarning: The matrix_product function is deprecated and may be removed in a future version.
        Use @ instead. [gala.coordinates.orphan]
WARNING: AstropyDeprecationWarning: The matrix_product function is deprecated and may be removed in a future version.
        Use @ instead. [gala.coordinates.magellanic_stream]
@HannoSpreeuw
Copy link
Author

Solution possible from #193 : do not import from gala at all.
Instead complete the exercise by executing:

origin_gd1 = SkyCoord(0*u.degree, 0*u.degree, frame='gd1koposov10')
origin_gd1.transform_to('icrs')

@abostroem
Copy link
Contributor

I'll check if this warning persists with the most recent version of gala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants