Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Started the process of restructuring the methods for adding bodies. It's partially done, so none of the methods work quite yet. I also added a new method for setting an "ephemeris_date" instance variable that is used when pulling bodies down from JPL Horizons.
  • Loading branch information
daminton committed Nov 10, 2022
1 parent 63cec3c commit a8a2423
Show file tree
Hide file tree
Showing 2 changed files with 333 additions and 189 deletions.
4 changes: 1 addition & 3 deletions python/swiftest/swiftest/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from datetime import date
import xarray as xr

def solar_system_horizons(plname, idval, param, ephemerides_start_date, ds):
def solar_system_horizons(plname, idval, param, ephemerides_start_date):
"""
Initializes a Swiftest dataset containing the major planets of the Solar System at a particular data from JPL/Horizons
Expand All @@ -28,8 +28,6 @@ def solar_system_horizons(plname, idval, param, ephemerides_start_date, ds):
Swiftest paramuration parameters. This method uses the unit conversion factors to convert from JPL's AU-day system into the system specified in the param file
ephemerides_start_date : string
Date to use when obtaining the ephemerides in the format YYYY-MM-DD.
ds : xarray Dataset
Dataset to append
Returns
-------
Expand Down
Loading

0 comments on commit a8a2423

Please sign in to comment.