{ "info": { "author": "F. B. Laliberte", "author_email": "laliberte.frederic@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Fortran", "Programming Language :: Python :: 2.7" ], "description": "netcdf4_pydap\n=============\n|Build Status|\n\n.. |Build Status| image:: https://travis-ci.org/laliberte/netcdf4_pydap.svg\n :target: https://travis-ci.org/laliberte/netcdf4_pydap\n\nThis code provides enhancements to the `pydap` client package:\n\n#. An updated pydap client that uses the `requests` package to handle Central Authentication Services (such as ESGF).\n#. A (partial) compatibility layer with `netcdf4-python`.\n\nFrederic Laliberte\nUniversity of Toronto, 2016\n\nDocumentation\n-------------\n\nESGF\n^^^^\n\n#. Register at https://pcmdi.llnl.gov/user/add/?next=https://pcmdi.llnl.gov/projects/esgf-llnl/.\n When registering, you will create a `password` and receive an `openid`.\n\n#. Go to https://pcmdi.llnl.gov/esg-orp/home.htm and login with your `openid` using your `password`.\n\n#. Go to https://pcmdi.llnl.gov/esg-orp/registration-request.htm?resource=http%3A%2F%2Fpcmdi.llnl.gov%2Fthredds%2FfileServer%2Fesg_testroot%2Fregister%2Fcmip5_research.nc.\n Your browser will likely ask you to trust some certificates. CLICK `ALWAYS ALLOW`. If you don't do this, it won't work.\n\n#. Register for `CMIP5 Research`. You do not need to download data.\n\n#. Connect to OPeNDAP links as follows::\n\n import matplotlib.pyplot as plt\n import numpy as np\n\n import netcdf4_pydap \n import netcdf4_pydap.cas.esgf as esgf\n openid = YOUROPENID\n password = YOURPASSWORD\n\n credentials={\n 'password' : password,\n 'authentication_url' : esgf._uri(openid)}\n\n url = ('http://cordexesg.dmi.dk/thredds/dodsC/cordex_general/cordex/' \n 'output/EUR-11/DMI/ICHEC-EC-EARTH/historical/r3i1p1/DMI-HIRHAM5/'\n 'v1/day/pr/v20131119/'\n 'pr_EUR-11_ICHEC-EC-EARTH_historical_r3i1p1_DMI-HIRHAM5_v1_day_19960101-20001231.nc')\n\n with netcdf4_pydap.Dataset(url,**credentials) as dataset:\n data = dataset.variables['pr'][0,:,:]\n plt.contourf(np.squeeze(data))\n plt.show()\n\n#. If using https://ceda.ac.uk instead of https://pcmdi.llnl.gov, your `username` must be passed along with your credentials use::\n\n credentials={\n 'username' : YOURCEDAUSERNAME,\n 'password' : password,\n 'authentication_url' : esgf._uri(openid)}\n\nURS NASA Earthdata\n^^^^^^^^^^^^^^^^^^\nThere are a few steps required to connect to NASA Earthdata:\n\n#. Create an account at https://urs.earthdata.nasa.gov\n#. Authorize the data to see your profile (NASA calls this adding an app, a la Facebook).\n Follow http://disc.sci.gsfc.nasa.gov/registration/authorizing-desidsc-data-access-in-earthdata_login\n#. Load OPeNDAP data::\n\n import matplotlib.pyplot as plt\n import numpy as np\n import netcdf4_pydap\n\n credentials={'username': YOURUSERNAME,\n 'password': YOURPASSWORD,\n 'authentication_url':'https://urs.earthdata.nasa.gov/'}\n url = ('http://goldsmr3.gesdisc.eosdis.nasa.gov:80/opendap/'\n 'MERRA_MONTHLY/MAIMCPASM.5.2.0/1979/MERRA100.prod.assim.instM_3d_asm_Cp.197901.hdf')\n\n with netcdf4_pydap.Dataset(url, **credentials) as dataset:\n data = dataset.variables['SLP'][0,:,:]\n plt.contourf(np.squeeze(data))\n plt.show()\n\n\nVersion History\n---------------\n\n0.2.6: Another bug fix when getting cookies.\n\n0.2.5: Bug fix when getting cookies.\n\n0.2.4: Bug fix for ESGF.\n\n0.2.3: New authentication method. Support URS NASA Earthdata\n\n0.2.2: Pydap 3.1.1 is now a requirement.\n\n0.2.1: Removed support for NASA Earthdata.\n\n0.2: Travis-CI integration. Limited test suite. Code reorganization.\n\n0.1.4: Bug fix and more robust error handling.\n\n0.1.1: Added special Dataset class to mimic wget.\n\n0.1 : Initial commit.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "atmosphere climate", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "netcdf4_pydap", "package_url": "https://pypi.org/project/netcdf4_pydap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/netcdf4_pydap/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/netcdf4_pydap/0.2.6/", "requires_dist": null, "requires_python": null, "summary": "netCDF4 and CAS compatibility layer for pydap", "version": "0.2.6" }, "last_serial": 2526689, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f91690d14b411daeca1603708713ae1a", "sha256": "4d7a27f16bb0a36b9671b151806bc40382f082e45965aaba9baed74e112d52f2" }, "downloads": -1, "filename": "netcdf4_pydap-0.1.tar.gz", "has_sig": false, "md5_digest": "f91690d14b411daeca1603708713ae1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13148, "upload_time": "2016-08-30T21:39:12", "url": "https://files.pythonhosted.org/packages/4f/d4/ecb921b98ebc4db310110c5c8deda46333a0890608c5ab567315201ea31d/netcdf4_pydap-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8d632b7615776ccf9ba2032253dfb298", "sha256": "8df2ac45fdcc34cdf3125496cfc23698eb0075e82df0ee4c327ac81a15079719" }, "downloads": -1, "filename": "netcdf4_pydap-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8d632b7615776ccf9ba2032253dfb298", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14233, "upload_time": "2016-09-01T16:29:20", "url": "https://files.pythonhosted.org/packages/04/ce/03f2b645892cf98c4d3cb0adb7dd8dbd9f240036af0f735ad051be39ef93/netcdf4_pydap-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1a915ab01540ac22a0e9ae6152b96688", "sha256": "e58d32476a56806b9ada5e115644aae7eb1f8fabe94e64ba2e98cf2768e23b22" }, "downloads": -1, "filename": "netcdf4_pydap-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1a915ab01540ac22a0e9ae6152b96688", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14269, "upload_time": "2016-10-12T12:55:52", "url": "https://files.pythonhosted.org/packages/70/86/ded955b68e796b8542e35d08b3a6357bd0660ea4cdde62be13921981dc9b/netcdf4_pydap-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "4bb957e270ad2a5f9e2e1822c620941f", "sha256": "4d8aba1bf68ca7dbc6d10eba4f7c8721a8b0b7ad10ef20ccb4fc6e3f6212033f" }, "downloads": -1, "filename": "netcdf4_pydap-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4bb957e270ad2a5f9e2e1822c620941f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14271, "upload_time": "2016-10-17T22:09:17", "url": "https://files.pythonhosted.org/packages/cb/32/c42df38b2e2913d4af8c3799981d8af01a74d52c842034fc7995d48a8137/netcdf4_pydap-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "fa4a76caf44064d805bc270df3f49946", "sha256": "e1f9b7a230c5377c8f48053ccd8e061fc2b3e3c520f5f97f9b23c6303708ed97" }, "downloads": -1, "filename": "netcdf4_pydap-0.1.4.tar.gz", "has_sig": false, "md5_digest": "fa4a76caf44064d805bc270df3f49946", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14315, "upload_time": "2016-10-22T15:39:12", "url": "https://files.pythonhosted.org/packages/85/b6/2995eeabb0687b86a1b545d1480b4d68a04e9c14661d8a626d7d244e3498/netcdf4_pydap-0.1.4.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "69856015cac81d645ca5c619fdb24a3f", "sha256": "0a866b291679e9b2954fc9f864091da55dfed45c8361c2fe5a90870ffec0cccb" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.tar.gz", "has_sig": false, "md5_digest": "69856015cac81d645ca5c619fdb24a3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14819, "upload_time": "2016-11-07T03:51:19", "url": "https://files.pythonhosted.org/packages/f7/94/2d326be6195e05c41eb9bf1d1b654372daf0047682ad54e8a7a80c263614/netcdf4_pydap-0.2.tar.gz" } ], "0.2.0.1": [ { "comment_text": "", "digests": { "md5": "a5fa5e3da812f312105a6a483fd3bc22", "sha256": "c5920cf2c6df927d786e0d6dc4ea3042bbf317c8ed4e20ac26ee074a4eb2951d" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.0.1.tar.gz", "has_sig": false, "md5_digest": "a5fa5e3da812f312105a6a483fd3bc22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14902, "upload_time": "2016-11-07T21:16:42", "url": "https://files.pythonhosted.org/packages/ef/eb/1c406c93b37420c1b60db302a67eda6cc499270e40fdc67e138d2d53d7ca/netcdf4_pydap-0.2.0.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1631faa8f800e46255bbb7d2f1362560", "sha256": "583cae8f57095198de0b6f8123cdc6e2f34ba41167b27e5091c43e0a41a076d9" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1631faa8f800e46255bbb7d2f1362560", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14537, "upload_time": "2016-11-21T18:31:34", "url": "https://files.pythonhosted.org/packages/b1/bf/79852e5cd58e6dc12b58eef45108d56d03cbdfda0d34223c786b18deb955/netcdf4_pydap-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "022b8c174f03401c8ad1a5f1d22d503b", "sha256": "08242ec7585210e927c15539ce1f1e3f5096dc628fa668345fe00e4108cf89a1" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.2.tar.gz", "has_sig": false, "md5_digest": "022b8c174f03401c8ad1a5f1d22d503b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14563, "upload_time": "2016-11-26T00:28:14", "url": "https://files.pythonhosted.org/packages/27/03/9ce70f829a95e82713a7f1755626c05fe64e527c9e943d3f2b6667cac093/netcdf4_pydap-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "a436e0ab1e8ef5f01d5d95dd17c25b72", "sha256": "593eac98d57489cadd00572d9130b50a361d68a38d116ca18971721fdd22dc03" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.3.tar.gz", "has_sig": false, "md5_digest": "a436e0ab1e8ef5f01d5d95dd17c25b72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15501, "upload_time": "2016-11-28T15:20:05", "url": "https://files.pythonhosted.org/packages/50/6b/6dcc7d7b0319b1f58803ff5c7b3c21ae78a93572a78302a0d3f6b6f30a41/netcdf4_pydap-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "1b9152d96fb6bb950444f82e659a21cd", "sha256": "62628fa28fd6e2e904bacff71b235c58dc7a3c3b9caa01f2aa7b21dfa576c00d" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.4.tar.gz", "has_sig": false, "md5_digest": "1b9152d96fb6bb950444f82e659a21cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16058, "upload_time": "2016-12-07T20:27:54", "url": "https://files.pythonhosted.org/packages/9f/84/8ee45ab4e34f1f02539ba4ac5407be6f783feb1d33894024d8b01a435884/netcdf4_pydap-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "6b98ea6c5f40f417a5baf1f7769b74be", "sha256": "8957af041d7819eb6339bfb819484d7db3f502a8e3d46d6b96d72837fb6c8cfb" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.5.tar.gz", "has_sig": false, "md5_digest": "6b98ea6c5f40f417a5baf1f7769b74be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16070, "upload_time": "2016-12-18T03:16:49", "url": "https://files.pythonhosted.org/packages/11/28/a35617fae6086fab989453b8118e3753d4356502a9b7180c3b373479f37c/netcdf4_pydap-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "49302cc1307da54e96f3d4cb0cb1f971", "sha256": "c293dd659c72bad6411d6edc8fb58da4972474a7e9bc109581102388b6833953" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.6.tar.gz", "has_sig": false, "md5_digest": "49302cc1307da54e96f3d4cb0cb1f971", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15400, "upload_time": "2016-12-18T16:02:53", "url": "https://files.pythonhosted.org/packages/18/f0/0861cc482afdedb7428b1a7ae3e1f646f7ac054d4b1d4382a45c3df60e6b/netcdf4_pydap-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49302cc1307da54e96f3d4cb0cb1f971", "sha256": "c293dd659c72bad6411d6edc8fb58da4972474a7e9bc109581102388b6833953" }, "downloads": -1, "filename": "netcdf4_pydap-0.2.6.tar.gz", "has_sig": false, "md5_digest": "49302cc1307da54e96f3d4cb0cb1f971", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15400, "upload_time": "2016-12-18T16:02:53", "url": "https://files.pythonhosted.org/packages/18/f0/0861cc482afdedb7428b1a7ae3e1f646f7ac054d4b1d4382a45c3df60e6b/netcdf4_pydap-0.2.6.tar.gz" } ] }