@@ -49,10 +49,9 @@ def eci2ecef(x, y, z, time: datetime, force_non_astropy: bool = False) -> tuple:
4949 """
5050
5151 if force_non_astropy or "astropy" not in sys .modules :
52- logging .debug (f"{ __name__ } : Numpy implementation" )
52+ logging .warning (f"{ __name__ } : Numpy implementation has considerably less accuracy than Astropy " )
5353 xe , ye , ze = eci2ecef_numpy (x , y , z , time )
5454 else :
55- logging .debug (f"{ __name__ } : Astropy implementation" )
5655 xe , ye , ze = eci2ecef_astropy (x , y , z , time )
5756
5857 return xe .squeeze ()[()], ye .squeeze ()[()], ze .squeeze ()[()]
@@ -138,10 +137,9 @@ def ecef2eci(x, y, z, time: datetime, force_non_astropy: bool = False) -> tuple:
138137
139138 # if astropy is imported
140139 if force_non_astropy or "astropy" not in sys .modules :
141- logging .debug (f"{ __name__ } : Numpy implementation" )
140+ logging .warning (f"{ __name__ } : Numpy implementation has considerably less accuracy than Astropy " )
142141 xe , ye , ze = ecef2eci_numpy (x , y , z , time )
143142 else :
144- logging .debug (f"{ __name__ } : Astropy implementation" )
145143 xe , ye , ze = ecef2eci_astropy (x , y , z , time )
146144
147145 return xe , ye , ze
0 commit comments