{ "info": { "author": "Meteorological Service of Canada", "author_email": "ec.woudc.ec@canada.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Atmospheric Science" ], "description": "|Build Status| |Build status| |Downloads this month on PyPI| |Latest\nrelease| |License|\n\nWOUDC Quality Assessment library\n================================\n\nPython package for automatically quality assessing\n`WOUDC `__ data based on defined rules.\n\nInstallation\n------------\n\nRequirements\n~~~~~~~~~~~~\n\nwoudc-qa requires Python 2.7.\n\nDependencies\n~~~~~~~~~~~~\n\nSee ``requirements.txt``.\n\nInstalling the Package\n~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n # via distutils\n pip install -r requirements.txt\n python setup.py install\n\nUsage\n-----\n\nCommand line interface\n~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n usage: woudc-qa.py [-h] --file FILE\n\n Execute Qa.\n\n optional arguments:\n -h, --help show this help message and exit\n --file FILE Path to extended CSV file to be quality assessed.\n\nExamples\n--------\n\n.. code:: python\n\n from woudc_qa import qa\n file_s = open().read()\n qa_results = qa(file_s)\n # qa_results is a dictionary as such:\n # qa_results: {\n # filename: {\n # test_id: {\n # row : {\n # result: result of this test, pass/fail/None/NR,\n # table: table name,\n # table_index: table_index,\n # element: element name,\n # related_test_id: test_id,\n # related_test_result: related tests result, pass/fail/None/NR\n # precond : precondition result: pass/fail/None/NR\n # }\n # }\n # }\n # }\n # where,\n # 'filename' is the name of the file, default it to 'file1'\n # 'test_id' is the test identifier from the test definition\n # 'row' is the row number of the element under assessmet. Always 1 for non profile/payload element\n # 'result', is the result of the assessment for the element at the indicated row for the given test\n # 'table' is the name of the table where the element under assessment is found\n # 'table_index' is the index of the above table. Default to 1, index will be incremented by 1 to handle multicipity\n # 'element' is the element under assessment\n # 'related_test_id' is a listing of any related test to this test\n # 'related_test_result' is a aggregated result of all related tests to this test\n # 'precond' is the aggregated result of any precondition checks\n #\n # from collections import OrderedDict\n # test_result = qa_result[][]\n # iterate over test results by row:\n # for row, result in test_result.iteritems():\n # print row, result\n # get result of assessment at a specific row\n # row_result = qa_results[][][]['result']\n\nDevelopment\n-----------\n\nFor development environments, install in a Python\n`virtualenv `__:\n\n.. code:: bash\n\n virtualenv foo\n cd foo\n . bin/activate\n # fork master\n # fork http://github.com/woudc/woudc-qa on GitHub\n # clone your fork to create a branch\n git clone https://github.com/{your GitHub username}/woudc-qa.git\n cd woudc-qa\n # install dev packages\n pip install -r requirements.txt\n python setup.py install\n # create upstream remote\n git remote add upstream https://github.com/woudc/woudc-qa.git\n git pull upstream master\n git branch my-cool-feature\n git checkout my-cool-feature\n # start dev\n git commit -m 'implement cool feature'\n # push to your fork\n git push origin my-cool-feature\n # issue Pull Request on GitHub\n git checkout master\n # cleanup/update once your branch is merged on GitHub\n # remove branch\n git branch -D my-cool-feature\n # update your fork\n git pull upstream master\n git push origin master\n\nRunning Tests\n~~~~~~~~~~~~~\n\n.. code:: bash\n\n # via distutils\n python setup.py test\n # manually\n python run_tests.py\n # report test coverage\n coverage run --source woudc_qa setup.py test\n coverage report -m\n\nCode Conventions\n~~~~~~~~~~~~~~~~\n\nwoudc\\_qa code conventions are as per\n`PEP8 `__.\n\n.. code:: bash\n\n # code should always pass the following\n find -type f -name \"*.py\" | xargs flake8\n\nIssues\n------\n\nAll bugs, enhancements and issues are managed on\n`GitHub `__.\n\nHistory\n-------\n\nContact\n-------\n\n- `Thinesh\n Sornalingam `__\n\n.. |Build Status| image:: https://travis-ci.org/woudc/woudc-qa.png?branch=master\n :target: https://travis-ci.org/woudc/woudc-qa\n.. |Build status| image:: https://ci.appveyor.com/api/projects/status/02koln2pe4ap5kvd/branch/master?svg=true\n :target: https://ci.appveyor.com/project/tomkralidis/woudc-qa\n.. |Downloads this month on PyPI| image:: https://img.shields.io/pypi/dm/woudc-qa.svg\n :target: http://pypi.python.org/pypi/woudc-qa\n.. |Latest release| image:: https://img.shields.io/pypi/v/woudc-qa.svg\n :target: http://pypi.python.org/pypi/woudc-qa\n.. |License| image:: https://img.shields.io/github/license/woudc/woudc-qa.svg\n :target: https://github.com/woudc/woudc-qa\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/woudc/woudc-qa", "keywords": "woudc ozone uv ultra-violet WMO quality assessment", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "woudc-qa", "package_url": "https://pypi.org/project/woudc-qa/", "platform": "all", "project_url": "https://pypi.org/project/woudc-qa/", "project_urls": { "Homepage": "https://github.com/woudc/woudc-qa" }, "release_url": "https://pypi.org/project/woudc-qa/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "Python package for automatically quality assessing WOUDC data.", "version": "0.4.0" }, "last_serial": 3625021, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4f5354cf731d619b48496c0959acf463", "sha256": "3efdc01c65b6afb2bd6cc975779573cf2f096db0dfe13fee8eb82ece0fb4cb97" }, "downloads": -1, "filename": "woudc-qa-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4f5354cf731d619b48496c0959acf463", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14708, "upload_time": "2016-02-27T13:29:51", "url": "https://files.pythonhosted.org/packages/9a/1f/10f69164995cb86214e469ab30cd6af398cbacbafa58e2ab22c59e1e6b92/woudc-qa-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "775f246aec14cd071825e316fd5d6d98", "sha256": "ec74e4fb991f1f9f90c8ad2b355af6499afac56ea3a9baf326eb5f713389b65b" }, "downloads": -1, "filename": "woudc-qa-0.1.1.tar.gz", "has_sig": false, "md5_digest": "775f246aec14cd071825e316fd5d6d98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15862, "upload_time": "2016-03-01T14:28:10", "url": "https://files.pythonhosted.org/packages/18/0e/e80259a59150837f9a94a51e0bcb0f73c157b5bd6670fb2e0c278dd99343/woudc-qa-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "35eaf499d99cd12db77531fdf3ac60c0", "sha256": "774bb46aaff1e8a4a149a75efefc7879f25797a050b39626f63d5601708501c3" }, "downloads": -1, "filename": "woudc-qa-0.1.2.tar.gz", "has_sig": false, "md5_digest": "35eaf499d99cd12db77531fdf3ac60c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15381, "upload_time": "2016-03-01T19:55:04", "url": "https://files.pythonhosted.org/packages/7c/c0/467e6417f2e693af7504213c032b88ce510ac456121e228fa00d3b3de55f/woudc-qa-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "780264b3a0896fc1c6f01855f2776e88", "sha256": "be413483b9a7e6fe7838dea3b1442046562e1ebe2e4aef208c04ee8a82bc7abc" }, "downloads": -1, "filename": "woudc-qa-0.2.0.tar.gz", "has_sig": false, "md5_digest": "780264b3a0896fc1c6f01855f2776e88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15011, "upload_time": "2016-08-31T16:57:53", "url": "https://files.pythonhosted.org/packages/61/2a/7972bdd9399f8603f7365fca8f54a0b29ac53cd2cf0de469497fb7d51a17/woudc-qa-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c92b8f4900c8cdfb090c12098565e377", "sha256": "86d797ff513463f1fdfed240b8ce9f52f40dea23fecbfadba10f89ff78a58a68" }, "downloads": -1, "filename": "woudc-qa-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c92b8f4900c8cdfb090c12098565e377", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17157, "upload_time": "2017-02-20T17:42:44", "url": "https://files.pythonhosted.org/packages/6a/c3/a24cd0c6c3860d211905247155963c0526f7a1b54d8cf6da80d827db39b9/woudc-qa-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7ddcf8e7e6452c213326614951aac9b5", "sha256": "f80dc7638ae858ebf4471eff029c220f301a6399103b1bf74eb41737b117b91f" }, "downloads": -1, "filename": "woudc-qa-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7ddcf8e7e6452c213326614951aac9b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16955, "upload_time": "2018-02-28T12:16:37", "url": "https://files.pythonhosted.org/packages/4a/da/96e35515ba6576e87569cd77c384a499e323cda2d2cb07ecccc0de78144c/woudc-qa-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ddcf8e7e6452c213326614951aac9b5", "sha256": "f80dc7638ae858ebf4471eff029c220f301a6399103b1bf74eb41737b117b91f" }, "downloads": -1, "filename": "woudc-qa-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7ddcf8e7e6452c213326614951aac9b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16955, "upload_time": "2018-02-28T12:16:37", "url": "https://files.pythonhosted.org/packages/4a/da/96e35515ba6576e87569cd77c384a499e323cda2d2cb07ecccc0de78144c/woudc-qa-0.4.0.tar.gz" } ] }