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.IERS_A

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

Attributes Summary

iers_table

Cached table, returned if open is called without arguments.

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=21833>  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   ...   ...   ...     ...       ... ...       ...     ...        ...        ...  2021    10     1 59488.0    0.2199 ...   7.2e-06 6.7e-06    4.4e-05    2.7e-05  2021    10     2 59489.0  0.219232 ...   7.2e-06 6.8e-06    4.4e-05    2.6e-05  2021    10     3 59490.0  0.218114 ...   7.1e-06 6.8e-06    4.4e-05    2.5e-05  2021    10     4 59491.0  0.216463 ...     7e-06 6.8e-06    4.3e-05    2.4e-05  2021    10     5 59492.0  0.214966 ...   6.7e-06 6.8e-06    4.3e-05    2.3e-05  2021    10     6 59493.0  0.212886 ...   6.5e-06 6.8e-06    4.4e-05    2.4e-05  2021    10     7 59494.0   0.21067 ...   6.8e-06 6.7e-06    4.5e-05    2.6e-05  2021    10     8 59495.0   0.20874 ...   7.1e-06 6.8e-06    4.6e-05    2.8e-05  2021    10     9 59496.0  0.206987 ...   7.3e-06 6.8e-06    4.7e-05      3e-05  2021    10    10 59497.0  0.205587 ...   7.5e-06 6.8e-06    4.8e-05    3.2e-05

Cached table, returned if open is called without arguments.

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