Skip to content

Commit e92552e

Browse files
authored
Merge pull request #284 from NREL/develop
v3.1
2 parents ef63a61 + c21ae8c commit e92552e

File tree

89 files changed

+6045
-5444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+6045
-5444
lines changed

.all-contributorsrc

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
{
2+
"projectName": "OpenOA",
3+
"projectOwner": "NREL",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": false,
11+
"commitConvention": "angular",
12+
"contributorsPerLine": 7,
13+
"linkToUsage": true,
14+
"contributors": [
15+
{
16+
"login": "RHammond2",
17+
"name": "Rob Hammond",
18+
"avatar_url": "https://avatars.githubusercontent.com/u/13874373?v=4",
19+
"profile": "https://www.linkedin.com/in/rob-hammond-33583756/",
20+
"contributions": [
21+
"code",
22+
"doc",
23+
"review",
24+
"tutorial",
25+
"maintenance",
26+
"ideas",
27+
"fundingFinding"
28+
]
29+
},
30+
{
31+
"login": "jordanperr",
32+
"name": "Jordan Perr-Sauer",
33+
"avatar_url": "https://avatars.githubusercontent.com/u/355615?v=4",
34+
"profile": "https://github.com/jordanperr",
35+
"contributions": [
36+
"doc",
37+
"code",
38+
"review",
39+
"tutorial",
40+
"maintenance",
41+
"ideas",
42+
"fundingFinding"
43+
]
44+
},
45+
{
46+
"login": "ejsimley",
47+
"name": "ejsimley",
48+
"avatar_url": "https://avatars.githubusercontent.com/u/40040961?v=4",
49+
"profile": "https://github.com/ejsimley",
50+
"contributions": [
51+
"projectManagement",
52+
"code",
53+
"data",
54+
"doc",
55+
"review",
56+
"tutorial",
57+
"ideas",
58+
"fundingFinding"
59+
]
60+
},
61+
{
62+
"login": "Dynorat",
63+
"name": "Jason Fields",
64+
"avatar_url": "https://avatars.githubusercontent.com/u/4141650?v=4",
65+
"profile": "https://github.com/Dynorat",
66+
"contributions": [
67+
"projectManagement",
68+
"review",
69+
"business",
70+
"design",
71+
"fundingFinding"
72+
]
73+
},
74+
{
75+
"login": "nbodini",
76+
"name": "Nicola Bodini",
77+
"avatar_url": "https://avatars.githubusercontent.com/u/55894604?v=4",
78+
"profile": "https://github.com/nbodini",
79+
"contributions": [
80+
"code",
81+
"review",
82+
"tutorial",
83+
"ideas"
84+
]
85+
},
86+
{
87+
"login": "moptis",
88+
"name": "moptis",
89+
"avatar_url": "https://avatars.githubusercontent.com/u/32751681?v=4",
90+
"profile": "https://github.com/moptis",
91+
"contributions": [
92+
"code",
93+
"data",
94+
"doc",
95+
"review",
96+
"tutorial",
97+
"ideas"
98+
]
99+
},
100+
{
101+
"login": "joejoeyjoseph",
102+
"name": "Joseph Lee",
103+
"avatar_url": "https://avatars.githubusercontent.com/u/22756182?v=4",
104+
"profile": "https://github.com/joejoeyjoseph",
105+
"contributions": [
106+
"code"
107+
]
108+
},
109+
{
110+
"login": "charlie9578",
111+
"name": "Charlie",
112+
"avatar_url": "https://avatars.githubusercontent.com/u/14888896?v=4",
113+
"profile": "https://charlie9578.github.io/",
114+
"contributions": [
115+
"code",
116+
"data",
117+
"doc",
118+
"tutorial",
119+
"ideas"
120+
]
121+
},
122+
{
123+
"login": "zheitkamp1",
124+
"name": "zheitkamp1",
125+
"avatar_url": "https://avatars.githubusercontent.com/u/53791791?v=4",
126+
"profile": "https://github.com/zheitkamp1",
127+
"contributions": [
128+
"code"
129+
]
130+
},
131+
{
132+
"login": "abbey2017",
133+
"name": "Abiodun Timothy Olaoye",
134+
"avatar_url": "https://avatars.githubusercontent.com/u/26353690?v=4",
135+
"profile": "https://github.com/abbey2017",
136+
"contributions": [
137+
"code"
138+
]
139+
},
140+
{
141+
"login": "kthyng",
142+
"name": "Kristen Thyng",
143+
"avatar_url": "https://avatars.githubusercontent.com/u/3487237?v=4",
144+
"profile": "http://kristenthyng.com/",
145+
"contributions": [
146+
"code"
147+
]
148+
},
149+
{
150+
"login": "rafmudaf",
151+
"name": "Rafael M Mudafort",
152+
"avatar_url": "https://avatars.githubusercontent.com/u/13797903?v=4",
153+
"profile": "http://www.rafmudaf.com/",
154+
"contributions": [
155+
"code"
156+
]
157+
},
158+
{
159+
"login": "sebastianpfaffel",
160+
"name": "sebastianpfaffel",
161+
"avatar_url": "https://avatars.githubusercontent.com/u/22168894?v=4",
162+
"profile": "https://github.com/sebastianpfaffel",
163+
"contributions": [
164+
"code"
165+
]
166+
},
167+
{
168+
"login": "nateagarwal",
169+
"name": "nateagarwal",
170+
"avatar_url": "https://avatars.githubusercontent.com/u/51377789?v=4",
171+
"profile": "https://github.com/nateagarwal",
172+
"contributions": [
173+
"code",
174+
"review"
175+
]
176+
},
177+
{
178+
"login": "Var-Char",
179+
"name": "Var-Char",
180+
"avatar_url": "https://avatars.githubusercontent.com/u/16821332?v=4",
181+
"profile": "https://github.com/Var-Char",
182+
"contributions": [
183+
"code"
184+
]
185+
}
186+
]
187+
}

