{ "info": { "author": "Julien Jean Malard; \u0936\u094d\u0930\u0947\u092f\u093e \u0938\u0902\u091c\u092f \u092f\u093e\u0926\u0935", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "Author-email: julien.malard@mail.mcgill.ca\nLicense: MIT\nDescription: # traDSSAT\n TraDSSAT is a library to easily read and write DSSAT input and output files.\n \n ## Status\n [![Build Status](https://travis-ci.org/julienmalard/traDSSAT.svg?branch=master)](https://travis-ci.org/julienmalard/traDSSAT)\n [![codecov](https://codecov.io/gh/julienmalard/traDSSAT/branch/master/graph/badge.svg)](https://codecov.io/gh/julienmalard/traDSSAT)\n [![Documentation Status](https://readthedocs.org/projects/tradssat/badge/?version=latest)](https://tradssat.readthedocs.io/en/latest/?badge=latest)\n \n ## Installation\n `pip install tradssat`\n \n ## Full docs\n Read the full thing [here](https://tradssat.readthedocs.io/en/latest/).\n \n ## Quick examples\n \n Parse and edit any DSSAT file directly:\n ```python\n from tradssat import SoilFile, WTHFile, ExpFile, set_dssat_dir\n from tradssat import GeneticMgr, CULFile, ECOFile\n \n # Read, edit and write soil files\n soil = SoilFile('path/to/my/file.SOL')\n \n # Read and write weather files as well\n wth = WTHFile('path/to/my/WTHR0001.WTH')\n \n # ...and experiment files!\n exp = ExpFile('path/to/my/experiment.EXP')\n \n \n # Access genetic coefficients by cultivar file or ecotype file\n cul = CULFile('path/to/my/MZIXM.CUL')\n eco = ECOFile('path/to/my/MZIXM.ECO')\n \n cul.get_value('P1') # returns array of all varieties' P1\n eco.get_value('TOPT') # returns array of all ecotypes' TOPT\n \n # ...or automagically!\n set_dssat_dir('C:/DSSAT47')\n gen = GeneticMgr(crop='MZIXM', cult='PC0001')\n gen.get_value('P1') # Returns P1 for MZIXM cultivar PC0001\n gen.get_value('TOPT') # Returns ecotype variable TOPT for cultivar PC0001\n \n ```\n \n Read, edit and write experiments, with automatic access to referenced\n external soil, genetic and weather files:\n ```python\n from tradssat import DSSATRun\n \n run = DSSATRun('path/to/my/experiment.EXP')\n run.get_trt_val('INGENO', trt=1) # Get cultivar for treatment 1\n run.set_trt_factor_level(trt=1, factor='CULTIVARS', level=2) # Change level of treatment factor\n run.set_factor_level_val('INGENO', 'IB0067', level=1) # Change value of a factor level (in this case cultivar type)\n \n ```\n \n Access output from a run:\n ```python\n from tradssat import DSSATResults\n \n out = DSSATResults('path/to/my/output/dir')\n out.get_value('FWAD', trt=1)\n \n # Get results at specific time (day of year, days after planting or days after start)\n out.get_value('FWAD', trt=1, t=13, at='DAS') # Get result at 13 days after start\n out.get_value('FWAD', trt=1, t=13, at='DAP') # Get result at 13 days after planting\n out.get_value('FWAD', trt=1, t='1989 123', at='DOY') # Get result at 123th day of year 1989\n \n ```\n \n ## Contributing\n Don't forget to add your name to the `AUTHORS.txt` list!\n \n ## Licensing\n MIT License\n \nPlatform: UNKNOWN\nClassifier: Programming Language :: Python :: 3 :: Only\nClassifier: Programming Language :: Python :: 3.6\nClassifier: Programming Language :: Python :: 3.7\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Development Status :: 3 - Alpha\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": "tradssat", "package_url": "https://pypi.org/project/tradssat/", "platform": "", "project_url": "https://pypi.org/project/tradssat/", "project_urls": null, "release_url": "https://pypi.org/project/tradssat/0.1.1/", "requires_dist": [ "numpy", "chardet" ], "requires_python": "", "summary": "DSSAT input and output file reader and writer", "version": "0.1.1" }, "last_serial": 4642901, "releases": { "0.0": [ { "comment_text": "", "digests": { "md5": "a1f9d7235b94fd7fa9c0a194653bb697", "sha256": "a38dd2e5ce0db221c5235798e04868f8c7c78a1428e3ab56ff9797bf579923a5" }, "downloads": -1, "filename": "tradssat-0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a1f9d7235b94fd7fa9c0a194653bb697", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 74701, "upload_time": "2018-12-09T14:43:00", "url": "https://files.pythonhosted.org/packages/f8/cc/704e1b0b6156e17cf6d158f3873fd1de33e5b4357f3eb5689186e77e383c/tradssat-0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "17ae583741e9315363aaf54c0c17fb8c", "sha256": "37a62f0850b20db84c6f649db561a55407ce28ad9824f108c7aaaab1e7280911" }, "downloads": -1, "filename": "tradssat-0.0.tar.gz", "has_sig": false, "md5_digest": "17ae583741e9315363aaf54c0c17fb8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43492, "upload_time": "2018-12-09T14:43:02", "url": "https://files.pythonhosted.org/packages/e1/06/bf8ae78ff66274f43348ce166d21bc24a1822dff3f530681107afbb1ef7d/tradssat-0.0.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "4fc9fcd6b8a529ed92250dc04244d0b0", "sha256": "154feabfbf13797ca9ed93afae186ecbe34efb960c265ed0b4326744d3b50df1" }, "downloads": -1, "filename": "tradssat-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4fc9fcd6b8a529ed92250dc04244d0b0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 79463, "upload_time": "2018-12-28T00:37:29", "url": "https://files.pythonhosted.org/packages/cc/5f/f921343895b91521c73ec0a1f2e58fbade5d1cd0038f7dfdaa6f12479045/tradssat-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc79481d43551af2dc10b6b0eccf1253", "sha256": "8b0077f85442d4e1ab0fe683cc9ea1e385a6f0a0eec31434b24fc372782f51a3" }, "downloads": -1, "filename": "tradssat-0.1.tar.gz", "has_sig": false, "md5_digest": "fc79481d43551af2dc10b6b0eccf1253", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46422, "upload_time": "2018-12-28T00:37:31", "url": "https://files.pythonhosted.org/packages/7c/16/3f00cd685de3a299f265585d10aae68c7aaa2909c9b42e8a2f1f28ad0d0e/tradssat-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c55ace4bd95f77beae338197074379d5", "sha256": "7e9498dd74d892956aef26b7dbf2c92c9cb3bdaf1211be59fe6072d8340390aa" }, "downloads": -1, "filename": "tradssat-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c55ace4bd95f77beae338197074379d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 79486, "upload_time": "2018-12-29T01:25:05", "url": "https://files.pythonhosted.org/packages/87/e7/63cb557f0aae2396a3de3f521cbfd91aaac9bd72557d206ff9b736e85958/tradssat-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "845b5cbaa4767ec73a1afebc5d8df71b", "sha256": "f0e852b47d0dc3af9d053c3495812166550e06db90f32c07c2d9600eedf16973" }, "downloads": -1, "filename": "tradssat-0.1.1.tar.gz", "has_sig": false, "md5_digest": "845b5cbaa4767ec73a1afebc5d8df71b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46006, "upload_time": "2018-12-29T01:25:07", "url": "https://files.pythonhosted.org/packages/9f/46/d2946433588ff8b7640d948313646b93757b3a84f9d60e70a92f502b93f0/tradssat-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c55ace4bd95f77beae338197074379d5", "sha256": "7e9498dd74d892956aef26b7dbf2c92c9cb3bdaf1211be59fe6072d8340390aa" }, "downloads": -1, "filename": "tradssat-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c55ace4bd95f77beae338197074379d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 79486, "upload_time": "2018-12-29T01:25:05", "url": "https://files.pythonhosted.org/packages/87/e7/63cb557f0aae2396a3de3f521cbfd91aaac9bd72557d206ff9b736e85958/tradssat-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "845b5cbaa4767ec73a1afebc5d8df71b", "sha256": "f0e852b47d0dc3af9d053c3495812166550e06db90f32c07c2d9600eedf16973" }, "downloads": -1, "filename": "tradssat-0.1.1.tar.gz", "has_sig": false, "md5_digest": "845b5cbaa4767ec73a1afebc5d8df71b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46006, "upload_time": "2018-12-29T01:25:07", "url": "https://files.pythonhosted.org/packages/9f/46/d2946433588ff8b7640d948313646b93757b3a84f9d60e70a92f502b93f0/tradssat-0.1.1.tar.gz" } ] }