# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
SDSS Spectra/Image/SpectralTemplate Archive Query Tool
------------------------------------------------------
"""
from astropy import config as _config


class Conf(_config.ConfigNamespace):
    """
    Configuration parameters for `astroquery.sdss`.
    """
    skyserver_url = _config.ConfigItem(
        'http://skyserver.sdss.org',
        'Base URL for catalog-related queries like SQL and Cross-ID.'
        )
    timeout = _config.ConfigItem(
        60,
        'Time limit for connecting to SDSS server.'
        )

conf = Conf()

from .core import SDSS, SDSSClass

import warnings
warnings.warn("Experimental: SDSS has not yet been refactored to have its API "
              "match the rest of astroquery (but it's nearly there).")

# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
SDSS Spectra/Image/SpectralTemplate Archive Query Tool
------------------------------------------------------
"""
from astropy import config as _config


class Conf(_config.ConfigNamespace):
    """
    Configuration parameters for `astroquery.sdss`.
    """
    skyserver_baseurl = _config.ConfigItem(
        'http://skyserver.sdss.org',
        'Base URL for catalog-related queries like SQL and Cross-ID.'
        )
    sas_baseurl = _config.ConfigItem(
        'http://data.sdss3.org/sas',
        'Base URL for downloading data products like spectra and images.'
        )
    timeout = _config.ConfigItem(
        60,
        'Time limit for connecting to SDSS server.'
        )

conf = Conf()

from .core import SDSS, SDSSClass

import warnings
warnings.warn("Experimental: SDSS has not yet been refactored to have its API "
              "match the rest of astroquery (but it's nearly there).")

update conf to work with the latest updates