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.
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
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=19276> year month day MJD PolPMFlag_A ... PolPMFlag dX_2000A dY_2000A NutFlag d ... marcsec marcsec int64 int64 int64 float64 str1 ... str1 float64 float64 str1 ----- ----- ----- ------- ----------- ... --------- -------- -------- ------- 73 1 2 41684.0 I ... B 0.0 0.0 B 73 1 3 41685.0 I ... B 0.0 0.0 B 73 1 4 41686.0 I ... B 0.0 0.0 B 73 1 5 41687.0 I ... B 0.0 0.0 B 73 1 6 41688.0 I ... B 0.0 0.0 B 73 1 7 41689.0 I ... B 0.0 0.0 B 73 1 8 41690.0 I ... B 0.0 0.0 B 73 1 9 41691.0 I ... B 0.0 0.0 B 73 1 10 41692.0 I ... B 0.0 0.0 B ... ... ... ... ... ... ... ... ... ... 25 10 3 60951.0 P ... P nan nan 0 25 10 4 60952.0 P ... P nan nan 0 25 10 5 60953.0 P ... P nan nan 0 25 10 6 60954.0 P ... P nan nan 0 25 10 7 60955.0 P ... P nan nan 0 25 10 8 60956.0 P ... P nan nan 0 25 10 9 60957.0 P ... P nan nan 0 25 10 10 60958.0 P ... P nan nan 0 25 10 11 60959.0 P ... 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 thanastropy.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 toopen
will return this stored table.- Returns:
QTable
instanceWith IERS (Earth rotation) data columns