Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #652 from dstansby/bepi-sipic
Browse files Browse the repository at this point in the history
Try changing bepi spice kernel loc
  • Loading branch information
dstansby authored Jan 24, 2019
2 parents d8b9ec8 + d5311b2 commit 8b47926
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heliopy/data/spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def make_doc_entry(self):
'https://naif.jpl.nasa.gov/pub/naif/JUNO/kernels/spk/aareadme.txt'
),
_Kernel('Bepi-Columbo', 'bepi_pred',
'https://repos.cosmos.esa.int/socci/rest/git-lfs/storage/SPICE_KERNELS/bepicolombo/241ae0ad1e8a44e0dde8a6dd5fbd91a36b75e2be3f115f45c20becb89e8a000c?response-content-disposition=attachment%3B%20filename%3D%22bc_mpo_fcp_00044_20181020_20251102_v01.bsp%22%3B%20filename*%3Dutf-8%27%27bc_mpo_fcp_00044_20181020_20251102_v01.bsp',
'ftp://spiftp.esac.esa.int/data/SPICE/BEPICOLOMBO/kernels/spk/bc_mpo_fcp_00046_20181020_20251102_v01.bsp',
'https://repos.cosmos.esa.int/socci/projects/SPICE_KERNELS/repos/bepicolombo/browse/kernels/spk/aareadme.txt'),
]

Expand Down
6 changes: 5 additions & 1 deletion heliopy/data/test/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import pytest
import sunpy
import warnings
import os

try:
import cdflib
Expand Down Expand Up @@ -58,9 +59,12 @@ def check_units(df):

@pytest.mark.data
class TestSpice:

@pytest.mark.parametrize('kernel', spice.kernel_dict)
def test_kernel_download(self, kernel):
if 'TRAVIS' in os.environ:
for url in spice.kernel_dict[kernel].urls:
if url[:3] == 'ftp':
pytest.skip("FTP doesn't work on travis")
spice.get_kernel(kernel)


Expand Down

0 comments on commit 8b47926

Please sign in to comment.