Commit 38cbf956 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

ephem to stream resp

parent 3c5ee28a
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT! # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: common/ephem/ephem.proto # source: common/ephem/ephem.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message from google.protobuf import message as _message
from google.protobuf import reflection as _reflection from google.protobuf import reflection as _reflection
...@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor( ...@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='common/ephem/ephem.proto', name='common/ephem/ephem.proto',
package='dfs.ephem', package='dfs.ephem',
syntax='proto3', syntax='proto3',
serialized_options=_b('Z!cnlab.net/csst/proto/common/ephem'), serialized_options=b'Z!cnlab.net/csst/proto/common/ephem',
serialized_pb=_b('\n\x18\x63ommon/ephem/ephem.proto\x12\tdfs.ephem\x1a\x12\x63ommon/error.proto\"\xd7\x1e\n\x0bGaia3Record\x12\x12\n\nSolutionId\x18\x01 \x01(\x03\x12\x13\n\x0b\x44\x65signation\x18\x02 \x01(\t\x12\x10\n\x08SourceId\x18\x03 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x04 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x05 \x01(\x01\x12\n\n\x02Ra\x18\x06 \x01(\x01\x12\x0f\n\x07RaError\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x08 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\t \x01(\x01\x12\x10\n\x08Parallax\x18\n \x01(\x01\x12\x15\n\rParallaxError\x18\x0b \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\x0c \x01(\x01\x12\n\n\x02Pm\x18\r \x01(\x01\x12\x0c\n\x04Pmra\x18\x0e \x01(\x01\x12\x11\n\tPmraError\x18\x0f \x01(\x01\x12\r\n\x05Pmdec\x18\x10 \x01(\x01\x12\x12\n\nPmdecError\x18\x11 \x01(\x01\x12\x11\n\tRaDecCorr\x18\x12 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x13 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x14 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x15 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x16 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x17 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x18 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x19 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x1a \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x1b \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1c \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1d \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1e \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1f \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18 \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18! \x01(\x01\x12\x1e\n\x16\x41strometricExcessNoise\x18\" \x01(\x01\x12!\n\x19\x41strometricExcessNoiseSig\x18# \x01(\x01\x12\x1f\n\x17\x41strometricParamsSolved\x18$ \x01(\x03\x12\x1e\n\x16\x41strometricPrimaryFlag\x18% \x01(\x05\x12\x1d\n\x15NuEffUsedInAstrometry\x18& \x01(\x01\x12\x14\n\x0cPseudocolour\x18\' \x01(\x01\x12\x19\n\x11PseudocolourError\x18( \x01(\x01\x12\x1a\n\x12RaPseudocolourCorr\x18) \x01(\x01\x12\x1b\n\x13\x44\x65\x63PseudocolourCorr\x18* \x01(\x01\x12 \n\x18ParallaxPseudocolourCorr\x18+ \x01(\x01\x12\x1c\n\x14PmraPseudocolourCorr\x18, \x01(\x01\x12\x1d\n\x15PmdecPseudocolourCorr\x18- \x01(\x01\x12\"\n\x1a\x41strometricMatchedTransits\x18. \x01(\x03\x12\x1d\n\x15VisibilityPeriodsUsed\x18/ \x01(\x03\x12\x1d\n\x15\x41strometricSigma5dMax\x18\x30 \x01(\x01\x12\x17\n\x0fMatchedTransits\x18\x31 \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x32 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x33 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x34 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x35 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x36 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x37 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x39 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18: \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18; \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK4\x18< \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK1\x18= \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK2\x18> \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK3\x18? \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK4\x18@ \x01(\x01\x12\x18\n\x10\x44uplicatedSource\x18\x41 \x01(\x05\x12\x11\n\tPhotGNObs\x18\x42 \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x43 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x44 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x45 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x46 \x01(\x01\x12\x12\n\nPhotBpNObs\x18G \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18H \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18I \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18J \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18K \x01(\x01\x12\x12\n\nPhotRpNObs\x18L \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18M \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18N \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18O \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18P \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18Q \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18R \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18S \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18T \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18U \x01(\x01\x12\x14\n\x0cPhotProcMode\x18V \x01(\x01\x12\x0c\n\x04\x42pRp\x18W \x01(\x01\x12\x0b\n\x03\x42pG\x18X \x01(\x01\x12\x0b\n\x03GRp\x18Y \x01(\x01\x12\x16\n\x0eRadialVelocity\x18Z \x01(\x01\x12\x1b\n\x13RadialVelocityError\x18[ \x01(\x01\x12\x14\n\x0cRvMethodUsed\x18\\ \x01(\x01\x12\x14\n\x0cRvNbTransits\x18] \x01(\x01\x12\x1d\n\x15RvNbDeblendedTransits\x18^ \x01(\x01\x12\x1f\n\x17RvVisibilityPeriodsUsed\x18_ \x01(\x01\x12\x1c\n\x14RvExpectedSigToNoise\x18` \x01(\x01\x12\x19\n\x11RvRenormalisedGof\x18\x61 \x01(\x01\x12\x15\n\rRvChisqPvalue\x18\x62 \x01(\x01\x12\x16\n\x0eRvTimeDuration\x18\x63 \x01(\x01\x12\x19\n\x11RvAmplitudeRobust\x18\x64 \x01(\x01\x12\x16\n\x0eRvTemplateTeff\x18\x65 \x01(\x01\x12\x16\n\x0eRvTemplateLogg\x18\x66 \x01(\x01\x12\x15\n\rRvTemplateFeH\x18g \x01(\x01\x12\x18\n\x10RvAtmParamOrigin\x18h \x01(\x01\x12\x0e\n\x06Vbroad\x18i \x01(\x01\x12\x13\n\x0bVbroadError\x18j \x01(\x01\x12\x18\n\x10VbroadNbTransits\x18k \x01(\x01\x12\x0f\n\x07GrvsMag\x18l \x01(\x01\x12\x14\n\x0cGrvsMagError\x18m \x01(\x01\x12\x19\n\x11GrvsMagNbTransits\x18n \x01(\x01\x12\x19\n\x11RvsSpecSigToNoise\x18o \x01(\x01\x12\x18\n\x10PhotVariableFlag\x18p \x01(\t\x12\t\n\x01L\x18q \x01(\x01\x12\t\n\x01\x42\x18r \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18s \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18t \x01(\x01\x12\x17\n\x0fInQsoCandidates\x18u \x01(\x05\x12\x1a\n\x12InGalaxyCandidates\x18v \x01(\x05\x12\x15\n\rNonSingleStar\x18w \x01(\x03\x12\x17\n\x0fHasXpContinuous\x18x \x01(\x05\x12\x14\n\x0cHasXpSampled\x18y \x01(\x05\x12\x0e\n\x06HasRvs\x18z \x01(\x05\x12\x1a\n\x12HasEpochPhotometry\x18{ \x01(\x05\x12\x12\n\nHasEpochRv\x18| \x01(\x05\x12\x16\n\x0eHasMcmcGspphot\x18} \x01(\x05\x12\x12\n\nHasMcmcMsc\x18~ \x01(\x05\x12\x19\n\x11InAndromedaSurvey\x18\x7f \x01(\x05\x12\"\n\x19\x43lassprobDscCombmodQuasar\x18\x80\x01 \x01(\x01\x12\"\n\x19\x43lassprobDscCombmodGalaxy\x18\x81\x01 \x01(\x01\x12 \n\x17\x43lassprobDscCombmodStar\x18\x82\x01 \x01(\x01\x12\x14\n\x0bTeffGspphot\x18\x83\x01 \x01(\x01\x12\x19\n\x10TeffGspphotLower\x18\x84\x01 \x01(\x01\x12\x19\n\x10TeffGspphotUpper\x18\x85\x01 \x01(\x01\x12\x14\n\x0bLoggGspphot\x18\x86\x01 \x01(\x01\x12\x19\n\x10LoggGspphotLower\x18\x87\x01 \x01(\x01\x12\x19\n\x10LoggGspphotUpper\x18\x88\x01 \x01(\x01\x12\x12\n\tMhGspphot\x18\x89\x01 \x01(\x01\x12\x17\n\x0eMhGspphotLower\x18\x8a\x01 \x01(\x01\x12\x17\n\x0eMhGspphotUpper\x18\x8b\x01 \x01(\x01\x12\x18\n\x0f\x44istanceGspphot\x18\x8c\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotLower\x18\x8d\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotUpper\x18\x8e\x01 \x01(\x01\x12\x15\n\x0c\x41zeroGspphot\x18\x8f\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotLower\x18\x90\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotUpper\x18\x91\x01 \x01(\x01\x12\x12\n\tAgGspphot\x18\x92\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotLower\x18\x93\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotUpper\x18\x94\x01 \x01(\x01\x12\x18\n\x0f\x45\x62pminrpGspphot\x18\x95\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotLower\x18\x96\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotUpper\x18\x97\x01 \x01(\x01\x12\x17\n\x0eLibnameGspphot\x18\x98\x01 \x01(\t\x12\x10\n\x07NS8HIdx\x18\x99\x01 \x01(\x05\x12\x11\n\x08NS16HIdx\x18\x9a\x01 \x01(\x05\x12\x11\n\x08NS32HIdx\x18\x9b\x01 \x01(\x05\x12\x11\n\x08NS64HIdx\x18\x9c\x01 \x01(\x05\x12\x10\n\x07\x46ileIdx\x18\x9d\x01 \x01(\x05\"}\n\x12\x45phemSearchRequest\x12\n\n\x02ra\x18\x01 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x02 \x01(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x01\x12\x0e\n\x06minMag\x18\x05 \x01(\x01\x12\x0e\n\x06maxMag\x18\x06 \x01(\x01\x12\x0f\n\x07obstime\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\"\x81\x01\n\x13Gaia3SearchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\'\n\x07records\x18\x04 \x03(\x0b\x32\x16.dfs.ephem.Gaia3Record2`\n\x0e\x45phemSearchSrv\x12N\n\x0bGaia3Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia3SearchResponse\"\x00\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3') serialized_pb=b'\n\x18\x63ommon/ephem/ephem.proto\x12\tdfs.ephem\x1a\x12\x63ommon/error.proto\"\xd7\x1e\n\x0bGaia3Record\x12\x12\n\nSolutionId\x18\x01 \x01(\x03\x12\x13\n\x0b\x44\x65signation\x18\x02 \x01(\t\x12\x10\n\x08SourceId\x18\x03 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x04 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x05 \x01(\x01\x12\n\n\x02Ra\x18\x06 \x01(\x01\x12\x0f\n\x07RaError\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x08 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\t \x01(\x01\x12\x10\n\x08Parallax\x18\n \x01(\x01\x12\x15\n\rParallaxError\x18\x0b \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\x0c \x01(\x01\x12\n\n\x02Pm\x18\r \x01(\x01\x12\x0c\n\x04Pmra\x18\x0e \x01(\x01\x12\x11\n\tPmraError\x18\x0f \x01(\x01\x12\r\n\x05Pmdec\x18\x10 \x01(\x01\x12\x12\n\nPmdecError\x18\x11 \x01(\x01\x12\x11\n\tRaDecCorr\x18\x12 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x13 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x14 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x15 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x16 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x17 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x18 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x19 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x1a \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x1b \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1c \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1d \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1e \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1f \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18 \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18! \x01(\x01\x12\x1e\n\x16\x41strometricExcessNoise\x18\" \x01(\x01\x12!\n\x19\x41strometricExcessNoiseSig\x18# \x01(\x01\x12\x1f\n\x17\x41strometricParamsSolved\x18$ \x01(\x03\x12\x1e\n\x16\x41strometricPrimaryFlag\x18% \x01(\x05\x12\x1d\n\x15NuEffUsedInAstrometry\x18& \x01(\x01\x12\x14\n\x0cPseudocolour\x18\' \x01(\x01\x12\x19\n\x11PseudocolourError\x18( \x01(\x01\x12\x1a\n\x12RaPseudocolourCorr\x18) \x01(\x01\x12\x1b\n\x13\x44\x65\x63PseudocolourCorr\x18* \x01(\x01\x12 \n\x18ParallaxPseudocolourCorr\x18+ \x01(\x01\x12\x1c\n\x14PmraPseudocolourCorr\x18, \x01(\x01\x12\x1d\n\x15PmdecPseudocolourCorr\x18- \x01(\x01\x12\"\n\x1a\x41strometricMatchedTransits\x18. \x01(\x03\x12\x1d\n\x15VisibilityPeriodsUsed\x18/ \x01(\x03\x12\x1d\n\x15\x41strometricSigma5dMax\x18\x30 \x01(\x01\x12\x17\n\x0fMatchedTransits\x18\x31 \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x32 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x33 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x34 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x35 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x36 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x37 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x39 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18: \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18; \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK4\x18< \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK1\x18= \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK2\x18> \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK3\x18? \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK4\x18@ \x01(\x01\x12\x18\n\x10\x44uplicatedSource\x18\x41 \x01(\x05\x12\x11\n\tPhotGNObs\x18\x42 \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x43 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x44 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x45 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x46 \x01(\x01\x12\x12\n\nPhotBpNObs\x18G \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18H \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18I \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18J \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18K \x01(\x01\x12\x12\n\nPhotRpNObs\x18L \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18M \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18N \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18O \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18P \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18Q \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18R \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18S \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18T \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18U \x01(\x01\x12\x14\n\x0cPhotProcMode\x18V \x01(\x01\x12\x0c\n\x04\x42pRp\x18W \x01(\x01\x12\x0b\n\x03\x42pG\x18X \x01(\x01\x12\x0b\n\x03GRp\x18Y \x01(\x01\x12\x16\n\x0eRadialVelocity\x18Z \x01(\x01\x12\x1b\n\x13RadialVelocityError\x18[ \x01(\x01\x12\x14\n\x0cRvMethodUsed\x18\\ \x01(\x01\x12\x14\n\x0cRvNbTransits\x18] \x01(\x01\x12\x1d\n\x15RvNbDeblendedTransits\x18^ \x01(\x01\x12\x1f\n\x17RvVisibilityPeriodsUsed\x18_ \x01(\x01\x12\x1c\n\x14RvExpectedSigToNoise\x18` \x01(\x01\x12\x19\n\x11RvRenormalisedGof\x18\x61 \x01(\x01\x12\x15\n\rRvChisqPvalue\x18\x62 \x01(\x01\x12\x16\n\x0eRvTimeDuration\x18\x63 \x01(\x01\x12\x19\n\x11RvAmplitudeRobust\x18\x64 \x01(\x01\x12\x16\n\x0eRvTemplateTeff\x18\x65 \x01(\x01\x12\x16\n\x0eRvTemplateLogg\x18\x66 \x01(\x01\x12\x15\n\rRvTemplateFeH\x18g \x01(\x01\x12\x18\n\x10RvAtmParamOrigin\x18h \x01(\x01\x12\x0e\n\x06Vbroad\x18i \x01(\x01\x12\x13\n\x0bVbroadError\x18j \x01(\x01\x12\x18\n\x10VbroadNbTransits\x18k \x01(\x01\x12\x0f\n\x07GrvsMag\x18l \x01(\x01\x12\x14\n\x0cGrvsMagError\x18m \x01(\x01\x12\x19\n\x11GrvsMagNbTransits\x18n \x01(\x01\x12\x19\n\x11RvsSpecSigToNoise\x18o \x01(\x01\x12\x18\n\x10PhotVariableFlag\x18p \x01(\t\x12\t\n\x01L\x18q \x01(\x01\x12\t\n\x01\x42\x18r \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18s \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18t \x01(\x01\x12\x17\n\x0fInQsoCandidates\x18u \x01(\x05\x12\x1a\n\x12InGalaxyCandidates\x18v \x01(\x05\x12\x15\n\rNonSingleStar\x18w \x01(\x03\x12\x17\n\x0fHasXpContinuous\x18x \x01(\x05\x12\x14\n\x0cHasXpSampled\x18y \x01(\x05\x12\x0e\n\x06HasRvs\x18z \x01(\x05\x12\x1a\n\x12HasEpochPhotometry\x18{ \x01(\x05\x12\x12\n\nHasEpochRv\x18| \x01(\x05\x12\x16\n\x0eHasMcmcGspphot\x18} \x01(\x05\x12\x12\n\nHasMcmcMsc\x18~ \x01(\x05\x12\x19\n\x11InAndromedaSurvey\x18\x7f \x01(\x05\x12\"\n\x19\x43lassprobDscCombmodQuasar\x18\x80\x01 \x01(\x01\x12\"\n\x19\x43lassprobDscCombmodGalaxy\x18\x81\x01 \x01(\x01\x12 \n\x17\x43lassprobDscCombmodStar\x18\x82\x01 \x01(\x01\x12\x14\n\x0bTeffGspphot\x18\x83\x01 \x01(\x01\x12\x19\n\x10TeffGspphotLower\x18\x84\x01 \x01(\x01\x12\x19\n\x10TeffGspphotUpper\x18\x85\x01 \x01(\x01\x12\x14\n\x0bLoggGspphot\x18\x86\x01 \x01(\x01\x12\x19\n\x10LoggGspphotLower\x18\x87\x01 \x01(\x01\x12\x19\n\x10LoggGspphotUpper\x18\x88\x01 \x01(\x01\x12\x12\n\tMhGspphot\x18\x89\x01 \x01(\x01\x12\x17\n\x0eMhGspphotLower\x18\x8a\x01 \x01(\x01\x12\x17\n\x0eMhGspphotUpper\x18\x8b\x01 \x01(\x01\x12\x18\n\x0f\x44istanceGspphot\x18\x8c\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotLower\x18\x8d\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotUpper\x18\x8e\x01 \x01(\x01\x12\x15\n\x0c\x41zeroGspphot\x18\x8f\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotLower\x18\x90\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotUpper\x18\x91\x01 \x01(\x01\x12\x12\n\tAgGspphot\x18\x92\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotLower\x18\x93\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotUpper\x18\x94\x01 \x01(\x01\x12\x18\n\x0f\x45\x62pminrpGspphot\x18\x95\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotLower\x18\x96\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotUpper\x18\x97\x01 \x01(\x01\x12\x17\n\x0eLibnameGspphot\x18\x98\x01 \x01(\t\x12\x10\n\x07NS8HIdx\x18\x99\x01 \x01(\x05\x12\x11\n\x08NS16HIdx\x18\x9a\x01 \x01(\x05\x12\x11\n\x08NS32HIdx\x18\x9b\x01 \x01(\x05\x12\x11\n\x08NS64HIdx\x18\x9c\x01 \x01(\x05\x12\x10\n\x07\x46ileIdx\x18\x9d\x01 \x01(\x05\"}\n\x12\x45phemSearchRequest\x12\n\n\x02ra\x18\x01 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x02 \x01(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x01\x12\x0e\n\x06minMag\x18\x05 \x01(\x01\x12\x0e\n\x06maxMag\x18\x06 \x01(\x01\x12\x0f\n\x07obstime\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\"\x81\x01\n\x13Gaia3SearchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\'\n\x07records\x18\x04 \x03(\x0b\x32\x16.dfs.ephem.Gaia3Record2b\n\x0e\x45phemSearchSrv\x12P\n\x0bGaia3Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia3SearchResponse\"\x00\x30\x01\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3'
, ,
dependencies=[common_dot_error__pb2.DESCRIPTOR,]) dependencies=[common_dot_error__pb2.DESCRIPTOR,])
...@@ -45,7 +43,7 @@ _GAIA3RECORD = _descriptor.Descriptor( ...@@ -45,7 +43,7 @@ _GAIA3RECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='Designation', full_name='dfs.ephem.Gaia3Record.Designation', index=1, name='Designation', full_name='dfs.ephem.Gaia3Record.Designation', index=1,
number=2, type=9, cpp_type=9, label=1, number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
...@@ -815,7 +813,7 @@ _GAIA3RECORD = _descriptor.Descriptor( ...@@ -815,7 +813,7 @@ _GAIA3RECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='PhotVariableFlag', full_name='dfs.ephem.Gaia3Record.PhotVariableFlag', index=111, name='PhotVariableFlag', full_name='dfs.ephem.Gaia3Record.PhotVariableFlag', index=111,
number=112, type=9, cpp_type=9, label=1, number=112, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
...@@ -1095,7 +1093,7 @@ _GAIA3RECORD = _descriptor.Descriptor( ...@@ -1095,7 +1093,7 @@ _GAIA3RECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='LibnameGspphot', full_name='dfs.ephem.Gaia3Record.LibnameGspphot', index=151, name='LibnameGspphot', full_name='dfs.ephem.Gaia3Record.LibnameGspphot', index=151,
number=152, type=9, cpp_type=9, label=1, number=152, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
...@@ -1313,7 +1311,7 @@ _EPHEMSEARCHSRV = _descriptor.ServiceDescriptor( ...@@ -1313,7 +1311,7 @@ _EPHEMSEARCHSRV = _descriptor.ServiceDescriptor(
index=0, index=0,
serialized_options=None, serialized_options=None,
serialized_start=4248, serialized_start=4248,
serialized_end=4344, serialized_end=4346,
methods=[ methods=[
_descriptor.MethodDescriptor( _descriptor.MethodDescriptor(
name='Gaia3Search', name='Gaia3Search',
......
...@@ -5,8 +5,7 @@ from . import ephem_pb2 as common_dot_ephem_dot_ephem__pb2 ...@@ -5,8 +5,7 @@ from . import ephem_pb2 as common_dot_ephem_dot_ephem__pb2
class EphemSearchSrvStub(object): class EphemSearchSrvStub(object):
# missing associated documentation comment in .proto file """Missing associated documentation comment in .proto file"""
pass
def __init__(self, channel): def __init__(self, channel):
"""Constructor. """Constructor.
...@@ -14,7 +13,7 @@ class EphemSearchSrvStub(object): ...@@ -14,7 +13,7 @@ class EphemSearchSrvStub(object):
Args: Args:
channel: A grpc.Channel. channel: A grpc.Channel.
""" """
self.Gaia3Search = channel.unary_unary( self.Gaia3Search = channel.unary_stream(
'/dfs.ephem.EphemSearchSrv/Gaia3Search', '/dfs.ephem.EphemSearchSrv/Gaia3Search',
request_serializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.SerializeToString, request_serializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.SerializeToString,
response_deserializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.FromString, response_deserializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.FromString,
...@@ -22,12 +21,10 @@ class EphemSearchSrvStub(object): ...@@ -22,12 +21,10 @@ class EphemSearchSrvStub(object):
class EphemSearchSrvServicer(object): class EphemSearchSrvServicer(object):
# missing associated documentation comment in .proto file """Missing associated documentation comment in .proto file"""
pass
def Gaia3Search(self, request, context): def Gaia3Search(self, request, context):
# missing associated documentation comment in .proto file """Missing associated documentation comment in .proto file"""
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!') context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!') raise NotImplementedError('Method not implemented!')
...@@ -35,7 +32,7 @@ class EphemSearchSrvServicer(object): ...@@ -35,7 +32,7 @@ class EphemSearchSrvServicer(object):
def add_EphemSearchSrvServicer_to_server(servicer, server): def add_EphemSearchSrvServicer_to_server(servicer, server):
rpc_method_handlers = { rpc_method_handlers = {
'Gaia3Search': grpc.unary_unary_rpc_method_handler( 'Gaia3Search': grpc.unary_stream_rpc_method_handler(
servicer.Gaia3Search, servicer.Gaia3Search,
request_deserializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.FromString, request_deserializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.FromString,
response_serializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.SerializeToString, response_serializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.SerializeToString,
...@@ -44,3 +41,24 @@ def add_EphemSearchSrvServicer_to_server(servicer, server): ...@@ -44,3 +41,24 @@ def add_EphemSearchSrvServicer_to_server(servicer, server):
generic_handler = grpc.method_handlers_generic_handler( generic_handler = grpc.method_handlers_generic_handler(
'dfs.ephem.EphemSearchSrv', rpc_method_handlers) 'dfs.ephem.EphemSearchSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,)) server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class EphemSearchSrv(object):
"""Missing associated documentation comment in .proto file"""
@staticmethod
def Gaia3Search(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_stream(request, target, '/dfs.ephem.EphemSearchSrv/Gaia3Search',
common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.SerializeToString,
common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment