Skip to content

Commit 5e25fe9

Browse files
Jorge Fernandez Hernandezbsipocz
authored andcommitted
EUCLIDMNGT-1275 Include changes suggested by the astroquery team
1 parent f74810e commit 5e25fe9

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

astroquery/esa/euclid/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def __get_tile_catalogue_list(self, *, tile_index, product_type, verbose=False):
780780
781781
Returns
782782
-------
783-
The list of products (astropy.table)
783+
The products in an astropy.table.Table
784784
"""
785785

786786
if tile_index is None:
@@ -1553,7 +1553,7 @@ def get_scientific_product_list(self, *, observation_id=None, tile_index=None, c
15531553
15541554
Returns
15551555
-------
1556-
The list of products (astropy.table)
1556+
The products in an astropy.table.Table
15571557
15581558
"""
15591559

docs/esa/euclid/euclid.rst

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -240,29 +240,39 @@ To get the list of products associated with a given Euclid observation_id or til
240240
EUC_MER_BGSUB-MOSAIC-DES-Z_TILE102018211-83C32F_20241018T143526.104818Z_00.00.fits 1398 102018211 DECAM DECAM_z SCIENCE SKY 57.9990741 -51.5 IMAGE
241241

242242

243-
The method returns a list of products as an astropy.table. It is also possible to search by observation_id, but not by both parameters simultaneously.
243+
The method returns a list of products as an `~astropy.table.Table`. It is also possible to search by observation_id, but not by both parameters simultaneously.
244244

245245
It is possible to retrieve LE3 data (scientific data) by observation_id or tile_index (but not by both simultaneously) and/or for different categories, groups and product types:
246246

247247
.. Skipping authentication requiring examples
248248
.. doctest-skip::
249249

250250
>>> from astroquery.esa.euclid import Euclid
251-
>>> le3_product_list = Euclid.get_scientific_product_list(tile_index=102034414)
252-
>>> print("Found", len(le3_product_list), "results")
253-
Found 12 results
254-
>>> print(le3_product_list)
251+
>>> le3_product_list = Euclid.get_scientific_product_list(tile_index=22)
252+
>>> print("Found", len(le3_product_list), "results")
253+
Found 3 results
254+
>>> print(le3_product_list)
255+
basic_download_data_oid product_type product_id observation_id_list tile_index_list patch_id_list filter_name
256+
----------------------- -------------- ------------------------------------------------------------- ------------------- --------------- ------------- -----------
257+
47191 DpdLE3clCLTile PPO_REGREPROC1_R2_CLTEST_R0_CLTILING_R5-output_tiles-27 {} {22} {}
258+
47132 DpdLE3clCLTile PPO_REGREPROC1_R2_CLTEST_R0_CLTILINGPOLYHR_R2-output_tiles-27 {} {22} {}
259+
47233 DpdLE3clCLTile PPO_REGREPROC1_R2_CLTEST_R0_CLTILING_R6-output_tiles-27 {} {22} {}
255260

256-
In the following example, for the LE3 Weak-Lensing data, we retrieve all the Tomographic Cosmic Shear Correlation products (2PCF TwoPCFWLShearShear2D):
261+
262+
In the following example, for the Clusters of Galaxies category, and the group GrpCatalog, we retrieve all the DET-CL AMICO auxiliary Data Product products (DpdLE3clAmicoAux):
257263

258264
.. Skipping authentication requiring examples
259265
.. doctest-skip::
260266

261267
>>> from astroquery.esa.euclid import Euclid
262-
>>> results = euclid.get_scientific_product_list(category='Weak Lensing Products', group='2PCF', product_type='DpdTwoPCFWLShearShear2D')
263-
>>> print("Found", len(le3_product_list), "results")
264-
Found 12 results
265-
>>> print(le3_product_list)
268+
>>> results = euclid.get_scientific_product_list(category='Clusters of Galaxies', group='GrpCatalog', product_type='DpdLE3clAmicoAux')
269+
>>> print("Found", len(le3_product_list), "results")
270+
Found 2 results
271+
>>> print(le3_product_list)
272+
basic_download_data_oid product_type product_id observation_id_list tile_index_list patch_id_list filter_name
273+
----------------------- ---------------- ------------------------------------------------ ------------------- --------------- ------------- -----------
274+
47257 DpdLE3clAmicoAux PPO_REGREPROC1_R2_CLTEST_R0_CLDET_R3-amico_aux-0 {} {} {}
275+
47258 DpdLE3clAmicoAux PPO_REGREPROC1_R2_CLTEST_R0_CLDET_R7-amico_aux-0 {} {} {}
266276

267277

268278
1.2. Cone search
@@ -690,7 +700,7 @@ To get the list of products associated with a given EUCLID observation_id or til
690700
EUC_MER_BGSUB-MOSAIC-DES-R_TILE102018211-1078B7_20241018T142927.232351Z_00.00.fits 1401 102018211 DECAM DECAM_r SCIENCE SKY 57.9990741 -51.5 IMAGE
691701
EUC_MER_BGSUB-MOSAIC-DES-Z_TILE102018211-83C32F_20241018T143526.104818Z_00.00.fits 1398 102018211 DECAM DECAM_z SCIENCE SKY 57.9990741 -51.5 IMAGE
692702

693-
The method returns a list of products as an astropy.table.
703+
The method returns a list of products as an `~astropy.table.Table`.
694704

695705

696706
It is possible to download a product given its file name or product id:

0 commit comments

Comments
 (0)