7.5.6. mclearn.photometry.fetch_sloan_data¶
-
mclearn.photometry.
fetch_sloan_data
(sql, output, url=None, fmt='csv', verbose=True)[source]¶ Run an SQL query on the Sloan Sky Server.
Parameters: - sql (str) – The sql query.
- output (str) – The path where the queried data will be stored.
- url (str) – The url that will be used for fetching.
- fmt (str) – The format of the output, one of ‘csv’, ‘xml’, ‘html’.