Skip to content

Commit 16166ea

Browse files
committed
Issue astropy#14380: Repoint IERS files and urls at legacy naming convention. ...
1 parent 8b7e479 commit 16166ea

4 files changed

Lines changed: 49 additions & 36 deletions

File tree

‎astropy/utils/iers/data/ReadMe.eopc04_IAU2000‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from http://hpiers.obspm.fr/iers/eop/eopc04/eopc04_IAU2000.62-now
55

66
INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE
77
EARTH ORIENTATION PARAMETERS
8-
EOP (IERS) 08 C04
8+
EOP (IERS) 14 C04
99

1010
================================================================================
1111

@@ -14,7 +14,7 @@ File Summary:
1414
FileName Lrecl Records Explanations
1515
--------------------------------------------------------------------------------
1616
ReadMe 80 . This file, made using header
17-
eopc04_IAU2000.62-now 155 18279 all EOP values since 01 January 1962
17+
eopc04_IAU2000.62-now 155 22295 all EOP values since 01 January 1962
1818
--------------------------------------------------------------------------------
1919

2020
================================================================================

‎astropy/utils/iers/data/eopc04_IAU2000.62-now‎

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22263,33 +22263,47 @@
2226322263
2022 11 30 59913 0.146998 0.189837 -0.0193120 0.0002026 0.000331 -0.000055 0.000033 0.000022 0.0000091 0.0000071 0.000067 0.000057
2226422264
2022 12 1 59914 0.144039 0.190129 -0.0196037 0.0003855 0.000316 -0.000080 0.000033 0.000022 0.0000090 0.0000071 0.000067 0.000056
2226522265
2022 12 2 59915 0.141086 0.190030 -0.0200182 0.0004409 0.000294 -0.000116 0.000033 0.000022 0.0000087 0.0000071 0.000069 0.000056
22266-
2022 12 3 59916 0.138520 0.189588 -0.0204483 0.0004101 0.000304 -0.000128 0.000034 0.000022 0.0000086 0.0000071 0.000069 0.000055
22267-
2022 12 4 59917 0.135739 0.189603 -0.0208072 0.0003120 0.000326 -0.000131 0.000034 0.000023 0.0000086 0.0000071 0.000069 0.000056
22268-
2022 12 5 59918 0.132595 0.189132 -0.0210271 0.0001301 0.000349 -0.000134 0.000035 0.000023 0.0000085 0.0000072 0.000069 0.000056
22269-
2022 12 6 59919 0.130234 0.188807 -0.0210546 -0.0000636 0.000371 -0.000137 0.000035 0.000023 0.0000083 0.0000072 0.000069 0.000056
22270-
2022 12 7 59920 0.127804 0.188914 -0.0208636 -0.0002779 0.000345 -0.000120 0.000035 0.000023 0.0000091 0.0000071 0.000069 0.000056
22271-
2022 12 8 59921 0.125550 0.188683 -0.0204842 -0.0004561 0.000307 -0.000097 0.000035 0.000023 0.0000090 0.0000072 0.000069 0.000056
22272-
2022 12 9 59922 0.123051 0.188943 -0.0199575 -0.0005859 0.000268 -0.000074 0.000035 0.000023 0.0000090 0.0000072 0.000069 0.000056
22273-
2022 12 10 59923 0.120023 0.189212 -0.0193465 -0.0006481 0.000266 -0.000093 0.000034 0.000023 0.0000089 0.0000072 0.000070 0.000056
22274-
2022 12 11 59924 0.117059 0.189519 -0.0187186 -0.0006394 0.000280 -0.000129 0.000034 0.000023 0.0000089 0.0000072 0.000070 0.000055
22275-
2022 12 12 59925 0.114474 0.189311 -0.0181257 -0.0005417 0.000294 -0.000165 0.000034 0.000023 0.0000088 0.0000071 0.000070 0.000055
22276-
2022 12 13 59926 0.112235 0.189380 -0.0176371 -0.0004093 0.000307 -0.000200 0.000034 0.000023 0.0000087 0.0000071 0.000070 0.000055
22277-
2022 12 14 59927 0.110057 0.189733 -0.0172887 -0.0002511 0.000322 -0.000192 0.000033 0.000023 0.0000108 0.0000072 0.000070 0.000055
22278-
2022 12 15 59928 0.107848 0.190644 -0.0170929 -0.0001183 0.000338 -0.000172 0.000033 0.000023 0.0000100 0.0000071 0.000070 0.000054
22279-
2022 12 16 59929 0.105276 0.191662 -0.0170407 0.0000291 0.000340 -0.000152 0.000033 0.000024 0.0000101 0.0000072 0.000070 0.000054
22280-
2022 12 17 59930 0.102588 0.192217 -0.0171383 0.0001792 0.000338 -0.000131 0.000032 0.000024 0.0000101 0.0000072 0.000071 0.000054
22281-
2022 12 18 59931 0.100160 0.192490 -0.0173664 0.0002704 0.000336 -0.000111 0.000032 0.000025 0.0000101 0.0000072 0.000071 0.000054
22282-
2022 12 19 59932 0.098210 0.192803 -0.0177187 0.0002970 0.000334 -0.000091 0.000032 0.000025 0.0000101 0.0000072 0.000071 0.000054
22283-
2022 12 20 59933 0.096711 0.193084 -0.0179634 0.0002092 0.000331 -0.000071 0.000031 0.000026 0.0000093 0.0000072 0.000071 0.000054
22284-
2022 12 21 59934 0.095777 0.193348 -0.0181234 0.0000866 0.000282 -0.000083 0.000031 0.000026 0.0000091 0.0000073 0.000072 0.000055
22285-
2022 12 22 59935 0.094877 0.193950 -0.0181060 -0.0000771 0.000221 -0.000103 0.000031 0.000026 0.0000091 0.0000073 0.000072 0.000056
22286-
2022 12 23 59936 0.093472 0.194922 -0.0178955 -0.0002489 0.000217 -0.000114 0.000027 0.000022 0.0000090 0.0000067 0.000073 0.000057
22287-
2022 12 24 59937 0.091397 0.196126 -0.0175841 -0.0003125 0.000234 -0.000121 0.000027 0.000023 0.0000090 0.0000068 0.000074 0.000058
22288-
2022 12 25 59938 0.088402 0.197099 -0.0173115 -0.0001842 0.000252 -0.000129 0.000027 0.000023 0.0000090 0.0000068 0.000074 0.000059
22289-
2022 12 26 59939 0.085204 0.197391 -0.0172323 0.0000694 0.000269 -0.000137 0.000027 0.000023 0.0000089 0.0000068 0.000075 0.000061
22290-
2022 12 27 59940 0.082060 0.197809 -0.0174541 0.0003322 0.000286 -0.000144 0.000026 0.000023 0.0000085 0.0000069 0.000076 0.000062
22291-
2022 12 28 59941 0.078253 0.198379 -0.0179243 0.0004997 0.000304 -0.000152 0.000026 0.000023 0.0000083 0.0000069 0.000076 0.000063
22292-
2022 12 29 59942 0.074744 0.198584 -0.0184719 0.0005479 0.000317 -0.000134 0.000026 0.000023 0.0000083 0.0000068 0.000077 0.000065
22293-
2022 12 30 59943 0.071281 0.199199 -0.0190102 0.0005126 0.000329 -0.000109 0.000026 0.000023 0.0000082 0.0000068 0.000078 0.000067
22294-
2022 12 31 59944 0.067074 0.200103 -0.0194855 0.0004124 0.000331 -0.000120 0.000026 0.000023 0.0000083 0.0000065 0.000079 0.000069
22295-
2023 1 1 59945 0.062699 0.200944 -0.0197967 0.0002006 0.000330 -0.000144 0.000026 0.000022 0.0000083 0.0000069 0.000080 0.000073
22266+
2022 12 3 59916 0.138520 0.189588 -0.0204483 0.0004101 0.000304 -0.000128 0.000034 0.000022 0.0000086 0.0000071 0.000065 0.000055
22267+
2022 12 4 59917 0.135739 0.189603 -0.0208072 0.0003120 0.000326 -0.000131 0.000034 0.000023 0.0000086 0.0000071 0.000065 0.000055
22268+
2022 12 5 59918 0.132595 0.189132 -0.0210271 0.0001301 0.000349 -0.000134 0.000035 0.000023 0.0000085 0.0000072 0.000063 0.000055
22269+
2022 12 6 59919 0.130234 0.188807 -0.0210546 -0.0000636 0.000371 -0.000137 0.000035 0.000023 0.0000083 0.0000072 0.000059 0.000054
22270+
2022 12 7 59920 0.127804 0.188914 -0.0208636 -0.0002779 0.000345 -0.000120 0.000035 0.000023 0.0000091 0.0000071 0.000059 0.000054
22271+
2022 12 8 59921 0.125550 0.188683 -0.0204842 -0.0004561 0.000307 -0.000097 0.000035 0.000023 0.0000090 0.0000072 0.000058 0.000053
22272+
2022 12 9 59922 0.123051 0.188943 -0.0199575 -0.0005859 0.000268 -0.000074 0.000035 0.000023 0.0000090 0.0000072 0.000062 0.000056
22273+
2022 12 10 59923 0.120023 0.189212 -0.0193465 -0.0006481 0.000266 -0.000093 0.000034 0.000023 0.0000089 0.0000072 0.000062 0.000055
22274+
2022 12 11 59924 0.117059 0.189519 -0.0187186 -0.0006394 0.000280 -0.000129 0.000034 0.000023 0.0000089 0.0000072 0.000062 0.000055
22275+
2022 12 12 59925 0.114474 0.189311 -0.0181257 -0.0005417 0.000294 -0.000165 0.000034 0.000023 0.0000088 0.0000071 0.000059 0.000054
22276+
2022 12 13 59926 0.112235 0.189380 -0.0176371 -0.0004093 0.000308 -0.000201 0.000034 0.000023 0.0000087 0.0000071 0.000058 0.000054
22277+
2022 12 14 59927 0.110057 0.189733 -0.0172887 -0.0002511 0.000322 -0.000191 0.000033 0.000023 0.0000108 0.0000072 0.000058 0.000053
22278+
2022 12 15 59928 0.107848 0.190644 -0.0170929 -0.0001183 0.000336 -0.000170 0.000033 0.000023 0.0000100 0.0000071 0.000058 0.000053
22279+
2022 12 16 59929 0.105276 0.191662 -0.0170407 0.0000291 0.000305 -0.000129 0.000033 0.000024 0.0000101 0.0000072 0.000060 0.000053
22280+
2022 12 17 59930 0.102588 0.192217 -0.0171383 0.0001792 0.000257 -0.000082 0.000032 0.000024 0.0000101 0.0000072 0.000060 0.000053
22281+
2022 12 18 59931 0.100160 0.192490 -0.0173664 0.0002704 0.000279 -0.000122 0.000032 0.000025 0.0000101 0.0000072 0.000060 0.000052
22282+
2022 12 19 59932 0.098210 0.192803 -0.0177187 0.0002970 0.000303 -0.000124 0.000032 0.000025 0.0000101 0.0000072 0.000060 0.000051
22283+
2022 12 20 59933 0.096711 0.193084 -0.0179634 0.0002092 0.000314 -0.000088 0.000031 0.000026 0.0000093 0.0000072 0.000059 0.000050
22284+
2022 12 21 59934 0.095777 0.193348 -0.0181234 0.0000866 0.000273 -0.000091 0.000031 0.000026 0.0000091 0.0000073 0.000059 0.000050
22285+
2022 12 22 59935 0.094877 0.193950 -0.0181060 -0.0000771 0.000219 -0.000104 0.000031 0.000026 0.0000091 0.0000073 0.000059 0.000050
22286+
2022 12 23 59936 0.093472 0.194922 -0.0178955 -0.0002489 0.000217 -0.000113 0.000027 0.000022 0.0000090 0.0000067 0.000059 0.000050
22287+
2022 12 24 59937 0.091397 0.196126 -0.0175841 -0.0003125 0.000235 -0.000121 0.000027 0.000023 0.0000090 0.0000068 0.000060 0.000051
22288+
2022 12 25 59938 0.088402 0.197099 -0.0173115 -0.0001842 0.000252 -0.000129 0.000027 0.000023 0.0000090 0.0000068 0.000060 0.000051
22289+
2022 12 26 59939 0.085204 0.197391 -0.0172323 0.0000694 0.000270 -0.000136 0.000027 0.000023 0.0000089 0.0000068 0.000060 0.000051
22290+
2022 12 27 59940 0.082060 0.197809 -0.0174541 0.0003322 0.000287 -0.000144 0.000026 0.000023 0.0000085 0.0000069 0.000060 0.000051
22291+
2022 12 28 59941 0.078253 0.198379 -0.0179243 0.0004997 0.000305 -0.000152 0.000026 0.000023 0.0000083 0.0000069 0.000060 0.000051
22292+
2022 12 29 59942 0.074744 0.198584 -0.0184719 0.0005479 0.000318 -0.000134 0.000026 0.000023 0.0000083 0.0000068 0.000060 0.000052
22293+
2022 12 30 59943 0.071281 0.199199 -0.0190102 0.0005126 0.000329 -0.000109 0.000026 0.000023 0.0000082 0.0000068 0.000060 0.000052
22294+
2022 12 31 59944 0.067074 0.200103 -0.0194855 0.0004124 0.000314 -0.000095 0.000026 0.000023 0.0000083 0.0000065 0.000060 0.000052
22295+
2023 1 1 59945 0.062699 0.200944 -0.0197967 0.0002006 0.000289 -0.000084 0.000026 0.000022 0.0000083 0.0000069 0.000061 0.000053
22296+
2023 1 2 59946 0.059003 0.201796 -0.0199243 -0.0000061 0.000264 -0.000073 0.000025 0.000022 0.0000092 0.0000069 0.000061 0.000053
22297+
2023 1 3 59947 0.055638 0.202514 -0.0198250 -0.0002184 0.000238 -0.000062 0.000025 0.000023 0.0000088 0.0000069 0.000061 0.000054
22298+
2023 1 4 59948 0.052933 0.202990 -0.0195007 -0.0004214 0.000213 -0.000051 0.000025 0.000023 0.0000088 0.0000069 0.000061 0.000055
22299+
2023 1 5 59949 0.050795 0.203830 -0.0190232 -0.0005307 0.000289 -0.000185 0.000025 0.000022 0.0000086 0.0000069 0.000061 0.000055
22300+
2023 1 6 59950 0.048795 0.205101 -0.0184663 -0.0005607 0.000325 -0.000221 0.000025 0.000022 0.0000090 0.0000069 0.000062 0.000054
22301+
2023 1 7 59951 0.046853 0.206221 -0.0179143 -0.0005273 0.000338 -0.000209 0.000026 0.000022 0.0000090 0.0000069 0.000062 0.000053
22302+
2023 1 8 59952 0.045146 0.207590 -0.0174487 -0.0004118 0.000351 -0.000197 0.000026 0.000022 0.0000090 0.0000069 0.000062 0.000051
22303+
2023 1 9 59953 0.043370 0.209111 -0.0171274 -0.0002480 0.000364 -0.000185 0.000026 0.000022 0.0000093 0.0000070 0.000062 0.000050
22304+
2023 1 10 59954 0.041325 0.210288 -0.0169671 -0.0000751 0.000377 -0.000172 0.000026 0.000022 0.0000092 0.0000070 0.000062 0.000049
22305+
2023 1 11 59955 0.038979 0.211134 -0.0169747 0.0000694 0.000354 -0.000142 0.000026 0.000022 0.0000094 0.0000070 0.000062 0.000051
22306+
2023 1 12 59956 0.036547 0.211915 -0.0170559 0.0001228 0.000321 -0.000106 0.000026 0.000022 0.0000088 0.0000069 0.000063 0.000053
22307+
2023 1 13 59957 0.034173 0.213022 -0.0172046 0.0001561 0.000289 -0.000070 0.000026 0.000022 0.0000086 0.0000070 0.000064 0.000055
22308+
2023 1 14 59958 0.031810 0.214393 -0.0173877 0.0001788 0.000277 -0.000069 0.000026 0.000022 0.0000086 0.0000070 0.000064 0.000057
22309+
2023 1 15 59959 0.029351 0.216047 -0.0175710 0.0001728 0.000273 -0.000080 0.000026 0.000023 0.0000086 0.0000071 0.000065 0.000058