.coveragerc

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/ci-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@ name: Run Unit and Regression Tests with Code Coverage
22

33
on:
44
push:
5-
branches: [ main, develop, develop_v3 ]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [ main, develop, develop_v3 ]
7+
branches: [main, develop]
8+
paths-ignore: # No need to rerun all the tests if we're only editing documentation and examples
9+
- "examples/**.ipynb"
10+
- "sphinx/**"
11+
- "**.md"
12+
- "**.rst"
813
schedule:
914
- cron: "0 0 * * MON"
1015

@@ -15,7 +20,7 @@ jobs:
1520
strategy:
1621
matrix:
1722
os: [ubuntu-latest, windows-latest]
18-
python-version: [3.9]
23+
python-version: [3.9, 3.11]
1924

2025
steps:
2126
- uses: actions/checkout@v3

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ junit-xml-report.xml
2727

2828
examples/operational_AEP_analysis/data/*.csv
2929
examples/turbine_analysis/data/*.csv
30-
examples/cleansed
30+
examples/data/cleansed
3131

3232
examples/data/kelmarsh/
3333
examples/data/penmanshiel/

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ repos:
1414
additional_dependencies: [toml]
1515
types: [pyi]
1616

17+
- repo: https://github.com/asottile/pyupgrade
18+
rev: v3.15.0
19+
hooks:
20+
- id: pyupgrade
21+
args: [--py38-plus]
1722

1823
- repo: https://github.com/psf/black
1924
rev: 23.3.0

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
11
# Changelog
22
All notable changes to this project will be documented in this file. If you make a notable change to the project, please add a line describing the change to the "unreleased" section. The maintainers will make an effort to keep the [Github Releases](https://github.com/NREL/OpenOA/releases) page up to date with this changelog. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
33

4+
## v3.1 - 2024-03-14
5+
6+
- Updated compatibility with Pandas datetime offsets. All uppercase offset strings representing
7+
one hour or less have been replaced with the lowercase version. This stems from an update in the
8+
Pandas frequency API that breaks in 2.2.0. See the below changes to update frequency settings. The
9+
soon-to-be-deprecated style from Pandas will continue to be supported in OpenOA, but will display
10+
a `DeprecationWarning` with support extending until OpenOA v4.
11+
- M -> ME (MS still allowed)
12+
- H -> h
13+
- T -> min
14+
- S -> s
15+
- L -> ms
16+
- U -> us
17+
- N -> ns
18+
- Replaced the "ME" default time basis with "MS" to maintain consistency with the examples.
19+
- Fixes a bug in the frequency validation where a monthly frequency offset is attempted to be
20+
converted into seconds. Prior to Pandas 2.0 this was supported, but "M" would return 1 minute,
21+
so OpenOA will no longer attempt to convert "ME" or "MS", which are unsupported or incorrect,
22+
respectively.
23+
- Python 3.11 is now supported.
24+
- Updates the dependency requirements to minimize the number of required packages, and have a more
25+
expansive list of modifiers. Users can now use any combination of
26+
`pip install openoa[examples, develop, docs, nrel-wind, reanalysis]` to ensure the appropriate
27+
packages are installed for their workflow.
28+
- Adds a `--unit` and `--regression` flag for running pytest that works in addition to
29+
`pytest test/unit` or `pytest test/regression`.
30+
- Converts some configuration files into `pyproject.toml` settings to reduce visual clutter
31+
at the top-level of the directory.
32+
- Updates chained `.loc` expressions to be a single `.loc` expression in project_ENGIE.py to silence
33+
a Pandas deprecation warning about future changes.
34+
- Adds a missing NaN assignment to `project_ENGIE.py:clean_scada`, which causes a slight change in
35+
results for the TIE and wake loss regression tests.
36+
- `openoa.utils.timeseries.gap_fill_data_frame()` now returns the original data if there is no data
37+
to fill in, avoiding a Pandas `concat` deprecation warning about pending behavioral changes.
38+
- The turbine capacity value used for power curve filtering in `TurbineLongTermGrossEnergy` is
39+
changed to the rated power from the asset table instead of the maximum power from SCADA. This
40+
makes the power curve filtering more robust to turbine power outliers above rated power.
41+
- Fixed a minor bug in the Cubico example workflow that caused the download of reanalysis data
42+
without checking for its existence, unlike what is done with the project data.
43+
- Updates the README file and documentation site homepage to be more user friendly.
44+
445
## [3.0.1 - 2023-12-22]
46+
547
- Includes warnings about limitations and lack of validation of static yaw misalignment method.
648

749
## v3.0 - 29 September 2023

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include LICENSE.txt
22

3-
include readme.md
3+
include README.md

0 commit comments

Comments
 (0)