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]¶ Bases:
astropy.utils.iers.IERS_A
Provide most-recent IERS data and automatically handle downloading of updated values as necessary.
Attributes Summary
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=17505> 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 -18.637 -3.667 B 73 1 3 41685.0 I ... B -18.636 -3.571 B 73 1 4 41686.0 I ... B -18.669 -3.621 B 73 1 5 41687.0 I ... B -18.751 -3.769 B 73 1 6 41688.0 I ... B -18.868 -3.868 B 73 1 7 41689.0 I ... B -18.959 -3.842 B 73 1 8 41690.0 I ... B -18.976 -3.75 B 73 1 9 41691.0 I ... B -18.934 -3.698 B 73 1 10 41692.0 I ... B -18.889 -3.732 B ... ... ... ... ... ... ... ... ... ... 20 11 26 59179.0 P ... P 0.0 0.0 0 20 11 27 59180.0 P ... P 0.0 0.0 0 20 11 28 59181.0 P ... P 0.0 0.0 0 20 11 29 59182.0 P ... P 0.0 0.0 0 20 11 30 59183.0 P ... P 0.0 0.0 0 20 12 1 59184.0 P ... P 0.0 0.0 0 20 12 2 59185.0 P ... P 0.0 0.0 0 20 12 3 59186.0 P ... P 0.0 0.0 0 20 12 4 59187.0 P ... P 0.0 0.0 0 20 12 5 59188.0 P ... P 0.0 0.0 0¶
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 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
-