Skip to content

Commit cac6c35

Browse files
authored
Merge pull request #214 from NREL/development
2.0.0 Release
2 parents 8f00cd4 + 8f24666 commit cac6c35

34 files changed

+3981
-604
lines changed

.coveragerc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
omit =
3-
# _version.py doesn't count
3+
# _version.py doesn't count, same for _deprecation.py
44
rdtools/_version.py
5+
rdtools/_deprecation.py
56
# omit the test files themselves
67
rdtools/test/*

.travis.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,27 @@ python:
77
- "3.7"
88
- "3.8"
99

10-
# Test two environments:
11-
# 1) dependencies with pinned versions from requirements.txt
12-
# 2) 'pip install --upgrade --upgrade-strategy=eager .' to install upgraded
10+
# Test three environments:
11+
# 1) "standard" dependencies with pinned versions from requirements.txt
12+
# 2) "minimum" dependencies with pinned versions from requirements-min.txt
13+
# (only on python 3.6)
14+
# 3) 'pip install --upgrade --upgrade-strategy=eager .' to install upgraded
1315
# dependencies from PyPi using version ranges defined within setup.py
1416
env:
15-
- REQ_ENV='-r requirements.txt .'
16-
- REQ_ENV='--upgrade --upgrade-strategy=eager .'
17+
- REQ_ENV='-r requirements.txt .[test]'
18+
- REQ_ENV='-r requirements-min.txt .[test]'
19+
- REQ_ENV='--upgrade --upgrade-strategy=eager .[test]'
1720

21+
22+
# PyPI doesn't have wheels built for the minimum requirements (e.g. numpy 1.12)
23+
# for newer python versions. Rather than try to get Travis to build them
24+
# from source, prefer to restrict the minimum-reqs build to only py 3.6:
1825
jobs:
1926
exclude:
20-
- python: 2.7
21-
env: REQ_ENV='--upgrade --upgrade-strategy=eager .'
27+
- python: 3.7
28+
env: REQ_ENV='-r requirements-min.txt .[test]'
29+
- python: 3.8
30+
env: REQ_ENV='-r requirements-min.txt .[test]'
2231

2332
install:
2433
- pip install $REQ_ENV

docs/degradation_and_soiling_example.ipynb

Lines changed: 128 additions & 66 deletions
Large diffs are not rendered by default.

docs/degradation_and_soiling_example_pvdaq_4.ipynb

Lines changed: 403 additions & 70 deletions
Large diffs are not rendered by default.

docs/notebook_requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jedi==0.12.1
1414
Jinja2==2.10.1
1515
jsonschema==2.6.0
1616
jupyter==1.0.0
17-
jupyter-client==5.2.3
17+
jupyter-client==6.1.7
1818
jupyter-console==5.2.0
19-
jupyter-core==4.4.0
19+
jupyter-core==4.6.3
2020
MarkupSafe==1.1.1
2121
mistune==0.8.3
2222
nbconvert==5.3.1
23-
nbformat==4.4.0
23+
nbformat==5.0.7
2424
notebook==5.7.8
2525
pandocfilters==1.4.2
2626
parso==0.3.1
@@ -29,12 +29,12 @@ pickleshare==0.7.4
2929
prometheus-client==0.3.0
3030
prompt-toolkit==1.0.15
3131
ptyprocess==0.6.0
32-
Pygments==2.2.0
32+
Pygments==2.7.1
3333
pyzmq==17.1.0
3434
qtconsole==4.3.1
3535
Send2Trash==1.5.0
3636
simplegeneric==0.8.1
37-
tables==3.4.4
37+
tables==3.6.1
3838
terminado==0.8.1
3939
testpath==0.3.1
4040
tornado==5.1
Loading

docs/sphinx/source/api.rst

Lines changed: 59 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ analysis workflow.
1616

1717
degradation
1818
soiling
19+
availability
1920
filtering
2021
normalization
2122
aggregation
@@ -26,98 +27,119 @@ analysis workflow.
2627
Degradation
2728
===========
2829

29-
Functions for estimating degradation rates from PV system data.
30+
.. automodule:: rdtools.degradation
31+
:noindex:
3032

3133
.. autosummary::
3234
:toctree: generated/
3335

34-
degradation.degradation_classical_decomposition
35-
degradation.degradation_ols
36-
degradation.degradation_year_on_year
36+
degradation_classical_decomposition
37+
degradation_ols
38+
degradation_year_on_year
3739

3840

3941
Soiling
4042
=======
4143

42-
Functions for estimating soiling rates from PV system data.
44+
.. automodule:: rdtools.soiling
45+
:noindex:
4346

4447
.. autosummary::
4548
:toctree: generated/
4649

47-
soiling.soiling_srr
48-
soiling.SRRAnalysis
49-
soiling.SRRAnalysis.run
50+
soiling_srr
51+
monthly_soiling_rates
52+
annual_soiling_ratios
53+
SRRAnalysis
54+
SRRAnalysis.run
55+
56+
57+
System Availability
58+
===================
59+
60+
.. automodule:: rdtools.availability
61+
:noindex:
62+
63+
.. autosummary::
64+
:toctree: generated/
65+
66+
AvailabilityAnalysis
67+
AvailabilityAnalysis.run
68+
AvailabilityAnalysis.plot
5069

5170

5271
Filtering
5372
=========
5473

55-
Functions to perform filtering on PV system data.
74+
.. automodule:: rdtools.filtering
75+
:noindex:
5676

5777
.. autosummary::
5878
:toctree: generated/
5979

60-
filtering.clip_filter
61-
filtering.csi_filter
62-
filtering.poa_filter
63-
filtering.tcell_filter
64-
filtering.normalized_filter
80+
clip_filter
81+
csi_filter
82+
poa_filter
83+
tcell_filter
84+
normalized_filter
6585

6686

6787
Normalization
6888
=============
6989

70-
Functions for normalizing power measurements for further analysis.
90+
.. automodule:: rdtools.normalization
91+
:noindex:
7192

7293
.. autosummary::
7394
:toctree: generated/
7495

75-
normalization.check_series_frequency
76-
normalization.delta_index
77-
normalization.energy_from_power
78-
normalization.interpolate
79-
normalization.interpolate_series
80-
normalization.irradiance_rescale
81-
normalization.normalize_with_expected_power
82-
normalization.normalize_with_pvwatts
83-
normalization.normalize_with_sapm
84-
normalization.pvwatts_dc_power
85-
normalization.sapm_dc_power
86-
normalization.t_step_nanoseconds
87-
normalization.trapz_aggregate
96+
energy_from_power
97+
interpolate
98+
irradiance_rescale
99+
normalize_with_expected_power
100+
normalize_with_pvwatts
101+
normalize_with_sapm
102+
pvwatts_dc_power
103+
sapm_dc_power
104+
delta_index
105+
check_series_frequency
88106

89107

90108
Aggregation
91109
===========
92110

93-
Functions to aggregate PV system data.
111+
.. automodule:: rdtools.aggregation
112+
:noindex:
94113

95114
.. autosummary::
96115
:toctree: generated/
97116

98-
aggregation.aggregation_insol
117+
aggregation_insol
99118

100119

101120
Clear-Sky Temperature
102121
=====================
103122

104-
Functions for modeling ambient temperature.
123+
.. automodule:: rdtools.clearsky_temperature
124+
:noindex:
105125

106126
.. autosummary::
107127
:toctree: generated/
108128

109-
clearsky_temperature.get_clearsky_tamb
129+
get_clearsky_tamb
110130

111131

112132
Plotting
113133
========
114134

115-
Functions to visualize degradation and soiling analysis results.
135+
.. automodule:: rdtools.plotting
136+
:noindex:
116137

117138
.. autosummary::
118139
:toctree: generated/
119140

120-
plotting.degradation_summary_plots
121-
plotting.soiling_monte_carlo_plot
122-
plotting.soiling_interval_plot
123-
plotting.soiling_rate_histogram
141+
degradation_summary_plots
142+
soiling_monte_carlo_plot
143+
soiling_interval_plot
144+
soiling_rate_histogram
145+
availability_summary_plots

docs/sphinx/source/changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
RdTools Change Log
22
==================
33

4-
.. include:: changelog/v2.0.0b0.rst
4+
.. include:: changelog/v2.0.0.rst
5+
.. include:: changelog/pre_2.0.0.rst
6+
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
2+
***********************
3+
v1.2.3 (April 12, 2020)
4+
***********************
5+
6+
- Updates dependencies
7+
- Versioneer bug fix
8+
- Licence update
9+
10+
Contributors
11+
------------
12+
* Mike Deceglie (:ghuser:`mdeceglie`)
13+
14+
15+
*************************
16+
v1.2.2 (October 12, 2018)
17+
*************************
18+
19+
Patch that adds author email to enable pypi deployment
20+
21+
Contributors
22+
------------
23+
* Mike Deceglie (:ghuser:`mdeceglie`)
24+
25+
26+
*************************
27+
v1.2.1 (October 12, 2018)
28+
*************************
29+
30+
This update includes automated testing and deployment to support development
31+
along with some bug fixes to the library itself, a documented environment for
32+
the example notebook, and new example results to reflect changes in the example
33+
dataset. It addresses :issue:`49`, :issue:`76`, :issue:`78`, :issue:`79`,
34+
:issue:`80`, :issue:`85`, :issue:`86`, and :issue:`92`.
35+
36+
Contributors
37+
------------
38+
* Mike Deceglie (:ghuser:`mdeceglie`)
39+
* Adam Shinn (:ghuser:`abshinn`)
40+
* Chris Deline (:ghuser:`cdeline`)
41+
* nb137 (:ghuser:`nb137`)
42+
43+
44+
***********************
45+
v1.2.0 (March 30, 2018)
46+
***********************
47+
48+
This incorporates changes including:
49+
50+
- Enables users to control confidence intervals reported in degradation calculations (:issue:`59`)
51+
- Adds python 3 support (:issue:`56` and :issue:`67`)
52+
- Fixes bugs (:issue:`61` :issue:`57`)
53+
- Improvements/typo fixes to docstrings
54+
- Fixes error in check for two years of data in degradation_year_on_year
55+
- Improves the calculations underlying irradiance_rescale
56+
57+
Contributors
58+
------------
59+
* Mike Deceglie (:ghuser:`mdeceglie`)
60+
* Ambarish Nag (:ghuser:`ambarishnag`)
61+
* Gregory Kimball (:ghuser:`GregoryKimball`)
62+
* Chris Deline (:ghuser:`cdeline`)
63+
* Mark Mikofski (:ghuser:`mikofski`)
64+
65+
66+
*************************
67+
v1.1.3 (December 6, 2017)
68+
*************************
69+
70+
This patch includes the following changes:
71+
72+
1. Update the notebook for improved plotting with Pandas v.0.21.0
73+
2. Fix installation bug related to package data
74+
75+
Contributors
76+
------------
77+
* Mike Deceglie (:ghuser:`mdeceglie`)
78+
* Chris Deline (:ghuser:`cdeline`)
79+
80+
81+
*************************
82+
v1.1.2 (November 6, 2017)
83+
*************************
84+
85+
This patch includes the following changes:
86+
87+
1. Fix bugs in installation
88+
2. Update requirements
89+
3. Notebook plots made compatible with pandas v.0.21.0
90+
91+
Contributors
92+
------------
93+
* Mike Deceglie (:ghuser:`mdeceglie`)
94+
95+
96+
*************************
97+
v1.1.1 (November 1, 2017)
98+
*************************
99+
100+
This patch:
101+
102+
1. Improves documentation
103+
2. Fixes installation requirements
104+
105+
Contributors
106+
------------
107+
* Mike Deceglie (:ghuser:`mdeceglie`)
108+
* Adam Shinn (:ghuser:`abshinn`)
109+
* Chris Deline (:ghuser:`cdeline`)
110+
111+
112+
***************************
113+
v1.1.0 (September 30, 2017)
114+
***************************
115+
116+
This update includes the addition of filters, functions to support a clear-sky
117+
workflow, and updates to the example notebook.
118+
119+
Contributors
120+
------------
121+
* Mike Deceglie (:ghuser:`mdeceglie`)
122+
* Adam Shinn (:ghuser:`abshinn`)
123+
* Ambarish Nag (:ghuser:`ambarishnag`)
124+
* Gregory Kimball (:ghuser:`GregoryKimball`)
125+
* Chris Deline (:ghuser:`cdeline`)
126+
* Jiyang Yan (:ghuser:`yjy1663`)

0 commit comments

Comments
 (0)