Setting an Epoch

22 views
Skip to first unread message

Noah Fehrenbacher

unread,
Jan 6, 2026, 4:11:33 AM (5 days ago) Jan 6
to basilisk-fr
Working myself through the tutorial material, but am not finding a clear way to set the simulation time. I did find a tutorial (https://hanspeterschaub.info/basilisk/examples/scenarioFlybySpice.html) where the NAIF Spice time kernel was used to set a UTC Gregorian time, but when running that source code (using a Mac, Jupyter Lab). I've recieved the errors below after confirming the kernel files exist and spiceypy is installed. Any help would be great - thank you.

ERROR loading the large file de430.bsp: If BSK was installed via a wheel, try running bskLargeData from the console to install the large BSK data files.

And trace:
--------------------------------------------------------------------------- BasiliskError Traceback (most recent call last) Cell In[4], line 576 570 return 575 if __name__ == "__main__": --> 576 run( 577 "mars" # venus, earth, mars 578 ) Cell In[4], line 510, in run(planetCase) 504 vizSupport.createStandardCamera(viz, setMode=1, spacecraftName=scObject.ModelTag, 505 fieldOfView=10 * macros.D2R, 506 displayName="10˚ FOV Camera", 507 pointingVector_B=[0,1,0], position_B=cameraLocation) 509 # Initialize and execute simulation for the first section (stops at periapsis of hyperbola before delta V) --> 510 scSim.InitializeSimulation() 512 # Set up flight modes 513 def runVelocityPointing(simTime, planetMsg): File ~/Documents/Noah/Jupyter/Basilisk/.venv/lib/python3.11/site-packages/Basilisk/utilities/SimulationBaseClass.py:547, in SimBaseClass.InitializeSimulation(self) 545 self.TotalSim.ResetSimulation() 546 self.TotalSim.selfInitSimulation() --> 547 self.TotalSim.resetInitSimulation() 548 self.simulationInitialized = True File ~/Documents/Noah/Jupyter/Basilisk/.venv/lib/python3.11/site-packages/Basilisk/architecture/sim_model.py:1642, in SimModel.resetInitSimulation(self) 1641 def resetInitSimulation(self): -> 1642 return _sim_model.SimModel_resetInitSimulation(self) BasiliskError: Unable to load naif0012.tls
Reply all
Reply to author
Forward
0 new messages