Skip to content

Commit 14476c1

Browse files
Merge pull request #120 from NREL/development
Major upgrades
2 parents e6c316a + cd52739 commit 14476c1

File tree

138 files changed

+91245
-679
lines changed

Some content is hidden

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

138 files changed

+91245
-679
lines changed

.github/pull_request_template.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Please delete options that are not relevant.
2020
- [ ] I have performed a self-review of my code
2121
- [ ] Code changes are covered by tests.
2222
- [ ] Code changes have been evaluated for compatibility/integration with Scenario analysis (for future PRs)
23+
- [ ] Code changes have been evaluated for compatibility/integration with geospatial autotemplating (for future PRs)
2324
- [ ] New functions added to __init__.py
2425
- [ ] API.rst is up to date, along with other sphinx docs pages
2526
- [ ] Example notebooks are rerun and differences in results scrutinized

.github/workflows/pytest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1818
env: [
1919
'--upgrade --upgrade-strategy=eager .[test]'
2020
]

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,6 @@ TEMP/
105105

106106
# Slurm log files
107107
slurm-*.out
108+
109+
# Run information
110+
tests\data\h5_pytest.h5

contributors/tobin-ford.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2024-08-01
2+
3+
I hereby agree to the terms of the Contributors License Agreement,
4+
version 1.0, with MD5 checksum 46ea45f996295bdb0652333d516a6d0a.
5+
6+
I furthermore declare that I am authorized and able to make this
7+
agreement and sign this declaration.
8+
9+
Signed,
10+
11+
Tobin Ford https://github.com/tobin-ford
12+

docs/source/_autosummary/pvdeg.degradation.rst

+8
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pvdeg.degradation
2424
pvdeg.degradation.arrhenius_deg
2525
pvdeg.degradation.degradation
2626
pvdeg.degradation.vantHoff_deg
27+
pvdeg.degradation.vecArrhenius
2728

2829

2930

@@ -73,6 +74,13 @@ pvdeg.degradation
7374

7475
.. minigallery:: pvdeg.degradation.vantHoff_deg
7576
:add-heading:
77+
78+
.. autofunction:: vecArrhenius
79+
80+
.. _sphx_glr_backref_pvdeg.degradation.vecArrhenius:
81+
82+
.. minigallery:: pvdeg.degradation.vecArrhenius
83+
:add-heading:
7684

7785

