You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add complete_irradiance method to ModelChain and deprecate irradiance parameter (#239)
* try to use weather DataFrame for irradiance if irradiance DataFrame is None
* try to determine missing columns of the irradiance DataFrame
* remove prepare_irradiance call from run_model
* replace irradiance DF with weather DF without breaking the API
* add future warning
* add error if irradiation data is incomplete
* rename method
* replace non existing function with set set comparison
* fix assigned attributes in the docstring
* fix self.weather assignment
* fix layout
* change existing tests to new API
* add new tests
* add columns or update columns of existing weather data
* add attributes to class
* adapt docstrings
* make time an optional argument if self.times is already set
* complete temporary version (beta) of "complete_irradiance"
* remove duplicate import
* update docstring
* fix typo
* add deprecated parameter to docstring
* set default self.weather to None instead of empty DataFrame
* fix typos, layout changes
* avoid mutation of input data (irradiance)
* overwrite self.weather completly with its parameter instead of column-wise
* add more IDE config files to gitignore
* add whatsnew entry
* copy doctstring changes to run_model method
* make parameters optional if attributes are already set
* add example to docstring (not working and excluded from doctest)
* return self and describe it in the docstring
* add bug fix to whatsnew
* add empty DataFrame directly to avoid if clauses
* make error message clearer
* Fixed typo in __repr__ method of ModelChain and in its regarding test. (commit: b691358b)
13
+
14
+
15
+
API Changes
16
+
~~~~~~~~~~~
17
+
18
+
* The run_model method of the ModelChain will use the weather parameter of all weather data instead of splitting it to irradiation and weather. The irradiation parameter still works but will be removed soon.(:issue:`239`)
19
+
20
+
21
+
Enhancements
22
+
~~~~~~~~~~~~
23
+
24
+
* Adding a complete_irradiance method to the ModelChain to make it possible to calculate missing irradiation data from the existing columns [beta] (:issue:`239`)
0 commit comments