Skip to content

Commit

Permalink
Update to latest version (earth_200101_990827_predict.bpc) released o…
Browse files Browse the repository at this point in the history
…n August 28, 2024
  • Loading branch information
moeyensj committed Aug 28, 2024
1 parent 64922fe commit 7d8e5d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This package ships the Navigation and Ancillary Information Facility's low accur
**This is not an official NAIF package**. It is an automatically generated mirror of the file so that it is
installable via `pip`.

The current version of the file released on 2023 JUN 03 spans the following times: 2020 JAN 01 00:01:09.183 TDB - 2099 AUG 25 00:01:09.182 TDB
The current version of the file released on 2024 AUG 28 spans the following times: 2020 JAN 01 00:01:09.183 TDB - 2099 AUG 27 00:01:09.182 TDB

## Installation

Expand Down
4 changes: 2 additions & 2 deletions naif_eop_predict/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from importlib.resources import files

eop_predict = files("naif_eop_predict").joinpath("earth_200101_990825_predict.bpc").as_posix()
_eop_predict_md5 = files("naif_eop_predict").joinpath("earth_200101_990825_predict.md5").as_posix()
eop_predict = files("naif_eop_predict").joinpath("earth_200101_990827_predict.bpc").as_posix()
_eop_predict_md5 = files("naif_eop_predict").joinpath("earth_200101_990827_predict.md5").as_posix()
6 changes: 3 additions & 3 deletions naif_eop_predict/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

import requests

URL = "https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/earth_200101_990825_predict.bpc"
FILE = os.path.join(os.path.dirname(__file__), "earth_200101_990825_predict.bpc")
MD5_FILE = os.path.join(os.path.dirname(__file__), "earth_200101_990825_predict.md5")
URL = "https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/earth_200101_990827_predict.bpc"
FILE = os.path.join(os.path.dirname(__file__), "earth_200101_990827_predict.bpc")
MD5_FILE = os.path.join(os.path.dirname(__file__), "earth_200101_990827_predict.md5")


def fetch_file(url: str, output_file: str):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "naif_eop_predict"
version = "2023.06.03"
version = "2024.08.28"
authors = [
{name = "B612 Asteroid Institute", email = "[email protected]"},
]
Expand All @@ -22,4 +22,4 @@ tests = [
include-package-data = true

[tool.setuptools.package-data]
naif_eop_predict = ["naif_eop_predict/earth_200101_990825_predict.bpc", "naif_eop_predict/earth_200101_990825_predict.md5"]
naif_eop_predict = ["naif_eop_predict/earth_200101_990827_predict.bpc", "naif_eop_predict/earth_200101_990827_predict.md5"]

0 comments on commit 7d8e5d5

Please sign in to comment.