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

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=18044>  year month  day    MJD   PolPMFlag_A  PM_x_A  e_PM_x_A ...   PM_x     PM_y   PolPMFlag dX_2000A dY_2000A NutFlag                      d                 arcsec   arcsec  ...  arcsec   arcsec            marcsec  marcsec          int64 int64 int64 float64     str1    float64  float64  ... float64  float64     str1   float64  float64    str1  ----- ----- ----- ------- ----------- -------- -------- ... -------- -------- --------- -------- -------- -------    73     1     2 41684.0           I 0.120733 0.009786 ...   0.1235    0.123         B      0.0      0.0       B    73     1     3 41685.0           I  0.11898 0.011039 ...   0.1223    0.121         B      0.0      0.0       B    73     1     4 41686.0           I 0.117227 0.011039 ... 0.120901 0.119001         B      0.0      0.0       B    73     1     5 41687.0           I 0.115473 0.009743 ... 0.119601 0.117101         B      0.0      0.0       B    73     1     6 41688.0           I 0.113717 0.011236 ... 0.118201 0.115201         B      0.0      0.0       B    73     1     7 41689.0           I 0.111957 0.012506 ... 0.116802 0.113402         B      0.0      0.0       B    73     1     8 41690.0           I 0.110189 0.012042 ... 0.115302 0.111602         B      0.0      0.0       B    73     1     9 41691.0           I  0.10841 0.011753 ... 0.113802 0.109802         B      0.0      0.0       B   ...   ...   ...     ...         ...      ...      ... ...      ...      ...       ...      ...      ...     ...    22     5    21 59720.0           P 0.099852 0.017658 ... 0.099852 0.475892         P      nan      nan       0    22     5    22 59721.0           P 0.101901 0.017686 ... 0.101901 0.476344         P      nan      nan       0    22     5    23 59722.0           P 0.103958 0.017713 ... 0.103958 0.476764         P      nan      nan       0    22     5    24 59723.0           P 0.106021  0.01774 ... 0.106021 0.477152         P      nan      nan       0    22     5    25 59724.0           P 0.108091 0.017768 ... 0.108091 0.477509         P      nan      nan       0    22     5    26 59725.0           P 0.110167 0.017795 ... 0.110167 0.477834         P      nan      nan       0    22     5    27 59726.0           P 0.112248 0.017822 ... 0.112248 0.478127         P      nan      nan       0    22     5    28 59727.0           P 0.114333  0.01785 ... 0.114333 0.478389         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