cedadev / jasmin_scivm

9 stars 0 forks source link

add esgf pyclient #123

Closed alaniwi closed 7 years ago

alaniwi commented 7 years ago

Per subject.

alaniwi commented 7 years ago

Clean build, and seems to do something useful.

>>> from pyesgf.search.connection import SearchConnection
>>> conn = SearchConnection('http://esgf-data.dkrz.de/esg-search', distrib=True)
>>> ctx = conn.new_context(project='CMIP5', query='humidity')
>>> ctx.hit_count
34525