hippke / tls

Transit Least Squares: An optimized transit-fitting algorithm to search for periodic transits of small planets
MIT License
48 stars 24 forks source link

MAST API broken (for TESS priors) #20

Closed hippke closed 5 years ago

hippke commented 5 years ago

Dear Sir or Madam,

I have been using the MAST API in the past month and the examples from https://mast.stsci.edu/api/v0/pyex.html worked great. Recently I noticed that something broke. When I use the service "Mast.Catalogs.Filtered.Tic", I get the error:

{"status" : "ERROR","msg" : "The column prefix 'c' does not match with a table name or alias name used in the query."}

My query is:

mastQuery(
        {
            "service": "Mast.Catalogs.Filtered.Tic",
            "format": "json",
            "params": {
                "columns": "c.*",
                "filters": adv_filters,
            },
        }
hippke commented 5 years ago

No response from their Helpdesk after 7 days. Replace with AstroQuery? https://astroquery.readthedocs.io/en/latest/mast/mast.html

hippke commented 5 years ago

Perhaps also replace kplr? Doesn't build on Travis with Python 3.7 (async issue). Alternatively fix version issue pip kplr?

hippke commented 5 years ago

Moved all to astroquery, dropped dependency to kplr