Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ noirlab
- Restore access to the `NSF NOIRLab <https://noirlab.edu>`_
`Astro Data Archive <https://astroarchive.noirlab.edu>`_ [#3359].

lco
^^^

- New module to access the `Las Cumbres Observatory (LCO) <https://lco.global>`_
`Science Archive <https://archive.lco.global>`_. [#3659]

esa.emds
^^^^^^^^

Expand Down
39 changes: 39 additions & 0 deletions astroquery/lco/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# Generative AI was used in the making of this module

"""
Las Cumbres Observatory (LCO)
"""

from astropy import config as _config


class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `astroquery.lco`.
"""
archive_url = _config.ConfigItem(
['https://archive-api.lco.global', ],
'The LCO Archive mirror to use.')

token_url = _config.ConfigItem(
'https://observe.lco.global/api/api-token-auth/',
'URL used to exchange a username and password for an API token.')

timeout = _config.ConfigItem(
30,
'Time limit for connecting to LCO Archive server.')

row_limit = _config.ConfigItem(
100,
'Maximum number of frames returned by a query. Set to -1 to retrieve '
'every matching frame.')


conf = Conf()

from astroquery.lco.core import LcoArchive, LcoArchiveClass

__all__ = ['LcoArchive', 'LcoArchiveClass',
'Conf', 'conf',
]
Loading
Loading