‎astropy/utils/iers/data/update_builtin_iers.sh‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ set -euv
66
# It downloads up-to-date versions of the earth rotation and leap
77
# second tables.
88

9-
rm Leap_Second.dat
10-
rm eopc04_IAU2000.62-now
9+
rm -f Leap_Second.dat eopc04*.*62-now
1110

1211
# iers.IERS_B_URL
13-
wget http://hpiers.obspm.fr/iers/eop/eopc04/eopc04_IAU2000.62-now
12+
wget http://hpiers.obspm.fr/iers/eop/eopc04_14/eopc04_IAU2000.62-now
1413
# iers.IERS_LEAP_SECOND_URL
1514
wget https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat

‎astropy/utils/iers/iers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
# IERS-B default file name, URL, and ReadMe with content description
7171
IERS_B_FILE = get_pkg_data_filename("data/eopc04_IAU2000.62-now")
72-
IERS_B_URL = "http://hpiers.obspm.fr/iers/eop/eopc04/eopc04_IAU2000.62-now"
72+
IERS_B_URL = "http://hpiers.obspm.fr/iers/eop/eopc04_14/eopc04_IAU2000.62-now"
7373
IERS_B_README = get_pkg_data_filename("data/ReadMe.eopc04_IAU2000")
7474

7575
# LEAP SECONDS default file name, URL, and alternative format/URL

0 commit comments

Comments
 (0)