update_bulletins#
- spacekernel.iers.update_bulletins() None#
Refresh both IERS Bulletin A and C datasets, and record the update time.
- This function will:
Invoke BulletinA.update() to download, parse, and cache Bulletin A.
Invoke BulletinC.update() to download, parse, and cache Bulletin C.
Write a JSON file at latest_update_path with the UTC timestamp indicating when the update completed.
The JSON file has the form:
{ "latest_update": "YYYY-MM-DDTHH:MM:SS.ssssss" }
- Raises:
- requests.HTTPError
If either bulletin download fails.
- IOError
If writing to latest_update_path fails.