{"id":34109468,"url":"https://github.com/behrouzz/iers","last_synced_at":"2026-04-01T19:14:28.753Z","repository":{"id":65182717,"uuid":"585728268","full_name":"behrouzz/iers","owner":"behrouzz","description":"Retrieve Earth Orientation Parameters (EOP) from the International Earth Rotation and Reference Systems Service (IERS)","archived":false,"fork":false,"pushed_at":"2024-09-09T00:25:52.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T00:41:44.645Z","etag":null,"topics":["earth","earth-orientation","eop","iers"],"latest_commit_sha":null,"homepage":"https://behrouzz.github.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/behrouzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-05T23:14:03.000Z","updated_at":"2024-09-09T00:25:55.000Z","dependencies_parsed_at":"2024-08-27T00:34:19.644Z","dependency_job_id":null,"html_url":"https://github.com/behrouzz/iers","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8dba1933240dca429d40094733f96f79f2b29516"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/behrouzz/iers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behrouzz%2Fiers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behrouzz%2Fiers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behrouzz%2Fiers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behrouzz%2Fiers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/behrouzz","download_url":"https://codeload.github.com/behrouzz/iers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behrouzz%2Fiers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["earth","earth-orientation","eop","iers"],"created_at":"2025-12-14T18:32:48.394Z","updated_at":"2026-04-01T19:14:28.720Z","avatar_url":"https://github.com/behrouzz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Author:** [Behrouz Safari](https://behrouzz.github.io/)\u003cbr/\u003e\n**License:** [MIT](https://opensource.org/licenses/MIT)\u003cbr/\u003e\n\n# iers\n*Analysis data of the International Earth Rotation and Reference Systems Service (IERS)*\n\n\n## Installation\n\nInstall the latest version of *iers* from [PyPI](https://pypi.org/project/iers/):\n\n    pip install iers\n\nRequirements are *numpy* and *pandas* and will be installed automatically if needed.\n\n\n## Quick start\n\nLet's get parameters for the *Julian Date* 2460556.5 and print the results.\n\n```python\nfrom iers import EOP\ndc = EOP().get_eop(2460556.5)\nprint(dc)\n```\n\nOutput:\n\n```\n{'px': 0.211611, 'py': 0.44424, 'ut1_utc': 0.0531643, 'dx': 0.349, 'dy': 0.088}\n```\n\n## More\n\nCurrently, this package can retrieve Earth Orientation Parameters from four files. It should be indicated with *kind* argument of EOP class. The first kind, which is default, gets daily data from 1973-01-02 until a few month after current date. The second kind is daily data from 1962-01-01 until a few days before the current date. The third kind is from 1846 until now, but its is not daily. It is 0.1 year interval (from 1846 from 1889) and 0.05 year interval (from 1890 to now). The fourth kind is longterm historical table from 2000 B.C. until 2015.\n\nYou should create an instance of the *EOP* class by passing the kind of table you want to `kind` argument. Then you can get the table with 'table' attribute.\n\n```python\nfrom iers import EOP\n\neop = EOP(kind=1)\nprint(eop.table)\n```\n\nOutput:\n\n```\n           mjd      px_A      py_A  ut1_utc_A  ...   py_B  ut1_utc_B    dx_B   dy_B\n0      41684.0  0.120733  0.136966   0.808418  ...  0.137     0.8075 -18.637 -3.667\n1      41685.0  0.118980  0.135656   0.805616  ...  0.134     0.8044 -18.636 -3.571\n2      41686.0  0.117227  0.134348   0.802790  ...  0.131     0.8012 -18.669 -3.621\n3      41687.0  0.115473  0.133044   0.799873  ...  0.128     0.7981 -18.751 -3.769\n4      41688.0  0.113717  0.131746   0.796814  ...  0.126     0.7949 -18.868 -3.868\n...        ...       ...       ...        ...  ...    ...        ...     ...    ...\n19236  60920.0  0.179201  0.355850   0.104524  ...    NaN        NaN     NaN    NaN\n19237  60921.0  0.179305  0.355138   0.105691  ...    NaN        NaN     NaN    NaN\n19238  60922.0  0.179391  0.354423   0.106704  ...    NaN        NaN     NaN    NaN\n19239  60923.0  0.179458  0.353706   0.107474  ...    NaN        NaN     NaN    NaN\n19240  60924.0  0.179507  0.352987   0.107948  ...    NaN        NaN     NaN    NaN\n\n[19241 rows x 11 columns]\n```\n\nLet's use another *kind*:\n\n\n```python\nfrom iers import EOP\n\neop = EOP(kind=2)\nprint(eop.table)\n```\n\nOutput:\n\n```\n           mjd        px        py   ut1_utc       lod        dx        dy\n0      37665.0 -0.012700  0.213000  0.032634  0.001723  0.000000  0.000000\n1      37666.0 -0.015900  0.214100  0.032055  0.001669  0.000000  0.000000\n2      37667.0 -0.019000  0.215200  0.031553  0.001582  0.000000  0.000000\n3      37668.0 -0.021999  0.216301  0.031144  0.001496  0.000000  0.000000\n4      37669.0 -0.024799  0.217301  0.030815  0.001416  0.000000  0.000000\n...        ...       ...       ...       ...       ...       ...       ...\n22856  60521.0  0.157404  0.478195  0.023001 -0.000948  0.000321 -0.000074\n22857  60522.0  0.159281  0.477650  0.024048 -0.001134  0.000357 -0.000077\n22858  60523.0  0.161188  0.477331  0.025258 -0.001283  0.000402 -0.000092\n22859  60524.0  0.163634  0.476656  0.026573 -0.001325  0.000448 -0.000106\n22860  60525.0  0.166545  0.476250  0.027893 -0.001291  0.000413 -0.000105\n```\n\nYou can get the available parameters for a desired moment by passing the time as *datetime* or *Julian Date* or *string* to the `.get_eop()` method. If the *kind* is 1, it will use bulletin *B* if there is available data, otherwise uses bulletin *A*. You can check which bulletin has been used for interpolation with `bulletin` attribute.\n\n```python\nfrom iers import EOP\n\neop = EOP(kind=1)\n\ndc = eop.get_eop('2024-05-02 21:37:50')\n\nprint(dc)\nprint('Bulletin used:', eop.bulletin)\n```\n\nOutput:\n\n```\n{'px': 0.0069811804398159285, 'py': 0.40801708148148286, 'ut1_utc': -0.01803119438657428, 'dx': 0.2808885416666599, 'dy': -0.16251909722223354}\nBulletin used: B\n```\n\nThe files will be downloaded automatically and saved in *Documents* folder of user, so the next time you do not need to download the file again. Any file that is older than 7 days, will be downloaded automatically. By the way, if you want newer versions of a file, you can use the `.download()` method to download it again.\n\n```python\nfrom iers import EOP\n\neop = EOP(kind=1)\neop.download()\n```\n\n## Leap Seconds\n\nTo get leap seconds for a given time, pass the time as *datetime* or *Julian Date* or *string* to the `leap_seconds` function.\n\n```python\nfrom iers import leap_seconds\n\nr = leap_seconds('2012-01-15 15:40:33')\nprint(r)\n```\n\nOutput:\n\n```\n34\n```\n\nSee more at [https://behrouzz.github.io/astrodatascience/](https://behrouzz.github.io/astrodatascience/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehrouzz%2Fiers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbehrouzz%2Fiers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehrouzz%2Fiers/lists"}