IERS_Auto

class astropy.utils.iers.IERS_Auto(data=None, masked=None, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True, **kwargs)[source] [edit on github]

Bases: astropy.utils.iers.IERS_A

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

Attributes Summary

iers_table

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

Methods Documentation

classmethod open()[source] [edit on github]

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:
`~astropy.table.QTable` instance with IERS (Earth rotation) data columns