Did I find the right examples for you? yes no

All Samples(23)  |  Call(19)  |  Derive(0)  |  Import(4)
:ivar url: The URL to the Search API service.  This should be the URL 
    of the ESGF search service excluding the final endpoint name.  
    Usually this is http://<hostname>/esg-search
:ivar distrib: Boolean stating whether searches through this connection are
    distributed.  I.e. whether the Search service distributes the query to
    other search peers.

src/c/d/cdb_query-0.9.6/lib/esgf_query.py   cdb_query(Download)
import os
import copy
import warnings
from pyesgf.search import SearchConnection
 
def experiment_variable_search(nc_Database,search_path,file_type_list,options,
                                experiment,var_name,var_desc,list_level=None):
 
    conn = SearchConnection(search_path, distrib=options.distrib)
 

src/e/s/esgf-pyclient-0.1.2/test/test_context.py   esgf-pyclient(Download)
"""
 
from pyesgf.search import SearchConnection, not_equals
 
from .config import TEST_SERVICE
 
def test_context_freetext():
    conn = SearchConnection(TEST_SERVICE)
def test_context_facets1():
    conn = SearchConnection(TEST_SERVICE)
    context = conn.new_context(project='cmip5')
 
    assert context.facet_constraints['project'] == 'cmip5'
 
def test_context_facets1():
    conn = SearchConnection(TEST_SERVICE)
def test_context_facets_multivalue():
    conn = SearchConnection(TEST_SERVICE)
    context = conn.new_context(project='CMIP5')
 
    context2 = context.constrain(model=['IPSL-CM5A-LR', 'IPSL-CM5A-MR'])

src/e/s/esgf-pyclient-0.1.2/test/test_wget.py   esgf-pyclient(Download)
"""
 
from pyesgf.search import SearchConnection, not_equals
 
from .config import TEST_SERVICE
 
def test_download_script():
    conn = SearchConnection(TEST_SERVICE, distrib=False)

src/e/s/esgf-pyclient-0.1.2/test/test_opendap.py   esgf-pyclient(Download)
 
from pyesgf.logon import LogonManager, DAP_CONFIG_MARKER
from pyesgf.search import SearchConnection
from test.config import TEST_SERVICE
 
        print 'Using dap_config at %s' % self.dap_config
 
        conn = SearchConnection(TEST_SERVICE, distrib=False)
 
        #!TODO: replace with request for specific dataset