Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
322627c
tox.ini, setup.cfg: test only ESO subdirs
juanmcloaiza May 30, 2025
adf5b57
GitHub Workflows - run on develop branch
juanmcloaiza May 30, 2025
c7ae3f7
Delete this commit - message on __init__ EsoClass
juanmcloaiza Feb 4, 2025
d469be8
Switch to TAP list_surveys and list_instruments
juanmcloaiza Nov 27, 2024
971c5d1
Define tap_url as static method
juanmcloaiza Nov 27, 2024
06e3264
Deselect ALMA at query level - TEMPORAL SOLUTION
juanmcloaiza Nov 27, 2024
974d218
Mark list_surveys as deprecated; define list_collections
juanmcloaiza Nov 27, 2024
182ce0b
Add name of the new function to deprecation warning
juanmcloaiza Nov 27, 2024
6092c34
Deprecate list_ and query_ _surveys in favor of _collections
juanmcloaiza Nov 27, 2024
4f6c6fa
Replace 'survey' by 'collection' accross eso module
juanmcloaiza Nov 28, 2024
eafcae9
Make Pep8-compliant
juanmcloaiza Nov 29, 2024
38590a9
Use astroquery deprecated decorator
juanmcloaiza Nov 29, 2024
79843ad
Accept argument 'surveys=' when calling *_surveys() deprecated functions
juanmcloaiza Nov 29, 2024
9ee58c7
Remove unused imports
juanmcloaiza Nov 29, 2024
9a71607
query_surveys --> query_collections in test_eso.py
juanmcloaiza Nov 29, 2024
dea1443
Update CHANGES.rst
juanmcloaiza Nov 29, 2024
6d34286
Add test_tap_url()
juanmcloaiza Nov 29, 2024
88f51aa
Remove hard-coded queries iside user-exposed functions
juanmcloaiza Dec 2, 2024
15866d0
Remove function _activate_form
juanmcloaiza Dec 2, 2024
1cea70a
Develop py2adql function with tests
juanmcloaiza Dec 3, 2024
aead4c7
Handle coord1 and coord2 arguments in query_collections
juanmcloaiza Dec 4, 2024
2a85df7
Remove intersects arg from py2adql
juanmcloaiza Dec 4, 2024
b436e90
Write TAP enabled query_collections; pass existing tests
juanmcloaiza Dec 5, 2024
d4b9f26
Remove intersects arg from py2adql test - not its responsibility
juanmcloaiza Dec 5, 2024
af2b503
Add ATLASGAL to SGRA_COLLECTIONS
juanmcloaiza Dec 5, 2024
0fbef0c
Write test for func query_tap_service
juanmcloaiza Dec 5, 2024
fd79a3a
Define and use _query_tap_service
juanmcloaiza Dec 5, 2024
5b8ab2c
fwd query_instrument and _collections to query_instrument_or_collection
juanmcloaiza Dec 5, 2024
8e75791
Ignore DALOverflowWarning with more granularity
juanmcloaiza Dec 5, 2024
63b0804
Remove unused code
juanmcloaiza Dec 5, 2024
2e53c81
Take instrument or collection data from the corresponding table
juanmcloaiza Dec 6, 2024
546ad4a
Ignore DALOverflowWarning on remote tests
juanmcloaiza Dec 6, 2024
e4272fb
Issue queries based on new QueryOnField class
juanmcloaiza Dec 6, 2024
3903bbb
Remove unused function _query
juanmcloaiza Dec 9, 2024
f57c75c
Modify test_multicollection to something less arbitrary
juanmcloaiza Dec 9, 2024
9b7193d
Make PEP8 linter happy
juanmcloaiza Dec 9, 2024
3c2d561
Replace mutable default arguments by None
juanmcloaiza Dec 11, 2024
776d0b2
Add type hints to query_instruments and query_collections
juanmcloaiza Dec 11, 2024
9f4c60b
Rename *_list attributes; add return types
juanmcloaiza Dec 11, 2024
12f0a41
Add return types
juanmcloaiza Dec 11, 2024
0fbe75b
Refactor QueryOnField classes as dataclasses
juanmcloaiza Dec 11, 2024
23db6b3
correctly pass the dataclass to query_* function
juanmcloaiza Dec 11, 2024
14d05df
Annotate types of EsoClass.collections and instruments
juanmcloaiza Dec 11, 2024
0b18556
Add type hints to py2adql
juanmcloaiza Dec 11, 2024
6a9e377
Write utils function sanitize_val; Add top arg in py2adql
juanmcloaiza Dec 11, 2024
f85f16d
Write TAP version of query_main; sanitize constraints vals
juanmcloaiza Dec 11, 2024
75a9e80
correct typo in query string
juanmcloaiza Dec 12, 2024
f9a62ac
Add test_main_SgrAstar
juanmcloaiza Dec 12, 2024
3bf21b4
Row limit handled at query level. No filterwarnings needed
juanmcloaiza Dec 12, 2024
d1ae667
query_main is always against dbo.raw
juanmcloaiza Dec 12, 2024
89a0bed
Add assert messages
juanmcloaiza Dec 12, 2024
107a8b4
Make linter happy
juanmcloaiza Dec 12, 2024
ee94891
Add cache functionality to tap queries
juanmcloaiza Dec 13, 2024
c3c0eea
Try mimicking the old warning behaviour
juanmcloaiza Dec 13, 2024
24a34c1
Provisional fix to apex query
juanmcloaiza Dec 13, 2024
c08e2a1
Use t1.values_equal(t2) for table equality
juanmcloaiza Dec 13, 2024
44ac1cd
Test table equality via t1.values_equal(t2)
juanmcloaiza Dec 16, 2024
a0df527
Do not exclude ALMA from collection queries
juanmcloaiza Dec 16, 2024
55eb77c
Rename request --> table in function from_cache(...)
juanmcloaiza Jan 16, 2025
786a78c
Remove unused data files
juanmcloaiza Jan 17, 2025
4442bb4
Update monkeypatches in test_eso.py
juanmcloaiza Jan 17, 2025
553afb5
Add data needed by monkeypatch
juanmcloaiza Jan 17, 2025
63426ed
Cleanup test_eso.py
juanmcloaiza Jan 17, 2025
17ad13f
Make linter heppier
juanmcloaiza Jan 17, 2025
d7b7e85
Make the linter happier
juanmcloaiza Jan 17, 2025
d6b5841
Add docstrings to utils.py
juanmcloaiza Jan 17, 2025
c715f25
Make linter happy
juanmcloaiza Jan 17, 2025
6f2ceba
Make linter happy
juanmcloaiza Jan 17, 2025
ba560bb
Fix E502 the backslash is redundant between brackets
juanmcloaiza Jan 17, 2025
d294c09
Add changelog; fix docs title underline
juanmcloaiza Jan 17, 2025
67de1cf
Raise NotImplementedError in query_apex_quicklooks
juanmcloaiza Jan 17, 2025
b79b07a
Write monkeypatch offline test for apex_quicklooks
juanmcloaiza Jan 17, 2025
846dd70
Write monkeypatch offline test for apex_quicklooks
juanmcloaiza Jan 17, 2025
2b3fc91
Addressed some TODOs
juanmcloaiza Jan 17, 2025
7411d29
Bugfix: The print_help message is truncated
juanmcloaiza Jan 31, 2025
b6705d3
put back except Exception
juanmcloaiza Jan 31, 2025
ebc6904
Deprecate help arg in favour of print_help
juanmcloaiza Feb 4, 2025
99b4459
retrieve_data handles datasets as astropy.table.column
juanmcloaiza Feb 5, 2025
b1e4641
(box, coord1, coord2) --> (ra, dec, radius)
juanmcloaiza Feb 5, 2025
c82e71d
Pep8
juanmcloaiza Feb 5, 2025
14aa320
Take tap_url_dev in config from env vars
juanmcloaiza Feb 5, 2025
be9c037
Rewrite query functions; query the ISts
juanmcloaiza Feb 7, 2025
e587210
clean up log functions
juanmcloaiza Feb 7, 2025
3dae1c9
http --> https
juanmcloaiza Feb 7, 2025
3969eea
Read TAP_URL from environment var
juanmcloaiza Feb 7, 2025
0ba1688
Avail: 'top', 'count_only', 'maxrec', 'MaxResultsWarning'
juanmcloaiza Feb 12, 2025
3021671
Improve MaxResultsWarning message
juanmcloaiza Feb 12, 2025
e6688da
Add tests for ROW_LIMIT and top
juanmcloaiza Feb 12, 2025
c17c413
ignore DALOverflowWarning in setup.cfg
juanmcloaiza Feb 13, 2025
a0ca76a
Ignore DALOverflowWarning in tests
juanmcloaiza Feb 13, 2025
c3281bb
Correct offline tests monkeypatch keys
juanmcloaiza Feb 13, 2025
1b211fd
Add provisional tests placeholders
juanmcloaiza Feb 13, 2025
3e1759f
Add test_tap_url
juanmcloaiza Feb 13, 2025
3d89851
write test_request_file()
juanmcloaiza Feb 13, 2025
0581bf7
Add tests for cache
juanmcloaiza Feb 13, 2025
416c5d9
add test data file
juanmcloaiza Feb 13, 2025
3d70229
Add test file
juanmcloaiza Feb 13, 2025
a52f014
Add tests for list instruments and collections
juanmcloaiza Feb 13, 2025
85ab283
Add tests for list instruments and collections
juanmcloaiza Feb 13, 2025
8d4a2d2
Add test data for list_ functions
juanmcloaiza Feb 13, 2025
d1e4bb7
Remove empty tests
juanmcloaiza Feb 14, 2025
d2ce5de
pep8
juanmcloaiza Feb 14, 2025
e25a5a6
Remove cache from query_ functions
juanmcloaiza Feb 26, 2025
9397d52
read ESO_TAP_URL from env var; otherwise use the config one
juanmcloaiza Feb 26, 2025
cd2d316
Define unlimited_max_rec decorator
juanmcloaiza Feb 26, 2025
ae46744
Make test_tap_url() consistent
juanmcloaiza Feb 26, 2025
b6553bc
Avoid defining msg string before each log message
juanmcloaiza Feb 27, 2025
ffe8dd7
Remove apex_quicklooks test
juanmcloaiza Feb 27, 2025
1ac3b3b
Clean-up code; increase test coverage
juanmcloaiza Feb 27, 2025
190316e
Refactor query_tap_service; define maxrec getter+setter
juanmcloaiza Feb 27, 2025
9a071f8
Add test_maxrec
juanmcloaiza Feb 27, 2025
342b4fe
Refactor and test try_download_pyvo_table
juanmcloaiza Feb 28, 2025
358ca42
Delegate warnings to its own method; write test
juanmcloaiza Feb 28, 2025
97cff84
pep8
juanmcloaiza Feb 28, 2025
2e199b2
Add test case to py2adql
juanmcloaiza Feb 28, 2025
49f35c9
add alpaca to instrument list
juanmcloaiza Mar 3, 2025
899733a
Make non-user facing functions private
juanmcloaiza Mar 12, 2025
1934dfe
Make non-user facing functions private
juanmcloaiza Mar 12, 2025
54965a6
helpmessage: add xtype, descr, units, nrows
juanmcloaiza Mar 14, 2025
696b1ba
utils.py small refactor
juanmcloaiza Mar 14, 2025
68546ab
Clean tests code
juanmcloaiza Mar 14, 2025
da9e639
Allow returning only the query string without issuing the query
juanmcloaiza Mar 14, 2025
0d1e51f
Bugfix: cone search params ignored when no other filters
juanmcloaiza Mar 14, 2025
2b5cc1b
Update test_eso_remote.py
juanmcloaiza Mar 14, 2025
10292d7
Update test_eso_remote.py
juanmcloaiza Mar 14, 2025
2fac359
Allow authenticated queries; avoid saving password in plain text
juanmcloaiza Mar 17, 2025
9229b70
Rename collections --> surveys
juanmcloaiza Mar 26, 2025
94d2e39
pep-8
juanmcloaiza Mar 26, 2025
17d9c47
Increase default maxrec to 1000
juanmcloaiza Mar 26, 2025
84b12e8
put back help, open_form, filter_columns arguments
juanmcloaiza Mar 27, 2025
a55d2cd
pep-8
juanmcloaiza Mar 27, 2025
a007031
doc: revert query_ and list_ _collections to _surveys
juanmcloaiza Mar 27, 2025
8d0aacd
Add docstrings to list_instruments and list_surveys
juanmcloaiza Apr 1, 2025
8734ffd
Update query_surveys docstring
juanmcloaiza Apr 1, 2025
ee6134e
Update docstring: query_surveys
juanmcloaiza Apr 1, 2025
bae22f4
Update docstrings for query_main and query_instrument
juanmcloaiza Apr 1, 2025
16a0e99
Make tap_url method private
juanmcloaiza Apr 1, 2025
7483604
Add docstring to query_tap_service
juanmcloaiza Apr 1, 2025
334c80e
Update docstring query_tap_service
juanmcloaiza Apr 1, 2025
747060d
Remove description col from table help output
juanmcloaiza Apr 2, 2025
bab1dc7
Update ESO docs
juanmcloaiza Apr 2, 2025
b68e3e2
Update CHANGES.rst
juanmcloaiza Apr 2, 2025
fa4ba95
Implement query_apex_quicklooks
juanmcloaiza Apr 7, 2025
6a585c9
Remove args from apex_quicklooks - ra, dec, radius
juanmcloaiza Apr 7, 2025
920fa42
Rename args ra, dec, radius --> cone_[xxx]
juanmcloaiza Apr 8, 2025
dbeed4d
Update error message on query fails
juanmcloaiza Apr 8, 2025
a71c5c4
fix: cone search ignored when cone_ra=0
juanmcloaiza Apr 10, 2025
5a45882
Check type in maxrec setter
juanmcloaiza Apr 11, 2025
6df2c21
Reorder columns before returning results
juanmcloaiza Apr 16, 2025
ba95272
Reorder columns before returning the table
juanmcloaiza Apr 17, 2025
d23b30f
pep8
juanmcloaiza Apr 17, 2025
7a7cf43
Allow TAP operators on column_filters (#5)
juanmcloaiza Apr 24, 2025
6ea7b1f
Add missing blank line to CHANGES.rst
juanmcloaiza Apr 25, 2025
296e9a4
Add 'not in' and 'not like' to supported TAP operators
juanmcloaiza Apr 25, 2025
4c9ce99
Update documentation and docstrings
juanmcloaiza Apr 25, 2025
feba734
Update documentation
juanmcloaiza Apr 25, 2025
3f64344
docs: add warning and column_filters fix
juanmcloaiza Apr 25, 2025
c732bae
Fix: 'instrument' interpreted as filter 'in strument'
juanmcloaiza May 5, 2025
08c7b65
pep8
juanmcloaiza May 5, 2025
0929318
Fix: 'instrument' interpreted as filter 'in strument'
juanmcloaiza May 5, 2025
3aa745e
Merge branch 'astropy:main' into develop
juanmcloaiza May 30, 2025
0242cb0
Reimplement ESO querying functions to use TAP / ADQL (#2)
juanmcloaiza May 30, 2025
58d628e
Fix typo in ValueError message
juanmcloaiza May 30, 2025
6b86480
Merge branch 'develop' into TAP
juanmcloaiza May 30, 2025
d53349a
Revert changes in workflows yml files
juanmcloaiza Jun 4, 2025
e5bad76
Restore setup.cfg
juanmcloaiza Jun 4, 2025
4b7f86b
restore tox.ini
juanmcloaiza Jun 4, 2025
6d4ec59
Format docstrings in NumPy style
juanmcloaiza Jun 4, 2025
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
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ linelists.cdms

- Add a keyword to control writing of new species cache files. This is needed to prevent tests from overwriting those files. [#3297]

eso
^^^

- Use TAP backend instead of WDB. [#3141]

heasarc
^^^^^^^

Expand Down
8 changes: 4 additions & 4 deletions astroquery/eso/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class Conf(_config.ConfigNamespace):
"""

row_limit = _config.ConfigItem(
50,
1000,
'Maximum number of rows returned (set to -1 for unlimited).')
username = _config.ConfigItem(
"",
'Optional default username for ESO archive.')
query_instrument_url = _config.ConfigItem(
"http://archive.eso.org/wdb/wdb/eso",
'Root query URL for main and instrument queries.')
tap_url = _config.ConfigItem(
"https://archive.eso.org/tap_obs",
'URL for TAP queries.')


conf = Conf()
Expand Down
Loading
Loading