Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev scenario geospatial #97

Merged
merged 118 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
1cdf7ef
condition temp model start
tobin-ford Feb 28, 2024
b54bd5d
Cleaning up text
tobin-ford Feb 28, 2024
a798fd1
Create Scenario.ipynb
tobin-ford Feb 28, 2024
a1625fc
Bug: Attribute spillage between scenario instances
tobin-ford Feb 28, 2024
a8a2a40
created updatePipeline(), runPipeLine()
tobin-ford Feb 28, 2024
7f7415c
functional updatePipeline
tobin-ford Feb 28, 2024
0a6eb97
fixed runPipeline()
tobin-ford Feb 28, 2024
74750cc
Simple Standoff Calculation Notebook.
tobin-ford Feb 28, 2024
68e6b1d
Restore original methods, maintain new methods
tobin-ford Feb 28, 2024
8aa2840
Remove old pipeline functions, create results attribute
tobin-ford Feb 29, 2024
5ce53b4
results as series of df
tobin-ford Feb 29, 2024
347cf81
Simple Standoff Calculation Done
tobin-ford Feb 29, 2024
34020b0
scenario.clear()
tobin-ford Feb 29, 2024
ce0ab16
update todo list
tobin-ford Feb 29, 2024
93c7e59
Clean scenario file method
tobin-ford Mar 5, 2024
1430ba7
Update ToDo, Issues List
tobin-ford Mar 26, 2024
63d0bf0
Rename, simplify tutorial
tobin-ford Mar 26, 2024
f2b8436
meta_df_from_csv(), geospatial metadata from local csv files
tobin-ford Apr 1, 2024
4d2fcc9
weather_ds_from_csv for local csv files
tobin-ford Apr 2, 2024
461e2cf
geospatial_from_csv(), combine local csv files into geospatial DS and…
tobin-ford Apr 2, 2024
6293fdd
pretty print and docs
tobin-ford Apr 6, 2024
20284f5
rename vars to pvlib convention
tobin-ford Apr 6, 2024
7aba673
rename scenario object
tobin-ford Apr 6, 2024
05b19eb
Merge branch 'dev_scenario' into dev_scenario_geospatial
tobin-ford Apr 6, 2024
e133385
Geospatial: updatePipeline(), runPipeline()
tobin-ford Apr 9, 2024
a46f3be
Fix: weather.get() internal error
tobin-ford Apr 9, 2024
04116bc
Merge branch 'development' into dev_scenario_geospatial
tobin-ford Apr 16, 2024
764f7a1
Add scenario geospatial locations
tobin-ford Apr 16, 2024
3e01ad7
Convert standoff calc to numpy funcs
tobin-ford Apr 18, 2024
5b088f6
swap DS coords order to time, gid
tobin-ford Apr 18, 2024
f971f69
standoff calcs to numpy ufuncs
tobin-ford Apr 18, 2024
09daa5b
degredation calculations to numpy ufunc
tobin-ford Apr 18, 2024
b2d7531
Create Local Geospatial Notebook
tobin-ford Apr 18, 2024
fc2b7b0
Update utilities.py
tobin-ford Apr 23, 2024
4671b2e
Merge branch 'development' into dev_scenario_geospatial
tobin-ford Apr 23, 2024
2f85302
updated NSRDB file path on kestrel
tobin-ford Apr 23, 2024
78dcc00
scenario: meta, weather attributes. add_location single instance (lat…
tobin-ford Apr 23, 2024
e68a5d4
temp model for add_module
tobin-ford Apr 23, 2024
723c025
update viewScenario
tobin-ford Apr 24, 2024
035416c
results empty check
tobin-ford Apr 24, 2024
2821bb5
text
tobin-ford Apr 24, 2024
e3732f3
Geospatial Scenario: Downselection (country, state, county). utilitie…
Apr 24, 2024
ade9162
downselect county spelling bug fix
Apr 24, 2024
bced165
user help functions to view valid countries, states, counties availab…
Apr 24, 2024
fd3e7a7
updatePipeline() add geospatial job
Apr 24, 2024
3e9eed6
Created geospatial_scenario.ipynb
Apr 24, 2024
4a0ee69
runPipeline for single geospatial scenario
Apr 24, 2024
6e2f1d8
Api key and email, update notebook
Apr 25, 2024
d507324
addLocation to take single string or list of strings for country, sta…
Apr 25, 2024
606f871
start dask when running pipeline, Plot USA function
tobin-ford Apr 25, 2024
7373591
plot_usa geospatial, check, add docs, parameterize plot arguments
tobin-ford Apr 25, 2024
a03d18a
Single 2 letter state code, resove merge conflict
Apr 30, 2024
ac04fd0
mutiple states (str, list(str), str can be state abbr)
Apr 30, 2024
f2ee7cd
Merge development -> dev_scenario_geospatial
tobin-ford May 10, 2024
29c1ec7
resolve img file conflict
tobin-ford May 10, 2024
1a835d2
rename notebook: scenario - simple --> scenario - single location
May 10, 2024
be97a21
clean() method, removes filetree generated by scenario object
May 11, 2024
9400603
escape to parent dir after deleteting current scenario instance filetree
May 11, 2024
9258a75
addLocation(), save geospatial gids to csv
May 11, 2024
ab0e16e
Todo, cleanup, docs
May 11, 2024
e8e7ab0
Pipeline jobs save to csv
May 13, 2024
75a665b
Single Location Scenario obfuscated weather and metadata
May 14, 2024
cf66479
refactor getValid functions into a single func with dynamic field ret…
May 14, 2024
ce2ee5a
Fixed single location. refactored pipeline execution using partial funcs
May 14, 2024
612ded5
Single Location Scenario Instructions
May 14, 2024
9e305b3
refactor wind_speed_factor into helper function
May 14, 2024
cfdab90
Temperature models: map fuction. TempModel scenario class
May 14, 2024
2626aec
seperate module cases in runpipeline, start scenario specific temp fu…
tobin-ford May 15, 2024
f76a7aa
new temperature function for all pvlib temperaeture models, cell and …
tobin-ford May 16, 2024
0146cb0
PVlib teperature models: unified temperature function, tests
tobin-ford May 20, 2024
475a7a6
Added pvlib check to test_temperature()
tobin-ford May 20, 2024
f14b9c1
Refactor standards functions to use new temperature calculation
tobin-ford May 20, 2024
5659f59
Refactor degredation functions to use modified temperature models. ad…
tobin-ford May 20, 2024
f4e0919
Replaced legacy cell temp calcs in degredation and fatigue collections
tobin-ford May 20, 2024
52451b8
Save multi job multi module results to 2d dict. Fancy HTML display m…
tobin-ford May 22, 2024
b56af90
Overwrite previous module of same name. standoff temp model check
tobin-ford May 22, 2024
e61da44
multi job multi module pipeline argument fixes.
tobin-ford May 22, 2024
e96a7a0
rename updatePipeline->addJob, runPipeline->run. multiple of same fun…
tobin-ford May 22, 2024
43f8230
Merge branch 'development' into dev_scenario_geospatial
tobin-ford May 23, 2024
85c91eb
standoff configuration kwargs for conf_0 conf_inf
tobin-ford May 23, 2024
72ace8a
Extract, Plot methods. Along axis: module or function
tobin-ford May 23, 2024
04f5848
json dump method
tobin-ford May 25, 2024
b7d242e
Derived Geospatial Scenario Class
tobin-ford May 26, 2024
b5ec869
new ids
tobin-ford May 26, 2024
51c097c
Geospatial Scenario class fixes, notebook run
May 26, 2024
386372c
Remove legacy geospatial logic from parent
tobin-ford May 26, 2024
69dcb68
json dump, import json. display update.
tobin-ford May 28, 2024
6ef4aeb
Finding Geographical Features. Mountains.
May 28, 2024
e8751f1
Finding Mountains Notebook Fix.
May 29, 2024
b022b55
Geospatial: Finding Coastlines
May 29, 2024
9384e80
Geospatial downselection functions.
May 29, 2024
dd7b46c
Geospatial Downselection function (kempe requested)
May 30, 2024
2d3292f
Geospatial Bounding Boxes. Updated Changelog
May 30, 2024
bc5396f
Restore gids to result ds from meta_df method
May 30, 2024
4e8a035
Scenario Approach to finding features.
Jun 3, 2024
f285ec4
identify_mountains, feature_downselect bounding boxes
Jun 3, 2024
7d2e929
Stochastic Nonuniform Mountain Prefferential Downselection
Jun 4, 2024
d54aace
non-uniform exp, ln norm. mountain classification scenario methods
Jun 5, 2024
af1083c
Renamed Downselection->classification. Update display
Jun 5, 2024
531ac4c
Bug Fixes: Kepme Standoff Tool
Jun 8, 2024
83d4dae
PVGIS support, geospatial, bug fixes, testing, docs
Jun 12, 2024
03f3e6a
Scenario Testing
Jun 13, 2024
da82f9d
Bug Fixes. Notebooks
tobin-ford Jun 13, 2024
092e0d9
Update Sphinx Docs
tobin-ford Jun 13, 2024
73ad3cc
Type Hinting Bug Fix
tobin-ford Jun 13, 2024
be577c2
Scenario Testing
tobin-ford Jun 14, 2024
fa2dcdc
Code quality fixes
tobin-ford Jun 24, 2024
a65244b
Revert "Code quality fixes"
tobin-ford Jun 24, 2024
9dde367
Formatting, Remove Broken Test
tobin-ford Jun 25, 2024
87c5ba8
tests: degradation, temperature
tobin-ford Jul 2, 2024
2679c2f
TESTS: utilities, degradation
tobin-ford Jul 2, 2024
8b8bd00
Simple interpolation for nonuniform points
tobin-ford Jul 8, 2024
a135909
Sparse Geospatial Interpolation
tobin-ford Jul 9, 2024
f31af8c
Bug Fix: simpson func signature change
tobin-ford Jul 9, 2024
b864183
Merge branch 'dev_scenario_geospatial' of https://github.com/NREL/PVD…
tobin-ford Jul 11, 2024
a31cf28
Add plot_world method, remove kestrel check
tobin-ford Jul 29, 2024
f884166
Update pyproject.toml
tobin-ford Aug 1, 2024
5e5d514
Merge branch 'fix_testing_dependency_versioning' into dev_scenario_ge…
tobin-ford Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/source/_autosummary/pvdeg.degradation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pvdeg.degradation
pvdeg.degradation.arrhenius_deg
pvdeg.degradation.degradation
pvdeg.degradation.vantHoff_deg
pvdeg.degradation.vecArrhenius



Expand Down Expand Up @@ -73,6 +74,13 @@ pvdeg.degradation

.. minigallery:: pvdeg.degradation.vantHoff_deg
:add-heading:

.. autofunction:: vecArrhenius

.. _sphx_glr_backref_pvdeg.degradation.vecArrhenius:

.. minigallery:: pvdeg.degradation.vecArrhenius
:add-heading:



Expand Down
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.degradation.vecArrhenius.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.degradation.vecArrhenius
==============================

.. currentmodule:: pvdeg.degradation

.. autofunction:: vecArrhenius
8 changes: 0 additions & 8 deletions docs/source/_autosummary/pvdeg.humidity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pvdeg.humidity
pvdeg.humidity.front_encap
pvdeg.humidity.module
pvdeg.humidity.psat
pvdeg.humidity.run_module
pvdeg.humidity.surface_outside


Expand Down Expand Up @@ -100,13 +99,6 @@ pvdeg.humidity
.. minigallery:: pvdeg.humidity.psat
:add-heading:

.. autofunction:: run_module

.. _sphx_glr_backref_pvdeg.humidity.run_module:

.. minigallery:: pvdeg.humidity.run_module
:add-heading:

.. autofunction:: surface_outside

.. _sphx_glr_backref_pvdeg.humidity.surface_outside:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.montecarlo.generateCorrelatedSamples
==========================================

.. currentmodule:: pvdeg.montecarlo

.. autofunction:: generateCorrelatedSamples
74 changes: 74 additions & 0 deletions docs/source/_autosummary/pvdeg.montecarlo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. Please when editing this file make sure to keep it matching the
docs in ../configuration.rst:reference_to_examples

pvdeg.montecarlo
================

.. automodule:: pvdeg.montecarlo

.. this is crazy




Function Overview
-----------------

.. autosummary::
:toctree:
:nosignatures:


pvdeg.montecarlo.generateCorrelatedSamples
pvdeg.montecarlo.simulate




.. this is crazy




..
Functions
---------



.. autofunction:: generateCorrelatedSamples

.. _sphx_glr_backref_pvdeg.montecarlo.generateCorrelatedSamples:

.. minigallery:: pvdeg.montecarlo.generateCorrelatedSamples
:add-heading:

.. autofunction:: simulate

.. _sphx_glr_backref_pvdeg.montecarlo.simulate:

.. minigallery:: pvdeg.montecarlo.simulate
:add-heading:






Classes
-------


.. autoclass:: Corr
:members:

.. _sphx_glr_backref_pvdeg.montecarlo.Corr:

.. minigallery:: pvdeg.montecarlo.Corr
:add-heading:






6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.montecarlo.simulate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.montecarlo.simulate
=========================

.. currentmodule:: pvdeg.montecarlo

.. autofunction:: simulate
47 changes: 47 additions & 0 deletions docs/source/_autosummary/pvdeg.scenario.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.. Please when editing this file make sure to keep it matching the
docs in ../configuration.rst:reference_to_examples

pvdeg.scenario
==============

.. automodule:: pvdeg.scenario

.. this is crazy





.. this is crazy








Classes
-------


.. autoclass:: GeospatialScenario
:members:

.. _sphx_glr_backref_pvdeg.scenario.GeospatialScenario:

.. minigallery:: pvdeg.scenario.GeospatialScenario
:add-heading:
.. autoclass:: Scenario
:members:

.. _sphx_glr_backref_pvdeg.scenario.Scenario:

.. minigallery:: pvdeg.scenario.Scenario
:add-heading:






6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.standards.T98_estimate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.standards.T98\_estimate
=============================

.. currentmodule:: pvdeg.standards

.. autofunction:: T98_estimate
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.standards.eff\_gap\_parameters
====================================

.. currentmodule:: pvdeg.standards

.. autofunction:: eff_gap_parameters
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.standards.interpret\_standoff
===================================

.. currentmodule:: pvdeg.standards

.. autofunction:: interpret_standoff
40 changes: 32 additions & 8 deletions docs/source/_autosummary/pvdeg.standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ pvdeg.standards
:nosignatures:


pvdeg.standards.calc_standoff
pvdeg.standards.T98_estimate
pvdeg.standards.eff_gap
pvdeg.standards.run_calc_standoff
pvdeg.standards.eff_gap_parameters
pvdeg.standards.interpret_standoff
pvdeg.standards.standoff
pvdeg.standards.standoff_x



Expand All @@ -37,11 +40,11 @@ pvdeg.standards



.. autofunction:: calc_standoff
.. autofunction:: T98_estimate

.. _sphx_glr_backref_pvdeg.standards.calc_standoff:
.. _sphx_glr_backref_pvdeg.standards.T98_estimate:

.. minigallery:: pvdeg.standards.calc_standoff
.. minigallery:: pvdeg.standards.T98_estimate
:add-heading:

.. autofunction:: eff_gap
Expand All @@ -51,11 +54,32 @@ pvdeg.standards
.. minigallery:: pvdeg.standards.eff_gap
:add-heading:

.. autofunction:: run_calc_standoff
.. autofunction:: eff_gap_parameters

.. _sphx_glr_backref_pvdeg.standards.run_calc_standoff:
.. _sphx_glr_backref_pvdeg.standards.eff_gap_parameters:

.. minigallery:: pvdeg.standards.run_calc_standoff
.. minigallery:: pvdeg.standards.eff_gap_parameters
:add-heading:

.. autofunction:: interpret_standoff

.. _sphx_glr_backref_pvdeg.standards.interpret_standoff:

.. minigallery:: pvdeg.standards.interpret_standoff
:add-heading:

.. autofunction:: standoff

.. _sphx_glr_backref_pvdeg.standards.standoff:

.. minigallery:: pvdeg.standards.standoff
:add-heading:

.. autofunction:: standoff_x

.. _sphx_glr_backref_pvdeg.standards.standoff_x:

.. minigallery:: pvdeg.standards.standoff_x
:add-heading:


Expand Down
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.standards.standoff.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.standards.standoff
========================

.. currentmodule:: pvdeg.standards

.. autofunction:: standoff
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.standards.standoff_x.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.standards.standoff\_x
===========================

.. currentmodule:: pvdeg.standards

.. autofunction:: standoff_x
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.temperature.map_model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.temperature.map\_model
============================

.. currentmodule:: pvdeg.temperature

.. autofunction:: map_model
16 changes: 16 additions & 0 deletions docs/source/_autosummary/pvdeg.temperature.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ pvdeg.temperature


pvdeg.temperature.cell
pvdeg.temperature.map_model
pvdeg.temperature.module
pvdeg.temperature.temperature



Expand All @@ -43,12 +45,26 @@ pvdeg.temperature
.. minigallery:: pvdeg.temperature.cell
:add-heading:

.. autofunction:: map_model

.. _sphx_glr_backref_pvdeg.temperature.map_model:

.. minigallery:: pvdeg.temperature.map_model
:add-heading:

.. autofunction:: module

.. _sphx_glr_backref_pvdeg.temperature.module:

.. minigallery:: pvdeg.temperature.module
:add-heading:

.. autofunction:: temperature

.. _sphx_glr_backref_pvdeg.temperature.temperature:

.. minigallery:: pvdeg.temperature.temperature
:add-heading:



Expand Down
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.temperature.temperature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.temperature.temperature
=============================

.. currentmodule:: pvdeg.temperature

.. autofunction:: temperature
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.utilities.fix_metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.fix\_metadata
=============================

.. currentmodule:: pvdeg.utilities

.. autofunction:: fix_metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.geospatial\_from\_csv
=====================================

.. currentmodule:: pvdeg.utilities

.. autofunction:: geospatial_from_csv
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.utilities.meta_as_dict.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.meta\_as\_dict
==============================

.. currentmodule:: pvdeg.utilities

.. autofunction:: meta_as_dict
6 changes: 6 additions & 0 deletions docs/source/_autosummary/pvdeg.utilities.new_id.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.new\_id
=======================

.. currentmodule:: pvdeg.utilities

.. autofunction:: new_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.nrel\_kestrel\_check
====================================

.. currentmodule:: pvdeg.utilities

.. autofunction:: nrel_kestrel_check
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pvdeg.utilities.remove\_scenario\_filetrees
===========================================

.. currentmodule:: pvdeg.utilities

.. autofunction:: remove_scenario_filetrees
Loading