Error Loading JPL Ephemerides Binary Files

I am a new Orekit user and am having issues when I try to use the CelestialBodyFactory. When I try to access it, I get an error shown below. I have followed the steps to download the orekit-data folder, both cloning it into the current folder and into the home directory, but the code is still unable to find the data files. I hope this is an easy fix that I am just unable to find but any help in resolving this would be much appreciated. Thanks!

Hello @zachmiller and welcome to the Orekit forum !

Your issue must come from the code used to load the Orekit data.

Below is a sample code taken from the “Context” tutorial available in orekit-tutorials:

            // configure the reference context
            final File home       = new File(System.getProperty("user.home"));
            final File orekitData = new File(home, "orekit-data");
            if (!orekitData.exists()) {
                System.err.format(Locale.US, "Failed to find %s folder%n",
                                  orekitData.getAbsolutePath());
                System.err.format(Locale.US, "You need to download %s from %s, unzip it in %s and rename it 'orekit-data' for this tutorial to work%n",
                                  "orekit-data-main.zip", "https://gitlab.orekit.org/orekit/orekit-data/-/archive/main/orekit-data-main.zip",
                                  home.getAbsolutePath());
                System.exit(1);
            }
            DataContext.
                getDefault().
                getDataProvidersManager().
                addProvider(new DirectoryCrawler(orekitData));

Keep us updated :+1:

Cheers,
Vincent