{ "info": { "author": "Ph.D. Shmirko K.A.", "author_email": "shmirko.konstantin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Console" ], "description": "Python wrapper for sun position algorithm written in c++ by Blanco-Muriel.\r\nAccuracy 1 degree for the time interval from 1999 to 2015.\r\n\r\nBlanco-Muriel M., Alarcon-Padilla D.C., Lopez-Mratalla D., and Lara-Coira M., \"Computing the Solar Vector\", Solar Energy Vol. 70, No. 5, pp. 431-441, 2001.\r\n\r\n:To calculate sun position:\r\n\r\n\r\n\r\n>>> import sunpos:\r\n>>> print sunpos.__doc__\r\n\r\n Sunpos package provides three structueres: \r\n\r\n :`cTime`: whith fields:\r\n\r\n :iYear: year, integer\r\n :iMonth: month, integer\r\n :iDay: day, integer\r\n :dHours: double, UTC hours\r\n :dMinutes: double, minutes\r\n :dSeconds: double, seconds\r\n\r\n :`cLocation`: with fields:\r\n\r\n :dLongitude: double, longitude\r\n :dLatitude: double, latitude\r\n\r\n :`cSunCoordinates`: with fields:\r\n\r\n :dZenithAngle: double, zenith angle, degrees\r\n :dAzimuth: double, azimuth angle, degrees\r\n\r\n>>> loc=sunpos.cLocation()\r\n>>> loc.dLatitude = 43.1\r\n>>> loc.dLongitude = 131.9\r\n>>> time=sunpos.cTime()\r\n>>> time.iYear = 2013 #imteger, year\r\n>>> time.iMonth = 10 #Integer, month\r\n>>> time.iDay = 13 #integer, day\r\n>>> time.dHours = 16 #double, hours UTC\r\n>>> time.dMinutes = 32 #double, minutes\r\n>>> time.dSeconds = 12 #double, seconds\r\n>>> #calculations\r\n>>> res = sunpos.sunposf(time, loc)\r\n>>> #or \r\n>>> res = sunpos.cSunCoordinates()\r\n>>> sunpos.sunpos(time, loc, res)\r\n>>> print res.dZenithAngle # sun's zenith angle\r\n>>> print res.dAzimuth # sun's azimuth angle:\r\n>>>", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "Sun position algorithm", "license": "GNU GPL", "maintainer": "", "maintainer_email": "", "name": "sunpos", "package_url": "https://pypi.org/project/sunpos/", "platform": "Any\r\nOn Windows mingw32 need to be installed", "project_url": "https://pypi.org/project/sunpos/", "project_urls": null, "release_url": "https://pypi.org/project/sunpos/1.1/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper for sun position algorithm written in c++ by Blanco-Muriel.", "version": "1.1" }, "last_serial": 724398, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "623c7af5fd741e737741b092e061ae2b", "sha256": "ba7d0269b39119bfca9955afd48409bc209f9b77b66f36e1eb4ab1bdff0d8db0" }, "downloads": -1, "filename": "sunpos-1.1.zip", "has_sig": false, "md5_digest": "623c7af5fd741e737741b092e061ae2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34474, "upload_time": "2013-03-31T00:07:35", "url": "https://files.pythonhosted.org/packages/47/7c/a8ce72febe64fb253f76ff8f184192edfd2a8d485ac25f4c0d0eed55b76d/sunpos-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "623c7af5fd741e737741b092e061ae2b", "sha256": "ba7d0269b39119bfca9955afd48409bc209f9b77b66f36e1eb4ab1bdff0d8db0" }, "downloads": -1, "filename": "sunpos-1.1.zip", "has_sig": false, "md5_digest": "623c7af5fd741e737741b092e061ae2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34474, "upload_time": "2013-03-31T00:07:35", "url": "https://files.pythonhosted.org/packages/47/7c/a8ce72febe64fb253f76ff8f184192edfd2a8d485ac25f4c0d0eed55b76d/sunpos-1.1.zip" } ] }