Skip to content

Commit

Permalink
Updates [compat]; removes test
Browse files Browse the repository at this point in the history
  • Loading branch information
cadojo committed Feb 21, 2024
1 parent f45da8f commit a4caeb9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .gitattributes

This file was deleted.

8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ SPICEBodies = "19f1efb6-7162-484a-b3a1-b52c391689d7"
SPICEKernels = "8e9d28ce-e483-4ef7-bfd9-45b8fef6369c"

[compat]
julia = "1.6"
AstrodynamicalCalculations = "0.3"
AstrodynamicalModels = "3"
AstrodynamicalSolvers = "0.2"
julia = "1.7"
AstrodynamicalCalculations = "^0.5.1"
AstrodynamicalModels = "3.4"
AstrodynamicalSolvers = "0.4"
DocStringExtensions = "0.9"
Reexport = "1.2"
SPICE = "0.2"
Expand Down
26 changes: 25 additions & 1 deletion src/GeneralAstrodynamics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,33 @@ using DocStringExtensions
$(DOCSTRING)
"""

"""
Load several small SPICE kernels to support simple operations. The kernels
loaded into memory sum to less than 11MB.
# Extended Help
Calls `SPICE.furnsh` on the following kernels.
- `de432s.bsp` (approximately 10MB)
- `latest_leapseconds_lsk.tls` (approximately 5KB)
- `gm_de440.tpc` (approximately 12KB)
- `pck00011.tpc` (approximately 130KB)
"""
function load_generic_spice_kernels!()
return furnsh(
de432s(), # position and velocity data for nearby planets
latest_leapseconds_lsk(), # timekeeping, parsing epochs
gm_de440(), # mass parameters for major solar system bodies
pck00011(), # physical properties of major solar system bodies
)
end

@reexport using AstrodynamicalCalculations
@reexport using AstrodynamicalModels
@reexport using AstrodynamicalSolvers
@reexport using SPICE, SPICEKernels, SPICEBodies
@reexport using SPICE: furnsh
@reexport using SPICEKernels
@reexport using SPICEBodies

end # module
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
using Test, GeneralAstrodynamics

0 comments on commit a4caeb9

Please sign in to comment.