lp:~pythonxy/pythonxy-upstream/PVLIB_Python

Created by dacoex and last modified
Get this branch:
bzr branch lp:~pythonxy/pythonxy-upstream/PVLIB_Python

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Python XY
Project:
Upstream Package Updates for PythonXY
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at https://github.com/pvlib/pvlib-python.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log

Recent revisions

806. By Kevin Anderson <email address hidden>

Clarify delta_t docstring descriptions (#1429)

* clarify delta_t docstrings

* whatsnew

805. By Kevin Anderson <email address hidden>

Deprecate pvlib.forecast (#1426)

* deprecate pvlib.forecast classes

* catch warnings in tests

* add warning admonition to forecasts.rst

* whatsnew

* stickler

* pin pytest < 7.1.0

* pin pytest in the right place this time

* more warning suppression in tests

* unpin pytest

* Update docs/sphinx/source/whatsnew/v0.9.1.rst

* copy warning to reference/forecasting.rst

804. By Kevin Anderson <email address hidden>

Fix conditional dependency on dataclasses (#1422)

* better conditional dependency on dataclasses

* whatsnew

803. By Naman Priyadarshi <email address hidden>

Added asv benchmarking badge to the table of badges in the main README. (#1427)

* Update Readme.md

Added benchmarks asv badge to the badge section

* Updated v.0.9.1.rst

Added my name to the list of Contributers.

802. By Adam R. Jensen <email address hidden>

Add variable mapping of psm3 (#1374)

* Add variable mapping of psm3

* Add enhancement entry in whatsnew

* Fix stickler

* Map keys in metadata dict

* Remove double spaces in docs

* Fix stickler

* Doc update

Co-authored-by: Kevin Anderson <email address hidden>

* Reformatting - changes by kanderso-nrel

* Update docstring table with 2020

* Add deprecation warning test coverage

* Rename to VARIABLE_MAP

* Change apparent_zenith to solar_zenith

Based on the decision in #1403

* Update attributes docstring

* Change elevation to altitude when mapping variables

* Update psm3 variable mapping test

Co-authored-by: Kevin Anderson <email address hidden>

801. By Somasree Majumder <email address hidden>

Update v0.9.1.rst (#1418)

800. By Somasree Majumder <email address hidden>

Improve get_cams documentation (#1416)

* Improve get_cams documentation

* Update sodapro.py

* Update sodapro.py

* Update sodapro.py

* Update sodapro.py

* Update sodapro.py

* Remove trailing white space

* Update sodapro.py

* Update sodapro.py

* Create sodapro.py

* Update sodapro.py

* Update sodapro.py

* Remove trailing white space

* Remove trailing white space

* Update pvlib/iotools/sodapro.py

Co-authored-by: Adam R. Jensen <email address hidden>

Co-authored-by: Adam R. Jensen <email address hidden>
Co-authored-by: Cliff Hansen <email address hidden>

799. By Saurabh Aneja <email address hidden>

gallery example for bifacial modeling with pvfactors (#1394)

* adding initial gallery examples

* updating bifacial examples

added pvfactors into setup.py, cleaned up some white spacing, and hoping for the best...

* gallery_updates

* whatsnew

* updates from comments

* comment update

* updated comments, warnings, and variables

* whitespace

* small edits

* Apply suggestions from code review

Co-authored-by: Cliff Hansen <email address hidden>

* Update docs/sphinx/source/whatsnew/v0.9.1.rst

Co-authored-by: Cliff Hansen <email address hidden>
Co-authored-by: Kevin Anderson <email address hidden>

798. By Jack Kelly <email address hidden>

Fix tiny typo in docs (#1414)

* Fix tiny typo in docs

* Deleting an extraneous "for" in docs

* Fix tiny typo in wind pvsyst_cell docs

* Adding myself to the list of contributors

* Add link to the pull request

797. By bwanamarko

ENH: infinite sheds (#717)

* WIP: ENH: infinite sheds

* DOC: add infinite_sheds to api.rst, docstrings form sky_angle

* ENH: functions for infinite sheds

* add _to_radians and is_rad to convert only if necessary
* prefix all functions with get_
* add get_f_sky_pv, get_poa_sky_pv, get_ground_angle_tangent,
get_f_gnd_pv, get_f_gnd_pv, get_poa_gnd_pv, etc.
* update API ui

Signed-off-by: Mark Mikofski <email address hidden>

* ENH: clean up docstrings, add 4-quad arctan2, add api docs, more get_irradiance

* DOC: fix latex math, use psi_t for top, psi_b for bottom

* STY: don't use get_* for standard functions

* ENH: create class methods to get irradiance, FIXME: front/back poa not defined

* TST: add infinite_sheads test, add infinite_sheds to pvlib-api

* TST: ground illumination test

* TST: coerce df to float, replace div/0 with nan

* TST: set atol to 1e-6 to compare to CSV

* TST: test for shade line

* TST: fix diffuse fraction NaN and Inf, consolidate front+back = 1 test

* TST: add tests for sky angle, psi_top

* ENH: STY: fix stickler, ignore binary operator breaks

* get_irradiance, output ordered dict or dataframe
* finish updating get_poa_global_bifacial to transpose beam and diffuse
for each side separately

* add fixmes for ground illumination and ground view factor

* ENH: BUG: DOC: change "ground-illumination" to "unshaded-ground-fraction"

- use tan(zenith) in solar projection math latex
- implement gcr_prime and ground-sky-angles calculations
- add stub for ground-diffuse view factor

Signed-off-by: Mark Mikofski <email address hidden>

* ENH: BUG: calculate angles and VF from ground between panels to sky

- calculate ground-sky angles to previous and next rows, assuming height
 is nonzero
- calculate limits on ground where it can see the sky
- calculate the view factor as a function of z on the ground to the sky
- fix places where it still says degrees, bad, no!
- add fixme for pv-sky view factor, still has wrong formula
- add tests for angles from point z on the ground to tops of current
 row, and limits of previous and next rows
- add a script to make the plot of ground-sky view factor versus z

* ENH: BUG: remove gcr_prime from vf calc, not used

- add comments, change names x->z
- add TODO's to limit number of rows, and set row-type: 'first', 'last',
or 'middle'

* BUG: fix view factors formulas

- was difference of angles, should be difference of cosines
- also add TODO's to return VF versus point x on panel, and don't use
averages

* STY: shorten line in test_infinite_sheds for sum of angles at z1 limit

* DOC: update module docstring with process from Marion, et al.

- change calc_fx_sky to calc_fz_sky since z is for ground and x is for
pv surface
- add docstring to calc_fz_sky and for ground_sky_diffuse_view_factor

* BUG: revert changes to ground and sky to pv surface view factors

* ENH: integrate Fgnd-pv and Fsky-z

* change _bigz() to just return bigz
* create a test figure of integrated vslue

* fix references

* update infinite sheds

- integrate vf_gnd_sky and apply to poa_ground_diffuse
- new vf_ground_sky function
- fix iam.ashrae and total_irrad
- some cleanup, comment out old bifacialvf stuff
- add height, pitch, and npoints args where needed

Signed-off-by: Mark Mikofski <email address hidden>

* remove discretized angles for fgndsky

* don't discretize z

* remove maxp, bigz, zuni, and psi_zuni from calc_fgndpv_zsky and just use
 the integrated value
* add more detail re: infinite sheds to module docstring
* change f_gnd_sky to f_gnd_beam everywhere
* derive how integrated vf_gnd_sky is applied to diffuse reflected light,
 cite eqn (2) in Marion's paper

* clarify what next, prev mean

* add ascii sketches to clarify angles to top & bottom of prev or next
rows and for current row

* clarify what z0 and z1 limits mean

* clean up outputs for get_irradiance

- and InfiniteSheds.get_irradiance

* consolidate solar projection tests

* also compare phi and tan_phi

* use fraction of pvsurface fx

* add test for vf_ground_sky

* be quiet stickler

* TODO inserts, docstring edits

* re-organize

* create test files, move two functions to utils

* adjust test paths

* fix testing

* adjustments to sky_angle_tangent

* adjustments to get tests to run

* move shade_line to shading.shaded_fraction

* remove shade_line from infinite_sheds

* remove functions that have moved to utils, shading

* move several functions to private

* move more functions to private

* update test_utils.py

* linting

* tilt to surface_tilt, docstring work

* consolidate some functions, docstring work

* sky diffuse view factors

* finish editing get_irradiance and supporting functions

* rework public functions

* formatting

* remove old test file

* add tests for sky_angle functions, remove diffuse_ratio

* more tests, fix error in _sky_angle

* more tests and docstring work

* stickler

* remove old test file, test fixes

* test fixes

* remove axis from linspace usage

* documentation

* docstrings

* height = 0 and surface_tilt = 0 cases

* vectorize _vf_ground_sky

* overhaul ground to sky view factors, add function to utils

* lint, handle floats

* improve test fixture, remove unused

* loop over rotations in _vf_ground_sky_integ, test get_irradiance_poa

* more tests

* lint

* complete coverage

* progress on testing get_irradiance

* more testing

* whoops

* merge upstream

* remove local test hack

* correction to unshaded_ground_fraction

* move pvfactors tests

* additional testing

* add max_zenith to unshaded_ground_fraction

* docstring work

* use shading function, extend shading.shaded_fraction

* documentation

* clarifications, consistent argument order

* fix errors

* use numeric instead of array-like

* docstring sanding

* more docstring work, reorder arguments for consistency

* edits from review

* fix tests

* fix test

* remove max_rows from public

* move shaded_fraction from shading.py to infinite_sheds private

* move shading_fraction

* repair test, stickler

* remove axis_azimuth

* redo tests without axis_azimuth, few corrections

* trailing spaces

* behind the array criteria, return names

* changes from review

* diffuse fraction when ghi is 0

* clean up

* Apply suggestions from code review

Co-authored-by: Mark Mikofski <email address hidden>

* changes solar_zenith, solar_azimuth names

* Update pvlib/bifacial/infinite_sheds.py

Co-authored-by: Mark Mikofski <email address hidden>

* DOI directive in infinite_sheds.get_irradiance

* change back to solar_zenith, solar_azimuth

* rename in test_utils

* OrderedDict to dict

* create bifacial.rst

* Update docs/sphinx/source/user_guide/bifacial.rst

Co-authored-by: Kevin Anderson <email address hidden>

* Apply suggestions from code review

Co-authored-by: Kevin Anderson <email address hidden>

* remove OrderedDict

Co-authored-by: Cliff Hansen <email address hidden>
Co-authored-by: Kevin Anderson <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.