Skip to content

Commit

Permalink
BUG: updated DMSP url
Browse files Browse the repository at this point in the history
Added the 'url' kwarg to the DMSP IVM download method, since UTD downloads were failing at the central site.
  • Loading branch information
aburrell committed Dec 18, 2023
1 parent 757133b commit d549e2c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pysatMadrigal/instruments/dmsp_ivm.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ def clean(self):


def download(date_array, tag='', inst_id='', data_path=None, user=None,
password=None, file_type='hdf5'):
password=None, file_type='hdf5',
url="http://millstonehill.haystack.mit.edu/"):
"""Download data from Madrigal.
Parameters
Expand All @@ -202,6 +203,9 @@ def download(date_array, tag='', inst_id='', data_path=None, user=None,
Password for data download. (default=None)
file_type : str
File format for Madrigal data. (default='hdf5')
url : str
URL for the specific Madrigal data site.
(default='http://millstonehill.haystack.mit.edu/')
Note
----
Expand All @@ -217,5 +221,5 @@ def download(date_array, tag='', inst_id='', data_path=None, user=None,
"""
general.download(date_array, inst_code=str(madrigal_inst_code),
kindat=madrigal_tag[inst_id][tag], data_path=data_path,
user=user, password=password, file_type=file_type)
user=user, password=password, file_type=file_type, url=url)
return

0 comments on commit d549e2c

Please sign in to comment.