-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Making the irradiation and weather DataFrame of the ModelChain more flexible #239
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
Merged
+233
−38
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
9f97e50
try to use weather DataFrame for irradiance if irradiance DataFrame i…
uvchik d99ee18
try to determine missing columns of the irradiance DataFrame
uvchik 0c83199
remove prepare_irradiance call from run_model
uvchik 9ffa138
replace irradiance DF with weather DF without breaking the API
uvchik 2aae90c
add future warning
uvchik 326dc11
add error if irradiation data is incomplete
uvchik f1e17ee
rename method
uvchik 933e57b
replace non existing function with set set comparison
uvchik 00e0e72
fix assigned attributes in the docstring
uvchik 0abdde4
fix self.weather assignment
uvchik ec5ed5f
fix layout
uvchik ecf6c6d
Merge branch 'master' of https://github.com/pvlib/pvlib-python
uvchik 9e54af7
Merge branch 'master' of https://github.com/pvlib/pvlib-python
uvchik 4d8feaf
change existing tests to new API
uvchik c572a07
add new tests
uvchik 9dac5cf
add columns or update columns of existing weather data
uvchik 7fda218
add attributes to class
uvchik 7e0b626
adapt docstrings
uvchik 300678c
make time an optional argument if self.times is already set
uvchik c74f977
complete temporary version (beta) of "complete_irradiance"
uvchik ef5520e
remove duplicate import
uvchik dfe04b1
update docstring
uvchik b691358
fix typo
5f8ce92
add deprecated parameter to docstring
1bff19f
set default self.weather to None instead of empty DataFrame
721743d
fix typos, layout changes
6a1a61d
avoid mutation of input data (irradiance)
f702c73
overwrite self.weather completly with its parameter instead of column…
82a4366
add more IDE config files to gitignore
34166c8
add whatsnew entry
9ff9fe4
copy doctstring changes to run_model method
76d89c3
make parameters optional if attributes are already set
a63a48f
add example to docstring (not working and excluded from doctest)
uvchik 6097d75
return self and describe it in the docstring
uvchik da8076d
add bug fix to whatsnew
uvchik d4ff364
add empty DataFrame directly to avoid if clauses
uvchik bfb2350
make error message clearer
uvchik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add empty DataFrame directly to avoid if clauses
- Loading branch information
commit d4ff3647c4fa4d3fd3f2b5b7512741fe18f5d1b3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be best for pvlib to only use a simple assignment. Users can do this in their own code before passing the parameter or making the assignment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f702c73