aetherfield 0.3.2__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aetherfield-0.3.2 → aetherfield-0.3.4}/PKG-INFO +1 -1
- {aetherfield-0.3.2 → aetherfield-0.3.4}/pyproject.toml +1 -1
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield/cli.py +11 -10
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/PKG-INFO +1 -1
- {aetherfield-0.3.2 → aetherfield-0.3.4}/LICENSE +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/README.md +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/setup.cfg +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield/__init__.py +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield/core.py +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield/iplocal.py +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/SOURCES.txt +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/dependency_links.txt +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/entry_points.txt +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/requires.txt +0 -0
- {aetherfield-0.3.2 → aetherfield-0.3.4}/src/aetherfield.egg-info/top_level.txt +0 -0
|
@@ -255,22 +255,23 @@ def compare_once(body: str, dt: Any, force_aether: bool = False, fit_rates: bool
|
|
|
255
255
|
a.fit_rates()
|
|
256
256
|
except Exception:
|
|
257
257
|
pass
|
|
258
|
+
sky_lon: Optional[float] = None
|
|
259
|
+
sky_sign: Optional[str] = None
|
|
258
260
|
if force_aether:
|
|
259
261
|
aether_lon = _drift_longitude(a, dt, body)
|
|
260
262
|
aether_sign = af.get_zodiac_by_longitude(aether_lon)
|
|
261
263
|
else:
|
|
262
264
|
aether_lon = a.longitude(dt, body)
|
|
263
265
|
aether_sign = a.sign(dt, body)
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
pass
|
|
266
|
+
if af.in_ephemeris_window(dt):
|
|
267
|
+
try:
|
|
268
|
+
sky_lon = sf_ecliptic_longitude(dt, body)
|
|
269
|
+
sky_sign = af.get_zodiac_by_longitude(sky_lon)
|
|
270
|
+
except Exception:
|
|
271
|
+
pass
|
|
272
|
+
|
|
272
273
|
delta = wrap_delta_deg(aether_lon, sky_lon) if sky_lon is not None else None
|
|
273
|
-
return CompareResult(body, dt, aether_lon,
|
|
274
|
+
return CompareResult(body, dt, aether_lon, aether_sign)
|
|
274
275
|
|
|
275
276
|
|
|
276
277
|
def main(argv=None) -> int:
|
|
@@ -340,7 +341,7 @@ def main(argv=None) -> int:
|
|
|
340
341
|
}, indent=2))
|
|
341
342
|
else:
|
|
342
343
|
print(f"{res.body} @ {format_time_label(res.dt)}\n"
|
|
343
|
-
f" Aether: {res.
|
|
344
|
+
f" Aether: {res.lon:8.3f} deg ({res.sign})")
|
|
344
345
|
#f" Skyfield: {'n/a' if res.skyfield_lon is None else f'{res.skyfield_lon:8.3f} deg ('+str(res.skyfield_sign)+')'}\n"
|
|
345
346
|
#f" Delta: {'n/a' if res.delta_deg is None else f'{res.delta_deg:+.3f} deg'}")
|
|
346
347
|
return 0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|