{ "info": { "author": "Chris Petrich", "author_email": "cpetrich@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "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 :: Implementation :: CPython", "Topic :: Scientific/Engineering" ], "description": "rawdatx\n#######\n\nrawdatx is a Python 2.7, 3.4, 3.5 converter that generates Excel xlsx files\nfrom TOA5 comma-separated text files produced by Campbell Scientific LoggerNet.\nSensor input, processing instructions, and output structure are specified\nin a single XML Definition File that also serves as documentation.\n\nrawdatx is available under the MIT license.\nThe code of the project is hosted at ``_\nand packages are available on PyPI at ``_.\nDocumentation is available at ``_.\n\nInstallation\n============\n\nThe following prerequisites need to be installed:\n\n* Python 2.7, 3.4, or 3.5\n* numpy 1.9 or higher\n* xlsxwriter\n\noptionally (recommended):\n\n* lxml\n* asteval\n\nThe easiest way to install rawdatx is through pip:\n``pip install rawdatx``\n\nAlternatively, download the latest version from the repository\n``_ and install with\n``python setup.py install``.\n\nUsage\n=====\n\nTo convert a TOA5 file to XLSX, run the following script::\n\n import rawdatx.read_TOA5 as read_raw_data\n import rawdatx.process_XML as process_XML\n \n config = './config.cfg'\n read_raw_data.main(config)\n process_XML.main(config)\n\nInput and output files are specified in an UTF-8 encoded \nconfiguration file ``config.cfg``:\n\n.. code-block:: ini\n\n [RawData]\n raw_data_path = ./raw-data/\n mask = CR1000_*.dat\n logger_time_zone = UTC+1\n\n [Metadata]\n Project = My project name\n\n [Files]\n xml_map_path = ./\n xml_map = data_map.xml\n data_path = ./ \n processed_data_xlsx = processed_data.xlsx\n xml_dtd_out = data_map.dtd\n raw_data = consolidated_raw_data.npy\n processed_data_npy = processed_data.npy\n \nThe ``[RawData]`` section specifies the location of the logger input files,\nthe ``[Metadata]`` section defines metadata entries copied into the\nXLSX file, and the ``[Files]`` section specifies path and file names of \noutput and intermediate files (``data_path``) and input \nXML Definition File (``xml_map_path`` and ``xml_map``).\n\nThe XML Definition File (``data_map.xml``) may look like this:\n\n.. code-block:: xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\nSee also examples and test files in the repository at\n``_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cpetrich/rawdatx", "keywords": "file format", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rawdatx", "package_url": "https://pypi.org/project/rawdatx/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rawdatx/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cpetrich/rawdatx" }, "release_url": "https://pypi.org/project/rawdatx/0.1/", "requires_dist": null, "requires_python": null, "summary": "Generate Excel files from logger data files", "version": "0.1" }, "last_serial": 1871301, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "97132a21a30b4563c58b9496dc17d8d5", "sha256": "9e920e53aea95fff54c1786a7adc31f04d707fe7b283b09f1e901c18fd91fefa" }, "downloads": -1, "filename": "rawdatx-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97132a21a30b4563c58b9496dc17d8d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27368, "upload_time": "2015-12-20T21:32:35", "url": "https://files.pythonhosted.org/packages/ec/3d/55927165233659a9e04af0e4e2ddc79c618e56735cb019dcdacf08543066/rawdatx-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd3e5803fc1d2df700e5c3ceab910667", "sha256": "6fb03e8c06ac8b33023f527845131160e1ba2f31f57532ad7dda5d55982374d6" }, "downloads": -1, "filename": "rawdatx-0.1.zip", "has_sig": false, "md5_digest": "bd3e5803fc1d2df700e5c3ceab910667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67679, "upload_time": "2015-12-20T21:32:40", "url": "https://files.pythonhosted.org/packages/02/0b/f569c08cb64479f0d13693ae742514853365a7c6dd72a9245e5aa893a0eb/rawdatx-0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97132a21a30b4563c58b9496dc17d8d5", "sha256": "9e920e53aea95fff54c1786a7adc31f04d707fe7b283b09f1e901c18fd91fefa" }, "downloads": -1, "filename": "rawdatx-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97132a21a30b4563c58b9496dc17d8d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27368, "upload_time": "2015-12-20T21:32:35", "url": "https://files.pythonhosted.org/packages/ec/3d/55927165233659a9e04af0e4e2ddc79c618e56735cb019dcdacf08543066/rawdatx-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd3e5803fc1d2df700e5c3ceab910667", "sha256": "6fb03e8c06ac8b33023f527845131160e1ba2f31f57532ad7dda5d55982374d6" }, "downloads": -1, "filename": "rawdatx-0.1.zip", "has_sig": false, "md5_digest": "bd3e5803fc1d2df700e5c3ceab910667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67679, "upload_time": "2015-12-20T21:32:40", "url": "https://files.pythonhosted.org/packages/02/0b/f569c08cb64479f0d13693ae742514853365a7c6dd72a9245e5aa893a0eb/rawdatx-0.1.zip" } ] }