thespacedoctor / rockfinder

A python package and command-line suite to generate solar-system body ephemerides and to determine if specific transient detections are in fact known asteroids
MIT License
3 stars 1 forks source link

Horizons request limiter #5

Open mtbannister opened 5 years ago

mtbannister commented 5 years ago

Horizons now limits the number of lines that one can retrieve by asking it for a given number of distinct MJDs. (No, there wasn't a docs update...) This should ideally be raised to the user (asking for too many distinct MJDs), or alternatively implement a loop to retrieve all of the input MJDs.

thespacedoctor commented 5 years ago

Hi @mtbannister - do you need an urgent fix to this?

mtbannister commented 5 years ago

No, I'd engineered a work-around in my call to rockfinder, but wanted to let you know in case it affected your use of the function elsewhere. Would you like a PR?

mtbannister commented 5 years ago

(It's also only a problem for requesting >500 MJDs at once).