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: 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=22608>  year month  day   hour   MJD   ... e_dY_2000A e_PM_x_dot e_PM_y_dot  e_LOD                              d    ...   arcsec   arcsec / d arcsec / d    s     int64 int64 int64 int64 float64 ...  float64    float64    float64   float64  ----- ----- ----- ----- ------- ... ---------- ---------- ---------- --------  1962     1     1     0 37665.0 ...      0.002        0.0        0.0   0.0014  1962     1     2     0 37666.0 ...      0.002        0.0        0.0   0.0014  1962     1     3     0 37667.0 ...      0.002        0.0        0.0   0.0014  1962     1     4     0 37668.0 ...      0.002        0.0        0.0   0.0014  1962     1     5     0 37669.0 ...      0.002        0.0        0.0   0.0014  1962     1     6     0 37670.0 ...      0.002        0.0        0.0   0.0014  1962     1     7     0 37671.0 ...      0.002        0.0        0.0   0.0014  1962     1     8     0 37672.0 ...      0.002        0.0        0.0   0.0014  1962     1     9     0 37673.0 ...      0.002        0.0        0.0   0.0014   ...   ...   ...   ...     ... ...        ...        ...        ...      ...  2023    11    15     0 60263.0 ...    6.1e-05    6.9e-05    6.9e-05 2.73e-05  2023    11    16     0 60264.0 ...    5.4e-05    7.6e-05    6.9e-05 2.79e-05  2023    11    17     0 60265.0 ...    4.8e-05    7.7e-05    6.7e-05 2.91e-05  2023    11    18     0 60266.0 ...    4.6e-05    7.5e-05    6.6e-05 2.99e-05  2023    11    19     0 60267.0 ...    4.6e-05    7.4e-05    6.8e-05 2.53e-05  2023    11    20     0 60268.0 ...    4.5e-05    7.6e-05    6.6e-05  3.2e-05  2023    11    21     0 60269.0 ...    4.5e-05    9.4e-05    6.8e-05 2.98e-05  2023    11    22     0 60270.0 ...    5.1e-05      9e-05    6.9e-05 2.71e-05  2023    11    23     0 60271.0 ...    6.1e-05    9.3e-05    6.9e-05 2.57e-05  2023    11    24     0 60272.0 ...      7e-05    8.2e-05    7.2e-05 2.55e-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