IERS_B#
- class astropy.utils.iers.IERS_B(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
IERS Table class targeted to IERS B, provided by IERS itself.
These are final values; see https://www.iers.org/IERS/EN/Home/home_node.html
Notes
If the package IERS B file (
iers.IERS_B_FILE
) is out of date, a new version can be downloaded fromiers.IERS_B_URL
.See
read
for instructions on how to read a pre-2023 style IERS B file (usually namedeopc04_IAU2000.62-now
).Attributes Summary
Cached table, returned if
open
is called without arguments.Methods Summary
dcip_source
(i)Set CIP correction source flag for entries in IERS table.
pm_source
(i)Set PM source flag for entries in IERS table.
read
([file, readme, data_start])Read IERS-B table from a eopc04.* file provided by IERS.
Set UT1-UTC source flag for entries in IERS table.
Attributes Documentation
- iers_table = <IERS_B length=22930> year month day hour MJD ... e_dY_2000A e_PM_x_dot e_PM_y_dot e_LOD d ... arcsec arcsec / d arcsec / d s int64 int64 int64 int64 float64 ... float64 float64 float64 float64 ----- ----- ----- ----- ------- ... ---------- ---------- ---------- -------- 1962 1 1 0 37665.0 ... 0.002 0.0 0.0 0.0014 1962 1 2 0 37666.0 ... 0.002 0.0 0.0 0.0014 1962 1 3 0 37667.0 ... 0.002 0.0 0.0 0.0014 1962 1 4 0 37668.0 ... 0.002 0.0 0.0 0.0014 1962 1 5 0 37669.0 ... 0.002 0.0 0.0 0.0014 1962 1 6 0 37670.0 ... 0.002 0.0 0.0 0.0014 1962 1 7 0 37671.0 ... 0.002 0.0 0.0 0.0014 1962 1 8 0 37672.0 ... 0.002 0.0 0.0 0.0014 1962 1 9 0 37673.0 ... 0.002 0.0 0.0 0.0014 ... ... ... ... ... ... ... ... ... ... 2024 10 3 0 60586.0 ... 0.000156 6.2e-05 6.6e-05 2.59e-05 2024 10 4 0 60587.0 ... 0.000175 6.1e-05 6.6e-05 2.46e-05 2024 10 5 0 60588.0 ... 0.000165 6.1e-05 6.6e-05 2.42e-05 2024 10 6 0 60589.0 ... 0.000134 6.2e-05 6.7e-05 2.39e-05 2024 10 7 0 60590.0 ... 0.0001 6e-05 6.8e-05 2.38e-05 2024 10 8 0 60591.0 ... 7.5e-05 6e-05 7.1e-05 2.38e-05 2024 10 9 0 60592.0 ... 7.2e-05 6.1e-05 7.1e-05 2.38e-05 2024 10 10 0 60593.0 ... 7.2e-05 6.1e-05 7e-05 2.42e-05 2024 10 11 0 60594.0 ... 7.3e-05 6.2e-05 7e-05 2.61e-05#
Cached table, returned if
open
is called without arguments.
Methods Documentation
- classmethod read(file: str | os.PathLike[str] | None = None, readme: str | os.PathLike[str] | None = None, data_start: int = 6) Self [source]#
Read IERS-B table from a eopc04.* file provided by IERS.
- Parameters:
- file
str
oros.PathLike
[str
] full path to ascii file holding IERS-B data. Defaults to package version,
iers.IERS_B_FILE
.- readme
str
oros.PathLike
[str
] full path to ascii file holding CDS-style readme. Defaults to package version,
iers.IERS_B_README
.- data_start
int
Starting row. Default is 6, appropriate for standard IERS files.
- file
- Returns:
IERS_B
class instance
Notes
To read a pre-2023 style IERS B file (usually named something like
eopc04_IAU2000.62-now
), do something like this example with an excerpt that is used for testing:>>> from astropy.utils.iers import IERS_B >>> from astropy.utils.data import get_pkg_data_filename >>> old_style_file = get_pkg_data_filename( ... "tests/data/iers_b_old_style_excerpt", ... package="astropy.utils.iers") >>> iers_b = IERS_B.read( ... old_style_file, ... readme=get_pkg_data_filename("data/ReadMe.eopc04_IAU2000", ... package="astropy.utils.iers"), ... data_start=14)