lsst-uk / lsst-adler

Apache License 2.0
0 stars 0 forks source link

Should we have an option to pass the TAPService object to AdlerPlanetoid? #135

Open astronomerritt opened 2 months ago

astronomerritt commented 2 months ago

In the case where adler.py is iterating over several objects, we end up repeatedly recreating the pyvo.dal.tap.TAPService object. This isn't necessary, as it only needs to be set up once.

I am not sure if this could cause problems/slowdowns. I need to find out. If it's a problem, we can have an option to pass the pyvo.dal.tap.TAPService to AdlerPlanetoid.construct_from_RSP().