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
= <IERS_Auto length=16602> year month day MJD PolPMFlag_A ... UT1Flag PM_x PM_y PolPMFlag d ... arcsec arcsec int64 int64 int64 float64 str1 ... str1 float64 float64 str1 ----- ----- ----- ------- ----------- ... ------- -------- -------- --------- 73 1 2 41684.0 I ... B 0.1235 0.123 B 73 1 3 41685.0 I ... B 0.1223 0.121 B 73 1 4 41686.0 I ... B 0.120901 0.119001 B 73 1 5 41687.0 I ... B 0.119601 0.117101 B 73 1 6 41688.0 I ... B 0.118201 0.115201 B 73 1 7 41689.0 I ... B 0.116802 0.113402 B ... ... ... ... ... ... ... ... ... ... 18 6 10 58279.0 P ... P 0.107209 0.461811 P 18 6 11 58280.0 P ... P 0.108858 0.461829 P 18 6 12 58281.0 P ... P 0.110505 0.461822 P 18 6 13 58282.0 P ... P 0.112151 0.461789 P 18 6 14 58283.0 P ... P 0.113793 0.461729 P 18 6 15 58284.0 P ... P 0.115433 0.461643 P 18 6 16 58285.0 P ... P 0.117069 0.461532 P¶
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 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 thenastropy.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 toopen
will return this stored table.Returns: QTable
instance with IERS (Earth rotation) data columns
-