IERS_Auto

class astropy.utils.iers.IERS_Auto(data=None, masked=False, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True, units=None, descriptions=None, **kwargs)[source]

Bases: astropy.utils.iers.IERS_A

Provide most-recent IERS data and automatically handle downloading of updated values as necessary.

Attributes Summary

iers_table

Methods Summary

open()

If the configuration setting astropy.utils.iers.conf.auto_download is set to True (default), then open a recent version of the IERS-A table with predictions for UT1-UTC and polar motion out to approximately one year from now.

Attributes Documentation

iers_table = <IERS_B length=21483> year month day MJD PM_x ... e_UT1_UTC e_LOD e_dX_2000A e_dY_2000A d arcsec ... s s arcsec arcsec int64 int64 int64 float64 float64 ... float64 float64 float64 float64 ----- ----- ----- ------- --------- ... --------- -------- ---------- ---------- 1962 1 1 37665.0 -0.0127 ... 0.002 0.0014 0.004774 0.002 1962 1 2 37666.0 -0.0159 ... 0.002 0.0014 0.004774 0.002 1962 1 3 37667.0 -0.019 ... 0.002 0.0014 0.004774 0.002 1962 1 4 37668.0 -0.021999 ... 0.002 0.0014 0.004774 0.002 1962 1 5 37669.0 -0.024799 ... 0.002 0.0014 0.004774 0.002 1962 1 6 37670.0 -0.027599 ... 0.002 0.0014 0.004774 0.002 1962 1 7 37671.0 -0.030199 ... 0.002 0.0014 0.004774 0.002 1962 1 8 37672.0 -0.032798 ... 0.002 0.0014 0.004774 0.002 1962 1 9 37673.0 -0.035198 ... 0.002 0.0014 0.004774 0.002 ... ... ... ... ... ... ... ... ... ... 2020 10 16 59138.0 0.177883 ... 1.6e-05 1.2e-05 0.000149 0.00016 2020 10 17 59139.0 0.177745 ... 1.61e-05 1.21e-05 0.00015 0.000163 2020 10 18 59140.0 0.177909 ... 1.61e-05 1.21e-05 0.000151 0.000166 2020 10 19 59141.0 0.177206 ... 1.62e-05 1.22e-05 0.000152 0.000169 2020 10 20 59142.0 0.175857 ... 1.63e-05 1.23e-05 0.000153 0.000171 2020 10 21 59143.0 0.174456 ... 1.63e-05 1.23e-05 0.000154 0.000173 2020 10 22 59144.0 0.173277 ... 1.64e-05 1.24e-05 0.000155 0.000174 2020 10 23 59145.0 0.172135 ... 1.64e-05 1.25e-05 0.000156 0.000174 2020 10 24 59146.0 0.171 ... 1.64e-05 1.26e-05 0.000156 0.000175 2020 10 25 59147.0 0.169569 ... 1.65e-05 1.26e-05 0.000157 0.000175

Methods Documentation

classmethod open()[source]

If the configuration setting astropy.utils.iers.conf.auto_download is set to True (default), then open a recent version of the IERS-A table with predictions for UT1-UTC and polar motion out to approximately one year from now. If the available version of this file is older than astropy.utils.iers.conf.auto_max_age days old (or non-existent) then it will be downloaded over the network and cached.

If the configuration setting astropy.utils.iers.conf.auto_download is set to False then astropy.utils.iers.IERS() is returned. This is normally the IERS-B table that is supplied with astropy.

On the first call in a session, the table will be memoized (in the iers_table class attribute), and further calls to open will return this stored table.

Returns
QTable instance with IERS (Earth rotation) data columns