lp:~pythonxy/pythonxy-upstream/PVLIB_Python

Created by dacoex on 2015-02-22 and last modified on 2017-06-12
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: Reviewed

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

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on pear and finished 1 hour ago taking 25 seconds — see the log
Import started 7 hours ago on pear and finished 7 hours ago taking 30 seconds — see the log
Import started 13 hours ago on pear and finished 13 hours ago taking 30 seconds — see the log
Import started 19 hours ago on pear and finished 19 hours ago taking 25 seconds — see the log
Import started on 2017-06-25 on pear and finished on 2017-06-25 taking 30 seconds — see the log
Import started on 2017-06-25 on pear and finished on 2017-06-25 taking 25 seconds — see the log
Import started on 2017-06-25 on pear and finished on 2017-06-25 taking 30 seconds — see the log
Import started on 2017-06-24 on pear and finished on 2017-06-24 taking 25 seconds — see the log
Import started on 2017-06-24 on russkaya and finished on 2017-06-24 taking 40 seconds — see the log
Import started on 2017-06-24 on pear and finished on 2017-06-24 taking 25 seconds — see the log

Recent revisions

346. By Uwe Krien <email address hidden> on 2017-06-12

Change method of multi-inheritance to allow kwargs in parent class of LocalizedPVSystem and LocalizedSingleAxisTracker (#330)

* remove superfluous keyword arguments

If keyword arguments are present a TypeError will be raised, so it is
better to remove it.

* Revert "remove superfluous keyword arguments"

This reverts commit 45e0518f220acbca9cba22458b99a232f9c2052b.

* use class names instead of super for multiple inheritance

* fix test, because 'my name' is expected if my name is given

* use class names instead of super for multiple inheritance

I have overseen this class so I had to change it in the same way as in
commit 6d1beafd.

* make pep8 a little happier

* add whatsnewfile for 0.4.6

* add whatsnew entry for PR 330

* extend whatsnew entry

345. By Will Holmgren <email address hidden> on 2017-06-05

add release date to whatsnew

344. By Will Holmgren <email address hidden> on 2017-06-05

defer ForecastModel network operations until necessary (#332)

* dont connect to unidata unless its necessary

* add note to whatsnew

343. By Will Holmgren <email address hidden> on 2017-06-03

Allowing spa_c() to use localized time index 0.4.5 (#333)

* Allowing spa_c() to use localized time index

* converting time to 'UTC' if time index is localized

* Updating whatsnew file with changes

* move note from one whatsnew to the other

342. By bwanamarko on 2017-06-02

update solar_position docstring (#327)

* update solar_position docstring

* change units for pressure to mbars

* add note to whatsnew-0.4.5 about mbars in low-level spa.py module ONLY

341. By Will Holmgren <email address hidden> on 2017-05-30

remove all instances of .ix (#328)

* remove all instances of .ix

* add note to whatsnew

340. By Uwe Krien <email address hidden> on 2017-05-29

Safely calculate dni from dhi and ghi (#250)

* creating basic function to calculate DNI from GHI and DHI

* replace equation with new function for test purposes

* change types to satisfy type checks

* remove warning if new function is used

* adapt input and output of dni method

* adapt docstring to new inputs

* add clearsky method to correct calculated dni

* add cutoff method to correct calculated dni

* add logging warning and debug messages

* increase code quality

* remove non-ascii characters

* Remove user warning

* Replace input variable location by zenith and clearsky_dni

* Correct docstring

* Remove unnecessary calculation

* Correct negative DNI

Negative values of the calculated DNI will be set to zero or if the new
input value 'set_to_nan' is 'True' will be set to 'NaN'.

* Implement clearsky method

* Include tolerance factor for clearsky method and adapt function call in modelchain

* Enable set_to_nan in cutoff method

* Raise value error if chosen method does not exist

* Debugging info how many values needed correction

* Correct parameter types in docstring

* Correct test_complete_irradiance

* Remove debugging info

* Remove method and introduce new parameters for cutoff zenith angles

* Adapt docstring to new parameters

* Remove commented lines

* Adapt complete_irradiance definition of modelchain to new parameters in DNI calculation

* Add test function for DNI calculation

* Merge upstream changes on master

The only conflict was that both me and the upstream master added a test
at the end of a test file so the solution was easy: just take both.

* Add accidentally un-added files

I had a mishap which removed these files from being version controlled.
This should fix it.

* Remove kwargs from dni function

* Remove unnecessary dni_tmp

* Remove blank line at end of docstring

* Add max_dni to do calculation only once

* Correct comment

* Correct docstring for lower_cutoff_zenith

* Remove kwargs from complete_irradiance

* Correct docstrings

* Use same default value for clearsky_tolerance as in ModelChain

* Change names of lower_ and upper_cutoff_zenith and adapt docstring and comments

lower_cutoff_zenith is renamed to zenith_threshold_for_clearsky_limit
upper_cutoff_zenith is renamed to zenith_threshold_for_zero_dni

* add safely calculate dni from dhi and ghi (#250)

339. By bwanamarko on 2017-05-26

NREL bird clearsky (#276)

* add requirements.txt to install into virtualenv and ignore venv/

* add Bird clearsky model

* move clearsky.py into clearsky/core.py just for fun, let's try it out
* fix path to data in clearsky to LinkeTurbidities.mat
* add BIRD workbook to data for testing

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

* move test_bird to test_clearsky and move bird to clearsky core module

* revert api changes

* add spencer and pvcdron eot to solarposition, fix test and 2pi

* add equation of time test

* compare eot from spencer and pvcdrom to spa-python
* add note about coefficients in spencer 1971 and more references

* addressing comments in PR 276

* clean up docstrings for bird model, fix pub date to 1981, add references section, add attribution to daryl myers
* add spaces between colon and parameter to ineichen and simplified_solis models to correspond to numpydoc style
* revert changes in 457615d, change pvlib-path back to dirname of clearsky.py file, remove added clearsky_path
* start to change bird function signature to conform to existing clear sky algos, and strip out some of the complicated algos like the relative airmass, declination and solpos
 * change args aod_380nm to aod380 and aod_500nm to aod500.
 * clean up eot docstrings, add references, use external linking

* add declination formulas to solarposition.py

* added both cooper-69 and spencer-71
* replacing calls in bird to calls to new formulas for declination, eot, dayangle

* make bird function signature similar to other clearsky methods

* remove day_angle, relative airmass, eot, zenith, declination, extraterrestrial dni calcs, and pass values in as needed
* change o3_cm to ozone, h2o_cm to precipitable_water, b_a to asymmetry and alb to albedo
* replace pstar, patm and am_press with absolute airmass method from atmosphere
* testvalues no longer needed
* use irradiance.extraradiation() and remove etr()
* add analytical solar zenith angle and hour angle methods to solar position module

* add all parameters to docstring for bird clearsky

* also add returns
* remove defaults for aod, since should be supplied
TODO: change input to broadband when linke turbidity PR is complete
* remove times, not needed anymore
* remove commented relative airmass(method="kasten1966") since passed as arg
* remove extraradiation(method="spencer") since passed as arg
* change etr_ to etr since no more etr
TODO: change all variables to easier names
* add seinfeld and pandis to declination references
* finish hour angle calc

* add all parameters to docstring for bird clearsky

* also add returns
* remove defaults for aod, since should be supplied
TODO: change input to broadband when linke turbidity PR is complete
* remove times, not needed anymore
* remove commented relative airmass(method="kasten1966") since passed as arg
* remove extraradiation(method="spencer") since passed as arg
* change etr_ to etr since no more etr
TODO: change all variables to easier names
* add seinfeld and pandis to declination references
* finish hour angle calc

* set night values to zero

* save ze_cos once, instead of recalculating
* simplify/shorten some lines now that np.where(airmass > 0,<calc>,0.0) is gone

* calculate diffuse_horiz return value prior to return line

* update test_bird() with new function signature

* update docs

* add to what's new for v0.4.4
* add new solar position formulas and bird clear sky to api
* move links to references, and space references to make numpydoc happy
* add see also for eot, declination and solar_zenith_analytical

* add missing requirements

* add it to min build too

* remove dependence on xlrd

- use csv file instead of xls file - NOTE: I made this file by
changing all cells' format to General, fitting column size to content
width to show all significant figures, then saving as csv, new file
is less than 370kb vs 1.2mb
- use pandas read_csv instead of xlrd, way easier :)
- remove requirements.txt, can't be bothered

* move low precision solar position correlations to new api section

* add Daryl R. Myers, "Solar Radiation" CRC Press (2013) reference
* fix some sphinx-build errors in solar-position, explicit emphasis
start with no end for "*Note" (missing closing "*" for emphasis in
`nrel_earthsun_distance` and `spa_python`
* use numpydoc linked references for spencer71 equation of time

* test keywords in bird clear sky model

* add BIRD_08_16_2012_patm.csv for 2nd bird test data
* fix docs by moving text before parameters so not indented

* test scalars in bird model

* add test data file

* lower case Spencer71 in docs and solarposition

* fix lower case 's' in spencer71

* output OrderedDict or DataFrame

* fix link

* update docstring returns to OrderedDict/DataFrame

* provide note on solar vs apparent zenith and testing

* quotes for 'direct_horizontal' in docstring returns

* add tests for solarposition low-accuracy formulas

* move whats new note from 0.4.4 to 0.4.5
* test declination and solar-zenith
* correct spelling of Rayleigh

338. By Will Holmgren <email address hidden> on 2017-05-15

pandas 0.20 compatibility (#326)

* fix Location.get_clearsky for pandas 0.20

* fix ephemeris for pandas 0.20

* add whatsnew

* fix whatsnew issue number

337. By Will Holmgren <email address hidden> on 2017-02-18

finish v0.4.4 whatsnew

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.