예제 #1
0
파일: vso.py 프로젝트: abooij/sunpy
 def query(self, *query):
     """ Furtherly reduce the query response by matching it against
     another query, e.g. response.query(attrs.Instrument('aia')). """
     query = and_(*query)
     return QueryResponse(
         attrs.filter_results(query, self), self.queryresult
     )
예제 #2
0
 def search(self, *query):
     """ Furtherly reduce the query response by matching it against
         another query, e.g. response.search(attrs.Instrument('aia')). """
     query = and_(*query)
     return QueryResponse(
                          attrs.filter_results(query, self), self.queryresult
                          )