Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3115 > unrolled thread
| Started by | Mark Mikofski <mikofski@berkeley.edu> |
|---|---|
| First post | 2019-05-23 00:19 -0700 |
| Last post | 2019-05-23 00:19 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[ANN] SolarUtils-0.3 released - wrappers for NREL SOLPOS and SPECTRL2 algorithms Mark Mikofski <mikofski@berkeley.edu> - 2019-05-23 00:19 -0700
| From | Mark Mikofski <mikofski@berkeley.edu> |
|---|---|
| Date | 2019-05-23 00:19 -0700 |
| Subject | [ANN] SolarUtils-0.3 released - wrappers for NREL SOLPOS and SPECTRL2 algorithms |
| Message-ID | <mailman.110.1558700317.2953.python-announce-list@python.org> |
This update adds two convenience functions: 1. get_solposAM(location, datetimes, weather) - returns solar positions and airmass for arbitrary sequence of datetime vectors [year, month, day, hour, minute second]. 2. get_solpos8760(location, year, weather) - returns 8760 annyual hourly solar position and airmass for given year. For example: >>> location = [35.56836, -119.2022, -8.0]>>> datetimes = [... (datetime.datetime(2013, 1, 1, 0, 0, 0)... + datetime.timedelta(hours=h)).timetuple()[:6]... for h in range(1000)]>>> weather = [1015.62055, 40.0]>>> angles, airmass = get_solposAM(location, datetimes, weather) For more info, please see: - docs: https://sunpower.github.io/SolarUtils/ - repo: https://github.com/SunPower/SolarUtils - pypi: https://pypi.org/project/SolarUtils/ Thanks! -- Mark Mikofski, PhD (2005) *Fiat Lux*
Back to top | Article view | comp.lang.python.announce
csiph-web