Skip to content

Commit

Permalink
Merge pull request #2775 from esdc-esac-esa-int/ESA_gaia-datalink_new…
Browse files Browse the repository at this point in the history
…_retrieval_types

New retrieval types for Gaia Datalink (GAIAPCR-1281 C9GACS-9070)
  • Loading branch information
bsipocz authored Aug 1, 2023
2 parents 4617173 + 85e0a37 commit fa181fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion astroquery/gaia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ class Conf(_config.ConfigNamespace):
'XP_SAMPLED',
'RVS',
'MCMC_GSPPHOT',
'MCMC_MSC']
'MCMC_MSC',
'EPOCH_ASTROMETRY',
'RV_EPOCH_SINGLE',
'RV_EPOCH_DOUBLE',
'RVS_EPOCH',
'RVS_TRANSIT']


conf = Conf()
Expand Down
5 changes: 4 additions & 1 deletion astroquery/gaia/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,11 @@ def load_data(self, ids, *, data_release=None, data_structure='INDIVIDUAL',
row per sourceId
retrieval_type : str, optional, default 'ALL' to retrieve all data from the list of sources
retrieval type identifier. For GAIA DR2 possible values are ['EPOCH_PHOTOMETRY']
For GAIA DR3, possible values are ['EPOC_PHOTOMETRY', 'RVS', 'XP_CONTINUOUS', 'XP_SAMPLED',
For GAIA DR3, possible values are ['EPOCH_PHOTOMETRY', 'RVS', 'XP_CONTINUOUS', 'XP_SAMPLED',
'MCMC_GSPPHOT' or 'MCMC_MSC']
For GAIA DR4, possible values will be ['EPOCH_PHOTOMETRY', 'RVS', 'XP_CONTINUOUS', 'XP_SAMPLED',
'MCMC_GSPPHOT', 'MCMC_MSC', 'EPOCH_ASTROMETRY', 'RV_EPOCH_SINGLE', 'RV_EPOCH_DOUBLE', 'RVS_EPOCH' or
'RVS_TRANSIT']
valid_data : bool, optional, default False
By default, the epoch photometry service returns all available data, including
data rows where flux is null and/or the rejected_by_photometry flag is set to True.
Expand Down

0 comments on commit fa181fa

Please sign in to comment.