{ "info": { "author": "Pablo ALINGERY", "author_email": "pablo.alingery@ias.u-psud.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "![](http://github.com/SITools2/core-v2/raw/dev/workspace/client-public/res/images/logo_01_petiteTaille.png)\n# pySitools2_1.0\n\n## Description\n\npySitools2_1.0 is a generic python Sitools2V1.0 client\n\npySitools2 tool has been designed by the IAS MEDOC team to perform all operations available within Sitools2.\n\nThe code defines several classes of Sitools2: Field, Query, Dataset and Project. \n\nIt also contains specialized versions of the client, allowing the end user to easily perform queries on selected data sets, namely SDO/AIA, SDO/HMI, and GAIA-DEM at MEDOC, and download the corresponding data.\n\n## Building pySitools2_1.0\n\n### Getting the sources\n\n git clone https://github.com/MedocIAS/pySitools2_1.0 pySitools2_1.0\n\nThe retrieved module structure is the following (not all files are shown):\n\n LICENCE\n README.md\n setup.py\n -- sitools2\n -- clients\n README_GAIA.txt\n README_MEDIA.txt\n gaia_client_medoc.py\n sdo_client_medoc.py\n -- core\n pySitools2.py\n -- examples\n example_gaia.py\n example_idoc-medoc_aia.py\n example_idoc-medoc_hmi.py\n -- tests\n testGaia.py\n testIdocMedocAiaSearch.py\n testIdocMedocHmiSearch.py\n\n### Testing the module\n\n cd pySitools2_1.0\n python setup.py test -q\n\n## Installing the module\n\n### Installing the module for the system\n\n cd pySitools2_1.0\n sudo pip## install .\n\n where ## is your pip/python version.\n\n## Features\n\n- Make a search providing a date range, a wavelength, a cadence.\n- Filter the results with specific keyword values (e.g. filter on quality, cdelt...)\n- Download the results of your search.\n\n## Examples of application\n\nFull examples are provided in the `examples` directory.\n\n### sdo_client_medoc.py\n\nThis python module will allow you to :\n\n- Make a request using the media_search() function.\n\n $ from sitools2.clients.sdo_client_medoc import media_search, media_get\n from datetime import datetime, timedelta\n\n d1 = datetime(2012, 11, 21, 0, 0, 0)\n d2 = d1 + timedelta(days=1)\n sdo_data_list = media_search(dates=[d1, d2], waves=['335'], cadence=['6 h'])\n\n- Simply download the result of your previous search() calling the media_get()function.\n\n media_get (media_data_list=sdo_data_list, target_dir='results')\n\n\n\n\nFor more information see the `README_MEDIA.txt` file.\n\n### gaia_client_medoc.py\n\nThis python module will allow you to :\n\n- Make a request using the gaia_search() function.\n\n $ from sitools2.clients.gaia_client_medoc import gaia_search, gaia_get\n from datetime import datetime, timedelta\n d1 = datetime(2012, 11, 21, 0, 0, 0)\n d2 = d1 + timedelta(days=1)\n gaia_data_list = gaia_search(dates=[d1, d2])\n\n- Simply download the result of your previous media_search() calling the media_get() function.\n\n gaia_get(gaia_list=gaia_data_list, target_dir='results')\n\n- Specify the type of data you want to retrieve, it should be a list containg elements among: 'temp', 'em', 'width', 'chi2':\n\n gaia_get (gaia_list=gaia_data_list, target_dir=\"results\", type=['temp', 'em'])\n\nFor more information see the `README_GAIA.txt` file.\n\n## Update the module \n\n cd pySitools2_1.0\n git pull origin master \n sudo -H pip## install . --upgrade\n\nwhere ## is your pip/python version.\n\n## Remove the module \n\n### For the system\n\n cd pySitools2_1.0\n sudo pip## uninstall pySitools2_1.0\n\nwhere ## is your pip/python version.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/MedocIAS/pySitools2_1.0/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://sitools2.github.com/pySitools2_1.0/", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pySitools2", "package_url": "https://pypi.org/project/pySitools2/", "platform": "", "project_url": "https://pypi.org/project/pySitools2/", "project_urls": { "Download": "https://github.com/MedocIAS/pySitools2_1.0/archive/master.zip", "Homepage": "http://sitools2.github.com/pySitools2_1.0/" }, "release_url": "https://pypi.org/project/pySitools2/0.0.2/", "requires_dist": [ "simplejson", "future", "pip" ], "requires_python": "", "summary": "A generic python Sitools2 client with some specific clients (GAIA, SDO)", "version": "0.0.2" }, "last_serial": 4835997, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b526845e4f4156ef242b60d9f0dd67d7", "sha256": "9ea1105c27bb90f0d90e6c6776bc0794fd2261cc95ef4edbfea6ad2ae027bc12" }, "downloads": -1, "filename": "pySitools2-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b526845e4f4156ef242b60d9f0dd67d7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 68228, "upload_time": "2018-11-19T10:32:13", "url": "https://files.pythonhosted.org/packages/90/90/14c58586bae32da072b38bc242e8d99ac2a9ff50a48795909d68081163e5/pySitools2-0.0.1-py2.py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d7112f46cee1caa2b66c5d01c90e2af4", "sha256": "7b6e103330bbf86bb8f3c3d58f54f656260104338fd3d8822d4f1c3db533b311" }, "downloads": -1, "filename": "pySitools2-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d7112f46cee1caa2b66c5d01c90e2af4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 94469, "upload_time": "2019-02-18T16:36:36", "url": "https://files.pythonhosted.org/packages/cd/93/1fe53d1056baef75c9f3a12f4655f6667996a6a0be13ec7e909d8a18f4ed/pySitools2-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d7112f46cee1caa2b66c5d01c90e2af4", "sha256": "7b6e103330bbf86bb8f3c3d58f54f656260104338fd3d8822d4f1c3db533b311" }, "downloads": -1, "filename": "pySitools2-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d7112f46cee1caa2b66c5d01c90e2af4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 94469, "upload_time": "2019-02-18T16:36:36", "url": "https://files.pythonhosted.org/packages/cd/93/1fe53d1056baef75c9f3a12f4655f6667996a6a0be13ec7e909d8a18f4ed/pySitools2-0.0.2-py3-none-any.whl" } ] }