7886

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.degradation.vecArrhenius
2+
==============================
3+
4+
.. currentmodule:: pvdeg.degradation
5+
6+
.. autofunction:: vecArrhenius
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.analysis
2+
=========================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: analysis
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.apply\_bounding\_box
2+
=====================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: apply_bounding_box
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.auto\_template
2+
===============================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: auto_template
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.calc\_block
2+
============================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: calc_block
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.calc\_gid
2+
==========================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: calc_gid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.elevation\_stochastic\_downselect
2+
==================================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: elevation_stochastic_downselect
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.feature\_downselect
2+
====================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: feature_downselect
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.identify\_mountains\_radii
2+
===========================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: identify_mountains_radii
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.identify\_mountains\_weights
2+
=============================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: identify_mountains_weights
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.interpolate\_analysis
2+
======================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: interpolate_analysis
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.meta\_KDtree
2+
=============================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: meta_KDtree
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.output\_template
2+
=================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: output_template
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.plot\_Europe
2+
=============================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: plot_Europe
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.plot\_USA
2+
==========================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: plot_USA
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.plot\_sparse\_analysis
2+
=======================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: plot_sparse_analysis
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
.. Please when editing this file make sure to keep it matching the
2+
docs in ../configuration.rst:reference_to_examples
3+
4+
pvdeg.geospatial
5+
================
6+
7+
.. automodule:: pvdeg.geospatial
8+
9+
.. this is crazy
10+
11+
12+
13+
14+
Function Overview
15+
-----------------
16+
17+
.. autosummary::
18+
:toctree:
19+
:nosignatures:
20+
21+
22+
pvdeg.geospatial.analysis
23+
pvdeg.geospatial.apply_bounding_box
24+
pvdeg.geospatial.auto_template
25+
pvdeg.geospatial.calc_block
26+
pvdeg.geospatial.calc_gid
27+
pvdeg.geospatial.elevation_stochastic_downselect
28+
pvdeg.geospatial.feature_downselect
29+
pvdeg.geospatial.identify_mountains_radii
30+
pvdeg.geospatial.identify_mountains_weights
31+
pvdeg.geospatial.interpolate_analysis
32+
pvdeg.geospatial.meta_KDtree
33+
pvdeg.geospatial.output_template
34+
pvdeg.geospatial.plot_Europe
35+
pvdeg.geospatial.plot_USA
36+
pvdeg.geospatial.plot_sparse_analysis
37+
pvdeg.geospatial.start_dask
38+
pvdeg.geospatial.template_parameters
39+
pvdeg.geospatial.zero_template
40+
41+
42+
43+
44+
.. this is crazy
45+
46+
47+
48+
49+
..
50+
Functions
51+
---------
52+
53+
54+
55+
.. autofunction:: analysis
56+
57+
.. _sphx_glr_backref_pvdeg.geospatial.analysis:
58+
59+
.. minigallery:: pvdeg.geospatial.analysis
60+
:add-heading:
61+
62+
.. autofunction:: apply_bounding_box
63+
64+
.. _sphx_glr_backref_pvdeg.geospatial.apply_bounding_box:
65+
66+
.. minigallery:: pvdeg.geospatial.apply_bounding_box
67+
:add-heading:
68+
69+
.. autofunction:: auto_template
70+
71+
.. _sphx_glr_backref_pvdeg.geospatial.auto_template:
72+
73+
.. minigallery:: pvdeg.geospatial.auto_template
74+
:add-heading:
75+
76+
.. autofunction:: calc_block
77+
78+
.. _sphx_glr_backref_pvdeg.geospatial.calc_block:
79+
80+
.. minigallery:: pvdeg.geospatial.calc_block
81+
:add-heading:
82+
83+
.. autofunction:: calc_gid
84+
85+
.. _sphx_glr_backref_pvdeg.geospatial.calc_gid:
86+
87+
.. minigallery:: pvdeg.geospatial.calc_gid
88+
:add-heading:
89+
90+
.. autofunction:: elevation_stochastic_downselect
91+
92+
.. _sphx_glr_backref_pvdeg.geospatial.elevation_stochastic_downselect:
93+
94+
.. minigallery:: pvdeg.geospatial.elevation_stochastic_downselect
95+
:add-heading:
96+
97+
.. autofunction:: feature_downselect
98+
99+
.. _sphx_glr_backref_pvdeg.geospatial.feature_downselect:
100+
101+
.. minigallery:: pvdeg.geospatial.feature_downselect
102+
:add-heading:
103+
104+
.. autofunction:: identify_mountains_radii
105+
106+
.. _sphx_glr_backref_pvdeg.geospatial.identify_mountains_radii:
107+
108+
.. minigallery:: pvdeg.geospatial.identify_mountains_radii
109+
:add-heading:
110+
111+
.. autofunction:: identify_mountains_weights
112+
113+
.. _sphx_glr_backref_pvdeg.geospatial.identify_mountains_weights:
114+
115+
.. minigallery:: pvdeg.geospatial.identify_mountains_weights
116+
:add-heading:
117+
118+
.. autofunction:: interpolate_analysis
119+
120+
.. _sphx_glr_backref_pvdeg.geospatial.interpolate_analysis:
121+
122+
.. minigallery:: pvdeg.geospatial.interpolate_analysis
123+
:add-heading:
124+
125+
.. autofunction:: meta_KDtree
126+
127+
.. _sphx_glr_backref_pvdeg.geospatial.meta_KDtree:
128+
129+
.. minigallery:: pvdeg.geospatial.meta_KDtree
130+
:add-heading:
131+
132+
.. autofunction:: output_template
133+
134+
.. _sphx_glr_backref_pvdeg.geospatial.output_template:
135+
136+
.. minigallery:: pvdeg.geospatial.output_template
137+
:add-heading:
138+
139+
.. autofunction:: plot_Europe
140+
141+
.. _sphx_glr_backref_pvdeg.geospatial.plot_Europe:
142+
143+
.. minigallery:: pvdeg.geospatial.plot_Europe
144+
:add-heading:
145+
146+
.. autofunction:: plot_USA
147+
148+
.. _sphx_glr_backref_pvdeg.geospatial.plot_USA:
149+
150+
.. minigallery:: pvdeg.geospatial.plot_USA
151+
:add-heading:
152+
153+
.. autofunction:: plot_sparse_analysis
154+
155+
.. _sphx_glr_backref_pvdeg.geospatial.plot_sparse_analysis:
156+
157+
.. minigallery:: pvdeg.geospatial.plot_sparse_analysis
158+
:add-heading:
159+
160+
.. autofunction:: start_dask
161+
162+
.. _sphx_glr_backref_pvdeg.geospatial.start_dask:
163+
164+
.. minigallery:: pvdeg.geospatial.start_dask
165+
:add-heading:
166+
167+
.. autofunction:: template_parameters
168+
169+
.. _sphx_glr_backref_pvdeg.geospatial.template_parameters:
170+
171+
.. minigallery:: pvdeg.geospatial.template_parameters
172+
:add-heading:
173+
174+
.. autofunction:: zero_template
175+
176+
.. _sphx_glr_backref_pvdeg.geospatial.zero_template:
177+
178+
.. minigallery:: pvdeg.geospatial.zero_template
179+
:add-heading:
180+
181+
182+
183+
184+
185+
186+
187+
188+
189+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.start\_dask
2+
============================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: start_dask
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pvdeg.geospatial.template\_parameters
2+
=====================================
3+
4+
.. currentmodule:: pvdeg.geospatial
5+
6+
.. autofunction:: template_parameters

0 commit comments

Comments
 (0)