ephem.proto 5.12 KB
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
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;
}