Skip to main content
`Ctrl`+`K`

# 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)

  Bases: `IERS_A`

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

  The returned table combines the IERS-A and IERS-B files, with the data in the IERS-B file considered to be official values and thus superseding values from the IERS-A file at the same times.

  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 = None

    Cached table, returned if `open` is called without arguments.

  Methods Documentation

  classmethod 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. 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 the bundled IERS-A table will be used rather than any downloaded version of the IERS-A table.

    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