astronomy-python
astronomy-python copied to clipboard
Warning from gala.coordinates
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]
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')
I'll check if this warning persists with the most recent version of gala