Skip to content

Commit

Permalink
fix kernel version from Bitbucket (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium authored Jul 6, 2024
1 parent 66024f2 commit 011caa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TPM_Didymos/TPM_Didymos.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@

##= Download SPICE kernels =##
for path_kernel in paths_kernel
url_kernel = "https://s2e2.cosmos.esa.int/bitbucket/projects/SPICE_KERNELS/repos/hera/raw/kernels/$(path_kernel)"
url_kernel = "https://s2e2.cosmos.esa.int/bitbucket/projects/SPICE_KERNELS/repos/hera/raw/kernels/$(path_kernel)?at=refs%2Ftags%2Fv161_20230929_001"
filepath = joinpath("kernel", path_kernel)
mkpath(dirname(filepath))
isfile(filepath) || Downloads.download(url_kernel, filepath)
end

##= Download shape models =##
for path_shape in paths_shape
url_kernel = "https://s2e2.cosmos.esa.int/bitbucket/projects/SPICE_KERNELS/repos/hera/raw/kernels/dsk/$(path_shape)"
url_kernel = "https://s2e2.cosmos.esa.int/bitbucket/projects/SPICE_KERNELS/repos/hera/raw/kernels/dsk/$(path_shape)?at=refs%2Ftags%2Fv161_20230929_001"
filepath = joinpath("shape", path_shape)
mkpath(dirname(filepath))
isfile(filepath) || Downloads.download(url_kernel, filepath)
Expand Down

0 comments on commit 011caa0

Please sign in to comment.