{ "info": { "author": "Emiel Verstegen", "author_email": "emiel.verstegen@nelen-schuurmans.nl", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Programming Language :: Python" ], "description": "threedi-scenario-downloader\n==========================================\n\nThe threedi-scenario-downloader package includes functions in order to\nautomate most used download actions on the 3Di results.\n\nExample methods are:\n\n- Download raw results.\n- Download logging.\n- Download maximum waterdepth (non-temporal raster).\n- Download waterdepth (temporal raster, supply timestamp for snapshot).\n- Find all scenarios model slug or scenario name.\n\nExamples\n========================================\nStart importing the package::\n\n $ from threedi_scenario_downloader import downloader as dl\n\nSet headers for authentication to the Lizard API::\n\n $ dl.set_headers(\"your_username\",\"your_password\")\n\nFind scenarios based on a model slug (unique model identifier) or scenario name. Returns last 10 matching results unless told otherwise::\n\n $ scenarios = dl.find_scenarios_by_model_slug(\"enter your model_uuid\",limit=10)\n\nor::\n\n $ scenarios = dl.find_scenarios_by_name(\"my_first_scenario\",limit=100)\n\nDo you want to download the raw 3Di-results (.nc and .h5 files) of a specific scenario? Use the following methods::\n\n $ dl.download_raw_results(\"scenario_uuid\")\n $ dl.download_grid_administration(\"scenario_uuid\")\n\n\nor::\n\n $ dl.download_raw_results(\"scenario_uuid\",pathname=\"save_under_different_name.nc\")\n $ dl.download_grid_administration(\"scenario_uuid\",pathname=\"save_under_different_name.h5\")\n\nDownloading (temporal) rasters of specific scenarios can be done using the following methods::\n\n $ dl.download_maximum_waterdepth_raster(\"scenario_uuid\",\"EPSG:28992\",10) \n #download the full extent of the maximum waterdepth of the given scenario_uuid with a 10 meter resolution in the RD New/Amersfoort projection (EPSG:28992)\n\n $ dl.download_waterdepth_raster(\"scenario_uuid\",\"EPSG:28992\",10,\"2019-01-01T02:00\") \n #download the full extend of the waterdepth at the supplied timestamp given scenario_uuid, on 10 meter resolution in the RD New/Amersfoort projection (EPSG:28992)\n\nThe raster download methods creates a task for the API. Depending on the size and resolution it takes some time for the raster to be prepared. These methods will keep on checking if the raster is ready to be downloaded.\nWhen a raster is ready to be downloaded a message in the Lizard portal is created as well. If you want to delete these messages (due to bulk downloading for example), use the following method::\n\n $dl.clear_inbox()\n\nInstallation\n------------\n\nWe can be installed with::\n\n $ pip install threedi-scenario-downloader\n\n\nDevelopment installation of this project itself\n-----------------------------------------------\n\nWe're installed with `pipenv `_, a handy wrapper\naround pip and virtualenv. Install that first with ``pip install\npipenv``. Then run::\n\n $ PIPENV_VENV_IN_PROJECT=1 pipenv --three\n $ pipenv install --dev\n\nIn order to get nicely formatted python files without having to spend manual\nwork on it, run the following command periodically::\n\n $ pipenv run black threedi_scenario_downloader\n\nRun the tests regularly. This also checks with pyflakes, black and it reports\ncoverage. Pure luxury::\n\n $ pipenv run pytest\n\nThe tests are also run automatically `on travis-ci\n`_, you'll see it in\nthe pull requests. There's also `coverage reporting\n`_ on\ncoveralls.io.\n\nIf you need a new dependency (like `requests`), add it in `setup.py` in\n`install_requires`. Afterwards, run install again to actuall install your\ndependency::\n\n $ pipenv install --dev\n\n\nChangelog of threedi-scenario-downloader\n===================================================\n\n0.11 (2019-06-03)\n-----------------\n\n- Updated find_scenarios method. Use 'name' argument for exact searches and 'name__icontains' for partial searches\n\n\n0.10 (2019-05-27)\n-----------------\n\n- Increased download chunk size\n\n- Added bounds_srs as optional argument to define the spatial reference system the bounds are supplied in\n\n\n0.9 (2019-05-22)\n----------------\n\n- Updated download method using stream\n\n- Updated urllib3 dependency\n\n\n0.8 (2019-03-14)\n----------------\n\n- Bugfix in downloading total damage rasters\n\n\n0.7 (2019-02-15)\n----------------\n\n- Added temporal rasters with interval\n\n- Retrieve grouped (static, temporal) download links from scenario\n\n\n0.6 (2019-02-13)\n----------------\n\n- Added method for downloading raw 3Di result\n\n- Added method for downloading gridadmin\n\n- Added authentication method for downloading files from Lizard API\n\n\n0.5 (2019-02-13)\n----------------\n\n- Cleanup of docstrings and usage of request parameters\n\n- Make result-limit changable\n\n- Added url retrieval methods\n\n- Added editable result limit on searches\n\n\n0.2 (2019-01-24)\n----------------\n\n- Added automatic deploys to https://pypi.org/project/threedi-scenario-downloader/\n\n0.1 (2019-01-23)\n----------------\n\n- Initial project structure created with cookiecutter and https://github.com/nens/cookiecutter-python-template\n\n- Initial working version.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nens/threedi-scenario-downloader", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "threedi-scenario-downloader", "package_url": "https://pypi.org/project/threedi-scenario-downloader/", "platform": "", "project_url": "https://pypi.org/project/threedi-scenario-downloader/", "project_urls": { "Homepage": "https://github.com/nens/threedi-scenario-downloader" }, "release_url": "https://pypi.org/project/threedi-scenario-downloader/0.11/", "requires_dist": [ "requests", "pytest ; extra == 'test'", "mock ; extra == 'test'", "pytest-cov ; extra == 'test'", "pytest-flakes ; extra == 'test'", "pytest-black ; extra == 'test'" ], "requires_python": "", "summary": "Tools for downloading results for 3Di scenarios", "version": "0.11" }, "last_serial": 5351576, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ecdb6eb69dd61500f72d02ce43d9f9cd", "sha256": "426e34e7ce286f4b3ef5304b4d476455bd0824aef647f76feac1a2cf42d5e1d8" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.1.tar.gz", "has_sig": false, "md5_digest": "ecdb6eb69dd61500f72d02ce43d9f9cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6065, "upload_time": "2019-01-23T16:07:00", "url": "https://files.pythonhosted.org/packages/50/ac/5a798482075635d1b1b8ec03ff9dbec11f1a70691e28805006b588504977/threedi-scenario-downloader-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "a2f27b09812181b4f989a914189a3e56", "sha256": "01110b27aef29c36977ebb99229ba4cb5aa36e19ca5cfacfbbf6b4c18a155bee" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.10-py3-none-any.whl", "has_sig": false, "md5_digest": "a2f27b09812181b4f989a914189a3e56", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11103, "upload_time": "2019-05-27T13:07:09", "url": "https://files.pythonhosted.org/packages/fd/07/78a132613056cef516eec8b40608434a2107a364118053626f7fc429da21/threedi_scenario_downloader-0.10-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8af397bf86c0952815a9d40132cb3ee0", "sha256": "c434862c50c1da5a1ea361045a5b6ef51f81547e68ea33820e1a4a5536d2bbb4" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.10.tar.gz", "has_sig": false, "md5_digest": "8af397bf86c0952815a9d40132cb3ee0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9876, "upload_time": "2019-05-27T13:07:10", "url": "https://files.pythonhosted.org/packages/0d/01/04bc2590d456da96b12223056bd7edc98bfdc436012be66aa9eb5d6642b9/threedi-scenario-downloader-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "29ae1f205cef5dd88efec0597b1c28e4", "sha256": "0be939a380369eb27facea1eb88b9ebd6195ca5ef239d9f37652c04fc9097a83" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.11-py3-none-any.whl", "has_sig": false, "md5_digest": "29ae1f205cef5dd88efec0597b1c28e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11178, "upload_time": "2019-06-03T09:13:05", "url": "https://files.pythonhosted.org/packages/fb/87/30c305aa247c7638785c5922061461fd9705de1c60253a4f59beeb7db787/threedi_scenario_downloader-0.11-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fea7dde02f7869c9574c07458b3ad2f", "sha256": "f6d481acb12a83da1c87639e2da3e1ce309e05d7ac9404801566c08cbabe3a90" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.11.tar.gz", "has_sig": false, "md5_digest": "1fea7dde02f7869c9574c07458b3ad2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9959, "upload_time": "2019-06-03T09:13:07", "url": "https://files.pythonhosted.org/packages/43/ee/dda2cdf82756b53bd544d45dbb47b3a997839bccebd9958ee8d81061221d/threedi-scenario-downloader-0.11.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7b44eb05210b7213a29aab1ec64eb54d", "sha256": "10882629f0e039f951ce18e33b22487cb0930e296e652dc4d3835cf7d641d1c0" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7b44eb05210b7213a29aab1ec64eb54d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9154, "upload_time": "2019-01-24T08:06:38", "url": "https://files.pythonhosted.org/packages/e2/86/4cb5fb86f47a51822fd8d887de3803fa939f226bfef55230083af421bbad/threedi_scenario_downloader-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c1b8af179808b0e54637fb894ecefd76", "sha256": "a58255834693bd233e40af64ef8a2da4386fd7ee34387fe541395321b27f2d1f" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.2.tar.gz", "has_sig": false, "md5_digest": "c1b8af179808b0e54637fb894ecefd76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6196, "upload_time": "2019-01-24T08:06:39", "url": "https://files.pythonhosted.org/packages/68/47/3faabec118bd0b9910586f12faebdec59eeed331716c968de6727cd50c48/threedi-scenario-downloader-0.2.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "0c59b0a47dc093ba6fd8e14177b46950", "sha256": "b26d6f6a0b9eb2d940aeabcef9ed300d57fc18b21a05870a75761610976522b2" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "0c59b0a47dc093ba6fd8e14177b46950", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7730, "upload_time": "2019-02-13T09:30:13", "url": "https://files.pythonhosted.org/packages/f7/de/5bbf1594771269de679a7a9972e29ec2a2a6696d5617330f5fbf9095f831/threedi_scenario_downloader-0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27bcef2cdb05d1a6c8d77488d4448556", "sha256": "5235e2f5a73fd6ccddf6e0dd890e53817bf7e9d54f25717aec136384c5bb87e8" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.5.tar.gz", "has_sig": false, "md5_digest": "27bcef2cdb05d1a6c8d77488d4448556", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5603, "upload_time": "2019-02-13T09:30:14", "url": "https://files.pythonhosted.org/packages/dd/8e/06037e1423c6739e1602d2c4b97c3561936f64405283f7a7ce12b1f0b890/threedi-scenario-downloader-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "6c49ac438e46a4451323f02402a6ada7", "sha256": "2521300205df64a51e8f8d7a48f5060b3d602c87c164048b6a894074f929bf51" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "6c49ac438e46a4451323f02402a6ada7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7868, "upload_time": "2019-02-13T16:19:53", "url": "https://files.pythonhosted.org/packages/a2/79/373f2491846bab55cbcf78c31c93c2f6d700edfe7ba5ef497f11685ea073/threedi_scenario_downloader-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1d078fb2f9750c6bb03319ffb558abb", "sha256": "f66010d6bc34c3b81350783e90835c11d2e1a7a6389c4e973787011affdf25e8" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.6.tar.gz", "has_sig": false, "md5_digest": "f1d078fb2f9750c6bb03319ffb558abb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5667, "upload_time": "2019-02-13T16:19:54", "url": "https://files.pythonhosted.org/packages/7d/ae/17972a2e7eac8fefc8793805c899a211ed1dd70854f895523b55b705d6d2/threedi-scenario-downloader-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "897d595a5142a426aca6b94c28960394", "sha256": "69e32ea9f3799d8ff92e5a9259d85fbbb7f096bd5c554ad60481b50a96f7a4cf" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "897d595a5142a426aca6b94c28960394", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10531, "upload_time": "2019-02-15T16:09:12", "url": "https://files.pythonhosted.org/packages/92/91/dbaa7404a01d3550860b709278c760fd5b671dfff0cb9f9ead55bfbffd3f/threedi_scenario_downloader-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af4d16b8e4d144d34c9e11510e299fff", "sha256": "9acf3f2d05d85bc33b833223ecea25c10b10fa58a1939d1e251ba528544428b5" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.7.tar.gz", "has_sig": false, "md5_digest": "af4d16b8e4d144d34c9e11510e299fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9884, "upload_time": "2019-02-15T16:09:13", "url": "https://files.pythonhosted.org/packages/bb/fa/c555282f6a73fcc5bcd8ca207e19b303deb726c8050998cc48cea14b0ecd/threedi-scenario-downloader-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "97696b4012bff5e169bf7a5518dbf74a", "sha256": "3b80e6e3aa91218ce2f9701ed02b97923cfbc889bb79585776d04eb21b245152" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "97696b4012bff5e169bf7a5518dbf74a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10572, "upload_time": "2019-03-14T15:18:26", "url": "https://files.pythonhosted.org/packages/83/b9/aafd699567184b1243e65679f8db8780082b8f2cbdf913c493894c0e14e3/threedi_scenario_downloader-0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6fc8013d6e74225bcec2d365e3caec20", "sha256": "cfea743736540056efde83ede0dcf30e381542bc7b085f1df8bd4d862c7c6251" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.8.tar.gz", "has_sig": false, "md5_digest": "6fc8013d6e74225bcec2d365e3caec20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9970, "upload_time": "2019-03-14T15:18:27", "url": "https://files.pythonhosted.org/packages/1c/36/e6d506513649268c302fe7b1c6121a56dce9b0a96ab4ae446361ce316432/threedi-scenario-downloader-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "96f0bcb3d9add7209e030a4928939209", "sha256": "bdeead18afe04290e7463a8c46b3a4926198564ad3bed95dad21a5b2c0f73c79" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "96f0bcb3d9add7209e030a4928939209", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10867, "upload_time": "2019-05-22T09:15:02", "url": "https://files.pythonhosted.org/packages/6e/57/26dcd9e14ff78a3f6d4b20d28d53dfa5e39cdc75883c9e63da3cb21fdf07/threedi_scenario_downloader-0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9586196c81558ea83d0267fce0a35994", "sha256": "a90aeb74734104522fd5d87e7f24269b9d41343a236932ea1976e92c20501414" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.9.tar.gz", "has_sig": false, "md5_digest": "9586196c81558ea83d0267fce0a35994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9657, "upload_time": "2019-05-22T09:15:03", "url": "https://files.pythonhosted.org/packages/cf/1f/acd605f6f36bb00dda11bdb8e08e7e2a3e663d408814c820a2a16694e205/threedi-scenario-downloader-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "29ae1f205cef5dd88efec0597b1c28e4", "sha256": "0be939a380369eb27facea1eb88b9ebd6195ca5ef239d9f37652c04fc9097a83" }, "downloads": -1, "filename": "threedi_scenario_downloader-0.11-py3-none-any.whl", "has_sig": false, "md5_digest": "29ae1f205cef5dd88efec0597b1c28e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11178, "upload_time": "2019-06-03T09:13:05", "url": "https://files.pythonhosted.org/packages/fb/87/30c305aa247c7638785c5922061461fd9705de1c60253a4f59beeb7db787/threedi_scenario_downloader-0.11-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fea7dde02f7869c9574c07458b3ad2f", "sha256": "f6d481acb12a83da1c87639e2da3e1ce309e05d7ac9404801566c08cbabe3a90" }, "downloads": -1, "filename": "threedi-scenario-downloader-0.11.tar.gz", "has_sig": false, "md5_digest": "1fea7dde02f7869c9574c07458b3ad2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9959, "upload_time": "2019-06-03T09:13:07", "url": "https://files.pythonhosted.org/packages/43/ee/dda2cdf82756b53bd544d45dbb47b3a997839bccebd9958ee8d81061221d/threedi-scenario-downloader-0.11.tar.gz" } ] }