SkyfieldWrapper#
- class caput.astro.skyfield.SkyfieldWrapper(path=None, expire=None, ephemeris='de421.bsp')[source]#
A wrapper to help with loading Skyfield and its data.
- Parameters:
- path
str|bytes|None Directory Skyfield should save data in. If not set data will be looked for in $CAPUT_SKYFIELD_PATH or in <path to caput>/caput/astro/_skyfield_data.
- expirebool, optional
Deprecated option. Skyfield no longer has a concept of expiring data. To get updated data you must force an explicit reload of it which can be done via SkyFieldWrapper.reload.
- ephemeris
str, optional The JPL ephemeris to use. Defaults to ‘de421.bsp’.
- path
- property ephemeris[source]#
A Skyfield ephemeris object (
skyfield.jpllib.SpiceKernel).Loaded at first call, and then cached.
Methods#
|
Reload the Skyfield data regardless of the expire setting. |