Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Mikofski Newsgroups: comp.lang.python.announce Subject: [ANN] SolarUtils-0.3 released - wrappers for NREL SOLPOS and SPECTRL2 algorithms Date: Thu, 23 May 2019 00:19:49 -0700 Lines: 31 Approved: python-announce-list@python.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de CMF+w2kGRzICRlbN7BTQzA9KRCpPJmWL9iqcl1/wrYPQ== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:github': 0.03; 'example:': 0.04; 'to:addr:scipy-user': 0.04; 'url- ip:140.82.118.4/32': 0.04; 'url-ip:140.82.118/24': 0.04; 'url- ip:140.82/16': 0.04; 'subject:ANN': 0.05; 'subject:released': 0.05; 'arbitrary': 0.07; 'hourly': 0.07; 'month,': 0.07; '>>>': 0.08; 'to:name:scipy users list': 0.09; 'url:pypi': 0.09; 'skip:m 110': 0.16; 'to:name:discussion of numerical python': 0.16; 'url:project': 0.16; 'vera': 0.16; 'url-ip:140/8': 0.18; 'url:io': 0.18; 'phd': 0.20; 'returns': 0.20; 'subject:] ': 0.21; 'url- ip:151.101.0.223/32': 0.23; 'url-ip:151.101.128.223/32': 0.23; 'url-ip:151.101.192.223/32': 0.23; 'url-ip:151.101.64.223/32': 0.23; 'skip:s 50': 0.23; 'url-ip:185.199.108.153/32': 0.24; 'url- ip:185.199.108/24': 0.24; 'url-ip:185.199.109.153/32': 0.24; 'url- ip:185.199.109/24': 0.24; 'url-ip:185.199.110.153/32': 0.24; 'url- ip:185.199.110/24': 0.24; 'url-ip:185.199.111.153/32': 0.24; 'url- ip:185.199.111/24': 0.24; 'url-ip:185.199/16': 0.24; 'year,': 0.25; 'url-ip:151.101.192/24': 0.26; 'url-ip:151.101.0/24': 0.26; 'url-ip:151.101.128/24': 0.26; 'url-ip:151.101.64/24': 0.26; '...': 0.28; '>>>': 0.29; 'see:': 0.29; 'to:addr:python- announce-list': 0.29; 'thanks!': 0.29; 'mark': 0.30; 'skip:( 20': 0.30; 'url-ip:151.101/16': 0.31; 'url-ip:151/8': 0.31; 'message- id:@mail.gmail.com': 0.32; 'subject:[': 0.33; 'received:google.com': 0.35; 'two': 0.37; 'sequence': 0.37; 'subject:-': 0.40; 'update': 0.60; 'day,': 0.63; 'minute': 0.64; 'sans': 0.64; 'skip:g 20': 0.64; 'positions': 0.65; 'skip:3 20': 0.66; 'solar': 0.66; 'angles,': 0.91; 'info,': 0.91; 'weather': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Uh6URggVHPO/ve4DMq0HJZkb+1XPPpzD8DCdSVpxpbQ=; b=AffJP73w5Kegf7kv3Drt7s+P8cb4KcEK3pMsMNwj/0C0e8n2LYcXnViMrRGTsvaRP8 VDLphhvM/4nNCkZdEUI8+J3OuTjsu8otzxQuIp4kO7swgyUcXD3Gwt+Cc2D74uAEzJEq GyuJHGcxPkkBue0dghs72mMW4a+CQur/KtqduACn0Wwi0zGI+pJOgXNgRlVHbx2l7SWy fnVNJQ/Ypv2YMRVrxIlA8t266Ncx2T9aWEc7/Z8VJFiUbffUS4sCsV9BPLpcVjouMfV5 kahKX38v9ChzH5Vm23HUonQd+0oloC27eIEDFND+7jcdlhXkcFahM1qRubOGCxxRD7Od SgEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Uh6URggVHPO/ve4DMq0HJZkb+1XPPpzD8DCdSVpxpbQ=; b=fPMKpZaTQAmRmATlOQFm1ZNrCF1EoJiZaQBrKVzhSzg2mqrGZHjQTpq7EEZqV6AbvX +vCo0OTTXwqROfxEGJPAsOLIYZzojh723j29aa0d20XUYLXguvV+xadcaRfu9qlgkFWG SJK1mqFSge2Wjxq+1aPI1CAIsh/v7lUbm6tB0p0ZW3hAfJ6SMn2chzTh46V8E0jPGXMB t+GEcNZpuJsJougqFmRI6pn3tUCR5dqkQls0yK4yZ0ffv4dnyOhqu2CKkefJNux32ntt tKRyuKKp7dsRWB/jcZDpNfa7GMNvlqXWFLDqywuDrJLdQbuUjYBQkTIA9wbzYDwLDGt2 0KZA== X-Gm-Message-State: APjAAAW7Sb96jFxp4lRQPpD5umTk2s8x7idIYR2EBP+dalxm9/Imx0g5 /rWMPNsHC6foM8Q11Mc3CIO9SR18m4k1r/ruwghTOQ== X-Google-Smtp-Source: APXvYqxLhLryHmtosMdnE3FYjzymG7lxMbZXpukgSPCuVhkLKVTQ/eABCFUW4+KFxIjkPDuaYkQq7nME5ZHUJHDSEww= X-Received: by 2002:a2e:9284:: with SMTP id d4mr24664668ljh.26.1558596000583; Thu, 23 May 2019 00:20:00 -0700 (PDT) X-Mailman-Approved-At: Fri, 24 May 2019 08:18:35 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com comp.lang.python.announce:3115 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 =3D [35.56836, -119.2022, -8.0]>>> datetimes =3D [... (dat= etime.datetime(2013, 1, 1, 0, 0, 0)... + datetime.timedelta(hours=3Dh)= ).timetuple()[:6]... for h in range(1000)]>>> weather =3D [1015.62055, = 40.0]>>> angles, airmass =3D 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! --=20 Mark Mikofski, PhD (2005) *Fiat Lux*