{ "info": { "author": "Drilsdown team", "author_email": "drilsdown@unidata.ucar.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "[](https://travis-ci.org/piqueen314/ipython_IDV)\n[](https://opensource.org/licenses/MIT)\n# ipython_IDV\n### Part of the [EarthCube DRILSDOWN project](https://brianmapes.github.io/EarthCube-DRILSDOWN/)\n\nExtension for IPython Notebooks to provide line and cell magics to call out to Unidata's [Integrated Data Viewer](https://github.com/Unidata/IDV) \n\n### To set it up:\n\n1. After installing Jupyter/iPython notebook software [like this](https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/), you will also need to install the [ipywidgets package](https://ipywidgets.readthedocs.io/en/latest/user_install.html)\n\n2. Once Jupyter/iPython is ready, copy [drilsdown.py](https://github.com/Unidata/ipython_IDV/blob/master/drilsdown.py) to your local extensions directory, _~/.ipython/extensions_\n\n3. To run IDV commands from the Notebook, you will need to have installed [IDV version 5.4 or later](http://www.unidata.ucar.edu/software/idv/nightly/). Also, you need to set your IDV_HOME environment variable to be the IDV install directory, so that python can execute the command ${IDV_HOME}/runIDV\n\n4. You also need to configure your IDV to accept connections from the ipython notebook. To do this set the following property in your local ~/.unidata/idv/DefaultIdv/idv.properties file:\n\n
\nidv.monitorport = 8765\n\n\n\n--------\n### Now you've done the 4 steps above. \nWhen you launch _jupyter notebook_, and run an iPython notebook in your browser, do this in the notebook:\n\n
\n%load_ext drilsdown\n\n\nThat will give you a dashboard-style view of many of the ways the Notebook can launch and interact with The IDV, and find resources such as existing bundles, data catalogs, and more, including a link to the help section.\n\n\nIf you plan on writing Python code in this notbeook (rather then merely capturing images and notes about a case study IDV session), you should import the Idv and Ramadda classes:\n\n
\nfrom drilsdown import Idv\nfrom drilsdown import Ramadda\n\n\nWe welcome your use cases! Email mapes at miami dot edu. See examples [below](https://github.com/Unidata/ipython_IDV/blob/master/README.md#examples).\n\n---------\n#### Publishing to RAMADDA, using the IDV's capabilities\n\nIf you want to enable your IDV to publish to a RAMADDA server, get [ramaddaplugin.jar](https://github.com/Unidata/ipython_IDV/blob/master/ramaddaplugin.jar). Copy this file to your local IDV plugins directory (~/.unidata/idv/DefaultIdv/plugins). While it is not a plain text code file, it is included in this repo so all of the products that are required for running drilsdown can be found in \none place.\n\n---------\n#### Setting up your own RAMADDA to handle DRILSDOWN Case Study objects\n\nIf you operate a RAMADDA, and want it to host DRILSDOWN _Case Study_ digital objects, get [drilsdownplugin.jar](https://github.com/Unidata/ipython_IDV/blob/master/drilsdownplugin.jar), put it in your RAMADDA installation's _plugins_ area, and restart. It is produced from the code at [RAMADDA drilsdown repository](https://github.com/Unidata/drilsdown) but is included here so all of the products that are required for running drilsdown can be found in one place.\n\n\n\n
\nfrom drilsdown import Idv\nIdv.fileUrl=\"http://geodesystems.com/repository/entry/get?entryid=d83e0924-008d-4025-9517-394e9f13712f\"\nbboxes = [[50,-130,40,-100],[50,-100,40,-75],[40,-130,20,-100],[40,-100,20,-75]]\nfor i in range(len(bboxes)):\n bbox=bboxes[i];\n Idv.loadBundle(Idv.fileUrl,bbox)\n Idv.makeImage(caption=\"BBOX:\" + repr(bbox[0]) +\"/\" + repr(bbox[1]) +\" \" + repr(bbox[2]) +\"/\" + repr(bbox[3]))\n\n\n\n
\nfrom drilsdown import Idv\nIdv.fileUrl=\"http://geodesystems.com/repository/entry/get?entryid=d83e0924-008d-4025-9517-394e9f13712f\"\nbboxes = [[50,-130,40,-100],[50,-100,40,-75],[40,-130,20,-100],[40,-100,20,-75]]\nfor i in range(len(bboxes)):\n bbox=bboxes[i];\n Idv.loadBundle(Idv.fileUrl,bbox);\n label = \"BBOX:\" + repr(bbox[0]) +\"/\" + repr(bbox[1]) +\" \" + repr(bbox[2]) +\"/\" + repr(bbox[3]);\n Idv.makeMovie(caption=label,display=True, publish={'parent':'9adf32b5-aad4-4a8d-997e-216b9757d240',\"name\":\"Image #\" + repr(i)})\n\n\n\n\n\nThe makeImage can take one of 2 forms of a publish argument. The first is a boolean and will result in the IDV popping up its RAMADDA publish dialog box where the image can be published.\n\n Idv.makeImage(caption=label, publish=True);\n\n\nIn the second form the publish argument is a map. This directs the python to do the publishing directly to RAMADDA. The map can contain a parent member which is the entry id to publish to and a name member which is the entry name. \n\n
\n Idv.makeImage(caption=label, publish={'parent':'9adf32b5-aad4-4a8d-997e-216b9757d240',\"name\":\"Image #\" + repr(i)})\n\n\nTo enable direct publishing to RAMADDA you need to have your RAMADDA user name and password defined as environment variables:\n\n\nexport RAMADDA_USER=\nexport RAMADDA_PASSWORD=\n\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ipython-IDV", "package_url": "https://pypi.org/project/ipython-IDV/", "platform": "", "project_url": "https://pypi.org/project/ipython-IDV/", "project_urls": null, "release_url": "https://pypi.org/project/ipython-IDV/2.4.7/", "requires_dist": [ "ipython" ], "requires_python": "", "summary": "This project allows users to use Unidata's IDV with jupyter notebooks", "version": "2.4.7" }, "last_serial": 6005749, "releases": { "2.4.3": [ { "comment_text": "", "digests": { "md5": "f2207042b3643c584a94954421ed00e8", "sha256": "5e43e1d43ee2dfe7d6f051224925f15cff3131d0862786f521e4dddf8d21c801" }, "downloads": -1, "filename": "ipython_IDV-2.4.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f2207042b3643c584a94954421ed00e8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19734, "upload_time": "2018-06-04T22:24:26", "url": "https://files.pythonhosted.org/packages/f1/47/77fbde10eaa3df8a71222a23fcd7f497b2e08294950ff3295d7388822c93/ipython_IDV-2.4.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccded96b834f91091dbc1d98b5c7f841", "sha256": "4b3668117d95ad4a1d2073c6e92848ce33680ee7977e5c3d2f20379f70d78d92" }, "downloads": -1, "filename": "ipython_IDV-2.4.3.tar.gz", "has_sig": false, "md5_digest": "ccded96b834f91091dbc1d98b5c7f841", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18424, "upload_time": "2018-06-04T22:24:27", "url": "https://files.pythonhosted.org/packages/b2/7b/0eecb7aa4a9d44e3a54719afd022e7f6d4002ff26990caead93e08cd1334/ipython_IDV-2.4.3.tar.gz" } ], "2.4.4": [ { "comment_text": "", "digests": { "md5": "f3d5740496079f9ed2f4b60719567be6", "sha256": "bbc2c19b3a258466d3aab66ab00234d2f81ce225e80244af6f17ed3755e9f7c5" }, "downloads": -1, "filename": "ipython_IDV-2.4.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f3d5740496079f9ed2f4b60719567be6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19694, "upload_time": "2018-06-11T21:13:04", "url": "https://files.pythonhosted.org/packages/e7/79/fe3d09066ce247f69eaf06fcd0430f65b1adf2d5df78296dd18af2524a67/ipython_IDV-2.4.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffda0a86c566671d5c16897e1547fd41", "sha256": "5f30079278e44509c3cb6ee45c201d634a4d90bfc03474f26e68bd570748a4ae" }, "downloads": -1, "filename": "ipython_IDV-2.4.4.tar.gz", "has_sig": false, "md5_digest": "ffda0a86c566671d5c16897e1547fd41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18426, "upload_time": "2018-06-11T21:13:05", "url": "https://files.pythonhosted.org/packages/8e/95/ebdae136003befb308a2cfb18d36e28b35176e06b1c94565c64bb0c642fc/ipython_IDV-2.4.4.tar.gz" } ], "2.4.6": [ { "comment_text": "", "digests": { "md5": "8f4f6863baca1a9cd1bc4be3772b1de2", "sha256": "63849bd541bb5d290648f11eee5b1bef69d7cf56430d08356053bc9191e4ff8f" }, "downloads": -1, "filename": "ipython_IDV-2.4.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8f4f6863baca1a9cd1bc4be3772b1de2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19687, "upload_time": "2018-06-11T21:54:06", "url": "https://files.pythonhosted.org/packages/a4/ad/8a69289b421cd842de2c8f0189ff5daa6c17692e73a6608997107d0f213c/ipython_IDV-2.4.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8675864c2bc18b8c8b695a54cf420d60", "sha256": "28d275f6879a8b25991c7673471e3cd89c56a874c7b4fffbc4288efb46467a80" }, "downloads": -1, "filename": "ipython_IDV-2.4.6.tar.gz", "has_sig": false, "md5_digest": "8675864c2bc18b8c8b695a54cf420d60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18378, "upload_time": "2018-06-11T21:54:07", "url": "https://files.pythonhosted.org/packages/72/3e/8bf9651a80c3454fa7d5237beb84427c1ef579f2517f19394b0e30f6e6c1/ipython_IDV-2.4.6.tar.gz" } ], "2.4.7": [ { "comment_text": "", "digests": { "md5": "63cbf7c9166113944f2058f818b3cca0", "sha256": "55e766ff9cf75543e0b931d5738acb0f380155341dc61114ffa4aafa7f2c08c3" }, "downloads": -1, "filename": "ipython_IDV-2.4.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "63cbf7c9166113944f2058f818b3cca0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19686, "upload_time": "2018-06-11T23:19:51", "url": "https://files.pythonhosted.org/packages/22/06/e7d86193d1ebca65f63185895cce118afb86cbfcfda4624b452c5270b306/ipython_IDV-2.4.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ec1f2f7188a9a745abc6a4ec13e19a4", "sha256": "426c2bcfa9b6ebe596c60a5b12b5b24dccbd4c75f83da93cc8a4424fbe36bab1" }, "downloads": -1, "filename": "ipython_IDV-2.4.7.tar.gz", "has_sig": false, "md5_digest": "0ec1f2f7188a9a745abc6a4ec13e19a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18373, "upload_time": "2018-06-11T23:19:52", "url": "https://files.pythonhosted.org/packages/a0/60/3d680c026cf74bf8e4689817eab0c31b8c905bb69c63494f9bcdcb8e3842/ipython_IDV-2.4.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "63cbf7c9166113944f2058f818b3cca0", "sha256": "55e766ff9cf75543e0b931d5738acb0f380155341dc61114ffa4aafa7f2c08c3" }, "downloads": -1, "filename": "ipython_IDV-2.4.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "63cbf7c9166113944f2058f818b3cca0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19686, "upload_time": "2018-06-11T23:19:51", "url": "https://files.pythonhosted.org/packages/22/06/e7d86193d1ebca65f63185895cce118afb86cbfcfda4624b452c5270b306/ipython_IDV-2.4.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ec1f2f7188a9a745abc6a4ec13e19a4", "sha256": "426c2bcfa9b6ebe596c60a5b12b5b24dccbd4c75f83da93cc8a4424fbe36bab1" }, "downloads": -1, "filename": "ipython_IDV-2.4.7.tar.gz", "has_sig": false, "md5_digest": "0ec1f2f7188a9a745abc6a4ec13e19a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18373, "upload_time": "2018-06-11T23:19:52", "url": "https://files.pythonhosted.org/packages/a0/60/3d680c026cf74bf8e4689817eab0c31b8c905bb69c63494f9bcdcb8e3842/ipython_IDV-2.4.7.tar.gz" } ] }