[Go-essp-tech] [esgf-devel] ANNOUNCE: esgf-pyclient-0.0.3. A Python client to ESGF Search

Sébastien Denvil sebastien.denvil at ipsl.jussieu.fr
Thu Nov 29 08:44:22 MST 2012


this will be so useful. Thanks.

Sébastien

Le 29/11/2012 16:36, stephen.pascoe at stfc.ac.uk a écrit :
>
> I would like to announce the first alpha release of esgf-pyclient: A 
> python interface to the ESGF Search API.
>
> Although still in development the library is already useful for 
> finding ESGF data, including download URLs, OPeNDAP URLs, filenames, 
> sizes and checksums.
>
> - Download fromhttp://pypi.python.org/pypi/esgf-pyclient
>
> - See the documentation at http://esgf-pyclient.readthedocs.org
>
> - Follow development at http://github.com/stephenpascoe/esgf-pyclient
>
> For a quick start try:
>
> $ pip install esgf-pyclient
>
> $ python
>
> >>> from pyesgf.search import SearchConnection
>
> >>> conn = 
> SearchConnection('http://pcmdi9.llnl.gov/esg-search/search', distrib=True)
>
> >>> ctx = conn.new_context(project='CMIP5', query='humidity', 
> experiment_family='RCP')
>
> >>> ctx.hit_count
>
> 1927
>
> >>> ctx.search()[0].dataset_id
>
> u'cmip5.output1.NASA-GISS.GISS-E2-R.rcp45.day.atmos.day.r6i1p1.v20120516|esgdata1.nccs.nasa.gov'
>
> Find further examples in the documentation.
>
> Thanks,
>
> Stephen.
>
> ---
>
> Stephen Pascoe  +44 (0)1235 445980
>
> Centre of Environmental Data Archival
>
> STFC Rutherford Appleton Laboratory, Harwell Oxford, Didcot OX11 0QX, UK
>
>
> -- 
> Scanned by iCritical.
>
>


-- 
Sébastien Denvil
IPSL, Pôle de modélisation du climat
UPMC, Case 101, 4 place Jussieu,
75252 Paris Cedex 5

Tour 45-55 2ème étage Bureau 209
Tel: 33 1 44 27 21 10
Fax: 33 1 44 27 39 02

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/go-essp-tech/attachments/20121129/de527735/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2958 bytes
Desc: Signature cryptographique S/MIME
Url : http://mailman.ucar.edu/pipermail/go-essp-tech/attachments/20121129/de527735/attachment-0001.bin 


More information about the GO-ESSP-TECH mailing list