syntax = "proto3"; package dfs.ephem; option go_package = "cnlab.net/csst/proto/common/ephem"; import "common/error.proto"; service EphemSearchSrv { rpc Gaia3Search(EphemSearchRequest) returns (stream Gaia3SearchResponse) {} } message Gaia3Record { int64 SolutionId = 1; string Designation = 2; int64 SourceId = 3; int64 RandomIndex = 4; double RefEpoch = 5; double Ra = 6; double RaError = 7; double Dec = 8; double DecError = 9; double Parallax = 10; double ParallaxError = 11; double ParallaxOverError = 12; double Pm = 13; double Pmra = 14; double PmraError = 15; double Pmdec = 16; double PmdecError = 17; double RaDecCorr = 18; double RaParallaxCorr = 19; double RaPmraCorr = 20; double RaPmdecCorr = 21; double DecParallaxCorr = 22; double DecPmraCorr = 23; double DecPmdecCorr = 24; double ParallaxPmraCorr = 25; double ParallaxPmdecCorr = 26; double PmraPmdecCorr = 27; int64 AstrometricNObsAl = 28; int64 AstrometricNObsAc = 29; int64 AstrometricNGoodObsAl = 30; int64 AstrometricNBadObsAl = 31; double AstrometricGofAl = 32; double AstrometricChi2Al = 33; double AstrometricExcessNoise = 34; double AstrometricExcessNoiseSig = 35; int64 AstrometricParamsSolved = 36; int32 AstrometricPrimaryFlag = 37; double NuEffUsedInAstrometry = 38; double Pseudocolour = 39; double PseudocolourError = 40; double RaPseudocolourCorr = 41; double DecPseudocolourCorr = 42; double ParallaxPseudocolourCorr = 43; double PmraPseudocolourCorr = 44; double PmdecPseudocolourCorr = 45; int64 AstrometricMatchedTransits = 46; int64 VisibilityPeriodsUsed = 47; double AstrometricSigma5dMax = 48; int64 MatchedTransits = 49; int64 NewMatchedTransits = 50; int64 MatchedTransitsRemoved = 51; double IpdGofHarmonicAmplitude = 52; double IpdGofHarmonicPhase = 53; int64 IpdFracMultiPeak = 54; int64 IpdFracOddWin = 55; double Ruwe = 56; double ScanDirectionStrengthK1 = 57; double ScanDirectionStrengthK2 = 58; double ScanDirectionStrengthK3 = 59; double ScanDirectionStrengthK4 = 60; double ScanDirectionMeanK1 = 61; double ScanDirectionMeanK2 = 62; double ScanDirectionMeanK3 = 63; double ScanDirectionMeanK4 = 64; int32 DuplicatedSource = 65; int64 PhotGNObs = 66; double PhotGMeanFlux = 67; double PhotGMeanFluxError = 68; double PhotGMeanFluxOverError = 69; double PhotGMeanMag = 70; int64 PhotBpNObs = 71; double PhotBpMeanFlux = 72; double PhotBpMeanFluxError = 73; double PhotBpMeanFluxOverError = 74; double PhotBpMeanMag = 75; int64 PhotRpNObs = 76; double PhotRpMeanFlux = 77; double PhotRpMeanFluxError = 78; double PhotRpMeanFluxOverError = 79; double PhotRpMeanMag = 80; double PhotBpRpExcessFactor = 81; double PhotBpNContaminatedTransits = 82; double PhotBpNBlendedTransits = 83; double PhotRpNContaminatedTransits = 84; double PhotRpNBlendedTransits = 85; double PhotProcMode = 86; double BpRp = 87; double BpG = 88; double GRp = 89; double RadialVelocity = 90; double RadialVelocityError = 91; double RvMethodUsed = 92; double RvNbTransits = 93; double RvNbDeblendedTransits = 94; double RvVisibilityPeriodsUsed = 95; double RvExpectedSigToNoise = 96; double RvRenormalisedGof = 97; double RvChisqPvalue = 98; double RvTimeDuration = 99; double RvAmplitudeRobust = 100; double RvTemplateTeff = 101; double RvTemplateLogg = 102; double RvTemplateFeH = 103; double RvAtmParamOrigin = 104; double Vbroad = 105; double VbroadError = 106; double VbroadNbTransits = 107; double GrvsMag = 108; double GrvsMagError = 109; double GrvsMagNbTransits = 110; double RvsSpecSigToNoise = 111; string PhotVariableFlag = 112; double L = 113; double B = 114; double EclLon = 115; double EclLat = 116; int32 InQsoCandidates = 117; int32 InGalaxyCandidates = 118; int64 NonSingleStar = 119; int32 HasXpContinuous = 120; int32 HasXpSampled = 121; int32 HasRvs = 122; int32 HasEpochPhotometry = 123; int32 HasEpochRv = 124; int32 HasMcmcGspphot = 125; int32 HasMcmcMsc = 126; int32 InAndromedaSurvey = 127; double ClassprobDscCombmodQuasar = 128; double ClassprobDscCombmodGalaxy = 129; double ClassprobDscCombmodStar = 130; double TeffGspphot = 131; double TeffGspphotLower = 132; double TeffGspphotUpper = 133; double LoggGspphot = 134; double LoggGspphotLower = 135; double LoggGspphotUpper = 136; double MhGspphot = 137; double MhGspphotLower = 138; double MhGspphotUpper = 139; double DistanceGspphot = 140; double DistanceGspphotLower = 141; double DistanceGspphotUpper = 142; double AzeroGspphot = 143; double AzeroGspphotLower = 144; double AzeroGspphotUpper = 145; double AgGspphot = 146; double AgGspphotLower = 147; double AgGspphotUpper = 148; double EbpminrpGspphot = 149; double EbpminrpGspphotLower = 150; double EbpminrpGspphotUpper = 151; string LibnameGspphot = 152; int32 NS8HIdx = 153; int32 NS16HIdx = 154; int32 NS32HIdx = 155; int32 NS64HIdx = 156; int32 FileIdx = 157; } message EphemSearchRequest { double ra = 1; double dec = 2; double radius = 3; string columns = 4; double minMag = 5; double maxMag = 6; int64 obstime = 7; int64 limit = 8; } message Gaia3SearchResponse { bool success = 1; int32 totalCount = 2; common.Error error = 3; bytes records = 4; }