Bug: trying to change dictionary in loop over dictionary keys
There's a bug on line 1272 of heterodyne.py
where it loops over earthephemeris.keys()
while then trying to remove values from the dictionary within the loop. This causes an error. It can be fixed by changing:
for jplde in earthephemeris.keys():
to be:
for jplde in list(earthephemeris.keys()):