{ "info": { "author": "Jeffrey Kwang and Andrew J. Moodie", "author_email": "amoodie@rice.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Topic :: Education" ], "description": "# rain_table\n\nInteractive rain table model written by Jeffrey Kwang at UIUC, refactored for SedEdu by Andrew J Moodie.\n\n[![Build Status](https://travis-ci.org/sededu/rain_table.svg?branch=master)](https://travis-ci.org/sededu/rain_table) \n[![Build status](https://ci.appveyor.com/api/projects/status/an6h6v8xsb4a2ghd/branch/master?svg=true)](https://ci.appveyor.com/project/amoodie/rain-table/branch/master)\n\n[![GitHub version](https://badge.fury.io/gh/sededu%2Frain_table.svg)](https://badge.fury.io/gh/sededu%2Frain_table)\n[![Anaconda-Server Badge](https://anaconda.org/sededu/rain_table/badges/version.svg)](https://anaconda.org/sededu/rain_table)\n[![PyPI version](https://badge.fury.io/py/rain_table.svg)](https://badge.fury.io/py/rain_table)\n\n\n\n\"demo_gif\"\n\n\nThe version in this (SedEdu) repository is different than the original by Jeffrey.\nThis version retains most of the functionality, but does not rely on the Pygame dependency.\nThe cost is that this simulation runs a little bit slower, but is still fast enough to be fun.\n[See Jeffrey's original implementation at here.](https://github.com/jeffskwang/rain_table)\n\nThis repository is also linked into the [SedEdu suite of education modules](https://github.com/sededu/sededu), and can be accessed there as well.\n\n\n## About the model\n\nThe model uses a D8 routing scheme to route rainfall over the surface of a DEM.\nAll flow is assumed to be surface runoff.\nThe hydrograph is scaled to the maximum baseflow equilibrium condition. \nThese watersheds drain directly into the Columbia River in Washington state, (Lat 47\u00b010'03.8\"N, Lon 120\u00b007'31.9\"W).\n\n\n\n## Installing the module\n\nThis module depends on Python 3, `tkinter`, and the Python packages `numpy`, `pillow`, and `matplotlib`. \n\n\n### Installing Python 3\n\nIf you are new to Python, it is recommended that you install Anaconda, which is an open source distribution of Python which includes many basic scientific libraries, some of which are used in the module. \nAnaconda can be downloaded at https://www.anaconda.com/download/ for Windows, macOS, and Linux. \nIf you do not have storage space on your machine for Anaconda or wish to install a smaller version of Python for another reason, see below on options for Miniconda or vanilla Python.\n\n1. Visit the website for Anaconda https://www.anaconda.com/download/ and select the installer for your operating system.\n__Be sure to select the Python 3.x installation.__\n2. Start the installer.\n3. If prompted, select to \"install just for me\", unless you know what you are doing.\n4. When prompted to add Anaconda to the path during installation, select _yes_ if you __know__ you do not have any other Python installed on your computer; otherwise select _no_.\n\nSee below for detailed instructions on installing `rain_table` for your operating system.\n\n\n### Installing the module\n\nIf you installed Anaconda Python or Miniconda, you can follow the instructions below for your operating system. \nOtherwise see the instructions for PyPi installation below.\n\n__Please__ [open an issue](https://github.com/sededu/rain_table/issues) if you encounter any troubles installing or any error messages along the way! \nPlease include 1) operating system, 2) installation method, and 3) copy-paste the error.\n\n\n#### Windows users\n\n1. Open your \"start menu\" and search for the \"Anaconda prompt\"; start this application.\n\n2. Install with the module type the following command and hit \"enter\":\n```\nconda install -c sededu rain_table\n```\nIf asked to proceed, type `Y` and press \"enter\" to continue installation. \n3. This process may take a few minutes as the necessary source code is downloaded.\nIf the installation succeeds, proceed below to the \"Run the module\" section.\n\n__Note on permissions:__ you may need to run as administrator on Windows.\n\n\n#### Mac OSX and Linux users\n\n__Linux users:__ you will need to also install `tkinter` before trying to install the module below package through `conda` or `pip3`.\nOn Ubuntu this is done with `sudo apt install python3-tk`.\n\n\n1. Install the module by opening a terminal and typing the following command.\n```\nconda install -c sededu rain_table\n```\nIf asked to proceed, type `Y` and press enter to continue installation.\n\n2. This process may take a few minutes as the necessary source code is downloaded.\nIf the installation succeeds, proceed below to the \"Run the module\" section.\n\n__Note on permissions:__ you may need to use `sudo` on OSX and Linux.\n\n\n#### Advanced user installations\nTo install with `pip` from Pypi use (not recommended for entry-level users):\n```\npip3 install pyqt rain_table\n```\nor in the event of a failed install, try:\n```\npip3 install pyqt5 sededu\n```\n\nSee below instructions for downloading the source code if you wish to be able to modify the source code for development or for exploration.\n\n\n### Run the module\n\n1. Open a Python shell by typing `python` (or `python3`) at the terminal (OSX and Linux users) or at the Conda or Command Prompt (Windows users).\n2. Run the module from the Python shell with:\n```\nimport rain_table\n```\nInstructions will indicate to use the following command to then run the module:\n```\nrain_table.run()\n```\n\nAlternatively, you can do this in one line from the standard terminal with:\n```\npython -c \"import rain_table; rain_table.run()\"\n```\n\nAlternatively, run the module with provided script (this is the hook used for launching from SedEdu):\n```\npython3 run_rain_table.py\n```\n\nPlease [open an issue](https://github.com/sededu/rain_table/issues) if you encounter any additional error messages! \nPlease include 1) operating system, 2) installation method, and 3) copy-paste the error.\n\n\n#### Smaller Python installation options\nNote that if you do not want to install the complete Anaconda Python distribution you can install [Miniconda](https://conda.io/miniconda.html) (a smaller version of Anaconda), or you can install Python alone and use a package manager called pip to do the installation. \nYou can get [Python and pip together here](https://www.python.org/downloads/).\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sededu/rain_table", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "rain-table", "package_url": "https://pypi.org/project/rain-table/", "platform": "", "project_url": "https://pypi.org/project/rain-table/", "project_urls": { "Bug Reports": "https://github.com/sededu/rain_table/issues", "Homepage": "https://github.com/sededu/rain_table", "Source": "https://github.com/sededu/rain_table" }, "release_url": "https://pypi.org/project/rain-table/3.0.4/", "requires_dist": [ "scipy", "numpy", "matplotlib", "shapely", "pillow" ], "requires_python": ">=3", "summary": "educational activity for teaching how water is routed through a drainage basin", "version": "3.0.4" }, "last_serial": 5376518, "releases": { "3.0.0": [ { "comment_text": "", "digests": { "md5": "3b4789908ba7cccb9cc93afb04b62734", "sha256": "2f7681fdcdb2ea1d802f7600cc4abc102f68cb23f784286cb6be624e74ea9418" }, "downloads": -1, "filename": "rain_table-3.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3b4789908ba7cccb9cc93afb04b62734", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 15388, "upload_time": "2018-10-31T18:52:46", "url": "https://files.pythonhosted.org/packages/1a/67/5c4fabf830388249d6c1b9db069bd500173e1d4f480344460885aaedc536/rain_table-3.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b79c9fb1428e595f1a068e709cafc8c2", "sha256": "ed569b5d2b31645570d9b0518769da68cb91e110a38a390d2850d5be848aea3c" }, "downloads": -1, "filename": "rain_table-3.0.0.tar.gz", "has_sig": false, "md5_digest": "b79c9fb1428e595f1a068e709cafc8c2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13399, "upload_time": "2018-10-31T18:52:48", "url": "https://files.pythonhosted.org/packages/cc/78/a77fa168c8ad8bb3a4d4535a2d0d972ef007b03c27768e3b8cb7fc88b753/rain_table-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "cdc714b4788348c163ceb73bbb2cf6e5", "sha256": "0dea4ae101cfc696a080e184d6c692bb13335a8ca5b9d18fdfe7b53e206cf14b" }, "downloads": -1, "filename": "rain_table-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cdc714b4788348c163ceb73bbb2cf6e5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 14572, "upload_time": "2018-11-06T20:02:31", "url": "https://files.pythonhosted.org/packages/cc/b6/0235ae307d7a332588e163a5c514a77d63f703c75e796d5bf13b9a466209/rain_table-3.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5eb220b92ac4265b5d4f8c988617babb", "sha256": "3cc97291b78518261791857cb1801b84c962df0fa1e3ca81f0aa79ce2ce87f49" }, "downloads": -1, "filename": "rain_table-3.0.1.tar.gz", "has_sig": false, "md5_digest": "5eb220b92ac4265b5d4f8c988617babb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13411, "upload_time": "2018-11-06T20:02:33", "url": "https://files.pythonhosted.org/packages/29/86/8b07e8f0bee1c1b081c4e0ff8c0dc0ce51e053954048235c67020b191332/rain_table-3.0.1.tar.gz" } ], "3.0.3": [ { "comment_text": "", "digests": { "md5": "089af5e28ed693c74686cbb1c93a3c87", "sha256": "81e0f34a7ac29ab96b58a6646b8a0f58b108cb2d140255b8abf0e236af51f551" }, "downloads": -1, "filename": "rain_table-3.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "089af5e28ed693c74686cbb1c93a3c87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 15653, "upload_time": "2018-11-28T21:21:03", "url": "https://files.pythonhosted.org/packages/45/24/7efa5952a1b9272a91a05c6e5fd37e08d0a4c66536d4decff87ae483f9a7/rain_table-3.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80c3616214033fcd387dbc98d46269c2", "sha256": "72c35fd8bd6911806ba7e3947a7c3da6965e921bae36e4e83d87c0973649c8e5" }, "downloads": -1, "filename": "rain_table-3.0.3.tar.gz", "has_sig": false, "md5_digest": "80c3616214033fcd387dbc98d46269c2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 16292, "upload_time": "2018-11-28T21:21:05", "url": "https://files.pythonhosted.org/packages/1e/59/cc2e9ff740515ce30f0def6c9213cda8f64f9e4bd197163fdf767789da6a/rain_table-3.0.3.tar.gz" } ], "3.0.4": [ { "comment_text": "", "digests": { "md5": "423ded1cefc8e52fb76a5c44baa8261d", "sha256": "9cff5593bf3614ce238b7bf999d0c20a944379ce87999a3acbe76fa3b38fc520" }, "downloads": -1, "filename": "rain_table-3.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "423ded1cefc8e52fb76a5c44baa8261d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 14836, "upload_time": "2019-06-08T23:32:52", "url": "https://files.pythonhosted.org/packages/63/4a/02e1dfc07767715d1a322939f5eeef98e7d7f82be52d50733726ba9a54a5/rain_table-3.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d0c0a81e7707a2d4f9c8682fd9c09a0", "sha256": "e536fa2b5efcd798593348e8566cf0ccf4abb26eab175f53f5243c01b3b5c13a" }, "downloads": -1, "filename": "rain_table-3.0.4.tar.gz", "has_sig": false, "md5_digest": "7d0c0a81e7707a2d4f9c8682fd9c09a0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13697, "upload_time": "2019-06-08T23:32:54", "url": "https://files.pythonhosted.org/packages/ae/b5/12d4a9a60ef1f94deb69310c1edf3481d7975dd4b90c0dfd8cb4be0aeb59/rain_table-3.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "423ded1cefc8e52fb76a5c44baa8261d", "sha256": "9cff5593bf3614ce238b7bf999d0c20a944379ce87999a3acbe76fa3b38fc520" }, "downloads": -1, "filename": "rain_table-3.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "423ded1cefc8e52fb76a5c44baa8261d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 14836, "upload_time": "2019-06-08T23:32:52", "url": "https://files.pythonhosted.org/packages/63/4a/02e1dfc07767715d1a322939f5eeef98e7d7f82be52d50733726ba9a54a5/rain_table-3.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d0c0a81e7707a2d4f9c8682fd9c09a0", "sha256": "e536fa2b5efcd798593348e8566cf0ccf4abb26eab175f53f5243c01b3b5c13a" }, "downloads": -1, "filename": "rain_table-3.0.4.tar.gz", "has_sig": false, "md5_digest": "7d0c0a81e7707a2d4f9c8682fd9c09a0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13697, "upload_time": "2019-06-08T23:32:54", "url": "https://files.pythonhosted.org/packages/ae/b5/12d4a9a60ef1f94deb69310c1edf3481d7975dd4b90c0dfd8cb4be0aeb59/rain_table-3.0.4.tar.gz" } ] }