Skip to content

Commit 696882f

Browse files
authored
Merge pull request #3110 from esdc-esac-esa-int/ESA_gaia_GAIAMNGT-1760_Include-new-datalink-retrieve-types-in-the-method-load_data
GAIA: include new datalink retrieve types in the method load data
2 parents 58171a4 + 6959406 commit 696882f

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ gaia
179179

180180
- Fix method search_async_jobs in the class TapPlus. [#2967]
181181

182+
- New retrieval types for datalink (Gaia DR4 release). [#3110]
183+
182184
jplhorizons
183185
^^^^^^^^^^^
184186

astroquery/gaia/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,21 @@ class Conf(_config.ConfigNamespace):
3535
'RV_EPOCH_SINGLE',
3636
'RV_EPOCH_DOUBLE',
3737
'RVS_EPOCH',
38-
'RVS_TRANSIT']
38+
'RVS_TRANSIT',
39+
'EPOCH_ASTROMETRY_CROWDED_FIELD',
40+
'EPOCH_IMAGE',
41+
'EPOCH_PHOTOMETRY_CCD',
42+
'XP_EPOCH_SPECTRUM_SSO',
43+
'XP_EPOCH_CROWDING',
44+
'XP_MEAN_SPECTRUM',
45+
'XP_EPOCH_SPECTRUM',
46+
'CROWDED_FIELD_IMAGE']
3947

4048
VALID_LINKING_PARAMETERS = {'SOURCE_ID', 'TRANSIT_ID', 'IMAGE_ID'}
4149

4250

4351
conf = Conf()
4452

45-
4653
from .core import Gaia, GaiaClass
4754

48-
4955
__all__ = ['Gaia', 'GaiaClass', 'Conf', 'conf']

astroquery/gaia/core.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ def load_data(self, ids, *, data_release=None, data_structure='INDIVIDUAL', retr
194194
'MCMC_GSPPHOT' or 'MCMC_MSC']
195195
For GAIA DR4, possible values will be ['EPOCH_PHOTOMETRY', 'RVS', 'XP_CONTINUOUS', 'XP_SAMPLED',
196196
'MCMC_GSPPHOT', 'MCMC_MSC', 'EPOCH_ASTROMETRY', 'RV_EPOCH_SINGLE', 'RV_EPOCH_DOUBLE', 'RVS_EPOCH' or
197-
'RVS_TRANSIT']
197+
'RVS_TRANSIT', 'EPOCH_ASTROMETRY_CROWDED_FIELD', 'EPOCH_IMAGE', 'EPOCH_PHOTOMETRY_CCD',
198+
'XP_EPOCH_SPECTRUM_SSO', 'XP_EPOCH_CROWDING', 'XP_MEAN_SPECTRUM', 'XP_EPOCH_SPECTRUM',
199+
'CROWDED_FIELD_IMAGE']. Note that for 'CROWDED_FIELD_IMAGE' only the format 'fits' can be used,
200+
and that its image, in the principal header, will not be available in the returned dictionary. Set
201+
'output_file' to retrieve all data: image + tables.
198202
linking_parameter : str, optional, default SOURCE_ID, valid values: SOURCE_ID, TRANSIT_ID, IMAGE_ID
199203
By default, all the identifiers are considered as source_id
200204
SOURCE_ID: the identifiers are considered as source_id

0 commit comments

Comments
 (0)