orcestra-campaign / pyorcestra

Python tools around the ORCESTRA field campaign
MIT License
4 stars 13 forks source link

Sattrackloader_PACE - Access denied #82

Open RonnyOnIce opened 2 months ago

RonnyOnIce commented 2 months ago

In the flight track planning. Access denied, if orcestra.sat.pace_track_loader() \ .get_track_for_day(f"{flight_time:%Y-%m-%d}") is used to often. See below:

403 - Forbidden: Access is denied. Access from IP address 129.247.247.239 was blocked for celestrak.org/NORAD/elements/gp.php?CATNR=58928. We have detected excessive downloads for files in the /NORAD/elements directory and access has been temporarily blocked. Access will be automatically restored once the excessive downloads have ceased for 2 hours.

Could be eventually fixed using lru_cache?

d70-t commented 2 months ago

Yes, lru_cache sounds like a good first idea! Would you draft a PR?