High Precision Kernels #301
-
Hello, for some reason, I'm able to manually download the BPC from JPL (URL is therefore vaild), but it always fails anytime I try to automate it (using the Meta infra). Is the Meta infra solely intended for files that are hosted in the nyx cloud? My objective is to propose an infaillible method (so we can always deploy), that prefers and targets the ITRF93 frame (if we can), otherwise, relies on the IAU ECEF. In this current form, it always succeeds in attaching the BSP, the PCA and always fails to attach the JPL Daily file. Caching works fine 👍 . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry.. my bad, I had a typo in the code which misled PCK11 to JPL to not being downloaded. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay in my answer. The JPL cloud should work all the time, and the meta load works for any URL or even a local path (which is how I use it in a professional context for project specific ephemeris files). You're right that the data in the PCA file does not change. However, I changed the encoding method between version 0.3 and 0.4, so the PCA files were not longer compatible between both versions. I hope (and think) that there will not be changes to the file format in a long time because the format in version 0.4 has all of the features of 0.3, but it's over 100 times faster. You can build your own PCA files by using the ANISE cli and the "convert tpc" action. The inputs needed there are the JPL provided text data, which you can modify by hand. Here is how these are built for each release: anise/anise/src/naif/kpl/tpc.rs Line 180 in 8310be5 You can also use the get_by_id and set_by_id methods of the planetary dataset to modify a loaded planetary dataset, and then call the save_as function to save it to disk. I'm working on an example of this at the moment where I estimate the state of the lunar reconnaissance orbiter using the public ephemeris. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay in my answer. The JPL cloud should work all the time, and the meta load works for any URL or even a local path (which is how I use it in a professional context for project specific ephemeris files).
You're right that the data in the PCA file does not change. However, I changed the encoding method between version 0.3 and 0.4, so the PCA files were not longer compatible between both versions. I hope (and think) that there will not be changes to the file format in a long time because the format in version 0.4 has all of the features of 0.3, but it's over 100 times faster.
You can build your own PCA files by using the ANISE cli and the "convert tpc" action. The inputs need…