@@ -49,10 +49,9 @@ def eci2ecef(x, y, z, time: datetime, force_non_astropy: bool = False) -> tuple:
49
49
"""
50
50
51
51
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 " )
53
53
xe , ye , ze = eci2ecef_numpy (x , y , z , time )
54
54
else :
55
- logging .debug (f"{ __name__ } : Astropy implementation" )
56
55
xe , ye , ze = eci2ecef_astropy (x , y , z , time )
57
56
58
57
return xe .squeeze ()[()], ye .squeeze ()[()], ze .squeeze ()[()]
@@ -138,10 +137,9 @@ def ecef2eci(x, y, z, time: datetime, force_non_astropy: bool = False) -> tuple:
138
137
139
138
# if astropy is imported
140
139
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 " )
142
141
xe , ye , ze = ecef2eci_numpy (x , y , z , time )
143
142
else :
144
- logging .debug (f"{ __name__ } : Astropy implementation" )
145
143
xe , ye , ze = ecef2eci_astropy (x , y , z , time )
146
144
147
145
return xe , ye , ze
0 commit comments