Running calcfpp I received the following error message.
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 128, in _representation_deprecation
'favor of representation_type', AstropyDeprecationWarning)
astropy.utils.exceptions.AstropyDeprecationWarning: The representation keyword/property name is deprecated in favor of representation_type
FPP calculation failed for ..
So I opened
/anaconda3/lib/python3.7/site-packages/astrop/coordinates/baseframe.py
and replaced the "representation" keyword with "representation_type" throughout the file. I then reran calcfpp resulting in this error message:
File "/anaconda3/lib/python3.7/site-packages/VESPA-0.5.1-py3.7-macosx-10.7-x86_64.egg/vespa/orbits/populations.py", line 336, in init
self.obspos = SkyCoord(obsx,obsy,obsz,representation='cartesian')
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/sky_coordinate.py", line 248, in init
frame_cls, frame_kwargs = _get_frame_without_data(args, kwargs)
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/sky_coordinate_parsers.py", line 201, in _get_frame_without_data
_normalize_representation_type(kwargs)
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 141, in _normalize_representation_type
_representation_deprecation()
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 128, in _representation_deprecation
'favor of representation_type', AstropyDeprecationWarning)
astropy.utils.exceptions.AstropyDeprecationWarning: The representation keyword/property name is deprecated in favor of representation_type
I then replaced any mentioning of the keyword "representation" with "representation_type" throughout the file
/anaconda3/lib/python3.7/site-packages/VESPA-0.5.1-py3.7-macosx-10.7-x86_64.egg/vespa/orbits/populations.py
and ran calcfpp again. Then it worked.
I assume that VESPA 0.5.1 is using a deprecated "representation" keyword when calling astropy. This should be changed to "representation_type".
Running
calcfppI received the following error message.File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 128, in _representation_deprecation
'favor of
representation_type', AstropyDeprecationWarning)astropy.utils.exceptions.AstropyDeprecationWarning: The
representationkeyword/property name is deprecated in favor ofrepresentation_typeFPP calculation failed for ..
So I opened
/anaconda3/lib/python3.7/site-packages/astrop/coordinates/baseframe.py
and replaced the "representation" keyword with "representation_type" throughout the file. I then reran
calcfppresulting in this error message:File "/anaconda3/lib/python3.7/site-packages/VESPA-0.5.1-py3.7-macosx-10.7-x86_64.egg/vespa/orbits/populations.py", line 336, in init
self.obspos = SkyCoord(obsx,obsy,obsz,representation='cartesian')
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/sky_coordinate.py", line 248, in init
frame_cls, frame_kwargs = _get_frame_without_data(args, kwargs)
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/sky_coordinate_parsers.py", line 201, in _get_frame_without_data
_normalize_representation_type(kwargs)
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 141, in _normalize_representation_type
_representation_deprecation()
File "/anaconda3/lib/python3.7/site-packages/astropy/coordinates/baseframe.py", line 128, in _representation_deprecation
'favor of
representation_type', AstropyDeprecationWarning)astropy.utils.exceptions.AstropyDeprecationWarning: The
representationkeyword/property name is deprecated in favor ofrepresentation_typeI then replaced any mentioning of the keyword "representation" with "representation_type" throughout the file
/anaconda3/lib/python3.7/site-packages/VESPA-0.5.1-py3.7-macosx-10.7-x86_64.egg/vespa/orbits/populations.py
and ran
calcfppagain. Then it worked.I assume that VESPA 0.5.1 is using a deprecated "representation" keyword when calling astropy. This should be changed to "representation_type".