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_Auto length=18989>  year month  day    MJD   PolPMFlag_A  PM_x_A  ...   PM_y   PolPMFlag dX_2000A dY_2000A NutFlag                      d                 arcsec  ...  arcsec            marcsec  marcsec          int64 int64 int64 float64     str1    float64  ... float64     str1   float64  float64    str1  ----- ----- ----- ------- ----------- -------- ... -------- --------- -------- -------- -------    73     1     2 41684.0           I 0.120733 ...    0.123         B      0.0      0.0       B    73     1     3 41685.0           I  0.11898 ...    0.121         B      0.0      0.0       B    73     1     4 41686.0           I 0.117227 ... 0.119001         B      0.0      0.0       B    73     1     5 41687.0           I 0.115473 ... 0.117101         B      0.0      0.0       B   ...   ...   ...     ...         ...      ... ...      ...       ...      ...      ...     ...    24    12    24 60668.0           P 0.179702 ...  0.26736         P      nan      nan       0    24    12    25 60669.0           P 0.178116 ... 0.267209         P      nan      nan       0    24    12    26 60670.0           P 0.176532 ... 0.267084         P      nan      nan       0    24    12    27 60671.0           P 0.174949 ... 0.266986         P      nan      nan       0    24    12    28 60672.0           P 0.173369 ... 0.266914         P      nan      nan       0#

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