Skip to content

Commit

Permalink
fix HGCA catalog URL
Browse files Browse the repository at this point in the history
  • Loading branch information
semaphoreP committed Sep 11, 2023
1 parent b1b48b3 commit 082cc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbitize/gaia.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def __init__(self, hip_id, hiplogprob, gost_filepath, hgca_filepath=None):
# check orbitize.DATAIDR and download if needed
hgca_filepath = os.path.join(DATADIR, "HGCA_vEDR3.fits")
if not os.path.exists(hgca_filepath):
hgca_url = 'http://physics.ucsb.edu/~tbrandt/HGCA_vEDR3.fits'
hgca_url = 'https://web.physics.ucsb.edu/~tbrandt/HGCA_vEDR3.fits'
print("No HGCA catalog found. Downloading HGCA vEDR3 from {0} and storing into {1}.".format(hgca_url, hgca_filepath))
hgca_file = requests.get(hgca_url)
with open(hgca_filepath, 'wb') as f:
Expand Down

0 comments on commit 082cc7c

Please sign in to comment.