Skip to content

Panond to ckrening main #1

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
merged 5 commits into from
May 25, 2023
Merged

Panond to ckrening main #1

merged 5 commits into from
May 25, 2023

Conversation

ckrening
Copy link
Owner

  • Closes #xxxx
  • I am familiar with the contributing guidelines
  • Tests added
  • Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

bgpierc and others added 5 commits May 25, 2023 11:20
* added horizon model first draft

* added get horizon function

* fixing stickler items & updates

* stickler whitespace

* finishing up stickler

* finishing up stickler, 2

* added optional deps, changed argument of horizon_map from path to array

* stickler

* Update pvlib/iotools/pvgis.py

Co-authored-by: Karel De Brabandere <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/horizon.py

Co-authored-by: Cliff Hansen <[email protected]>

* updates

* cleaning up stickler

* cleaning up stickler 2

* cleaning up stickler 3

* updated math for angle calculation

* removed old comment

* updated angle maximization method

* one of these days I'll remember stickler before pushing

* changed variable names to make clear that we're working in pixels

* added module to download SRTM DEM data

* spelling/spacing

* stickler

* stickler3

* fixed f string formatting

stickler doesn't like it but it doesn't work with spaces

* added horizon retrival, functions, dem retrival

* stickler

* stickler2

* stickler3

* Revert "merge2"

This reverts commit 6f9ad5e, reversing
changes made to 43951a2.

* fix formatting

* fix formatting, 2

* removing horizon.py

* tests added

* updated test

* fixed stickler

* minor formatting/stickler

* Update v0.9.6.rst

* Update iotools.rst

* Apply suggestions from code review

Co-authored-by: Kevin Anderson <[email protected]>

* Change assert to use np builtin

* correct docstring for hidden function

* Chnage proxy settings to passing through kwargs

* Changed proxy settings to pass kwargs

* Change assertion to use assert_series_equal from conftest

* Added horizon profile contributions

* Update v0.9.6.rst

* Delete cgiar.py

* Delete test_cgiar.py

* Update shading.py

* Update setup.py

* Update __init__.py

* Update iotools.rst

* Update test_pvgis.py

* return only two columns and makde bytes->utf-8 implicit

* Use JSON to streamline processing

* Update pvgis.py

* added url default info

* remove np dependency

* Apply suggestions from code review

Co-authored-by: Adam R. Jensen <[email protected]>

* Moved ref for consistency

* Updated name of horizon data variable

* Add CSV for horizon tests

* Test whole dataframe

* Change coordinate system to pvlib

* fix test to read in csv properly

* Apply suggestions from code review

Co-authored-by: Adam R. Jensen <[email protected]>

* Changed names for consistency

* Match column names in test dataframe

* stickler

* Set horizon_azimuth to the index

* Added invalid coords test

* update test to reflect change to index

* forgot xfail flag

* Update test_read_pvgis_horzion_invalid_coords

* return metadata object

* Update pvgis.py

* fix tests for metadata update

* Remove index column from test file

* Convert output to pd.Series

* Update tests to assert pd.Series

* Remove duplicate north value (0, 360)

---------

Co-authored-by: Ben <[email protected]>
Co-authored-by: Karel De Brabandere <[email protected]>
Co-authored-by: Cliff Hansen <[email protected]>
Co-authored-by: Pierce <[email protected]>
Co-authored-by: Kevin Anderson <[email protected]>
Co-authored-by: Adam R. Jensen <[email protected]>
* Change surface_azimuth convention

* Update v0.9.6.rst

* Update v0.9.6.rst

* Update v0.9.6.rst

* Update docs/sphinx/source/whatsnew/v0.9.6.rst

Co-authored-by: Kevin Anderson <[email protected]>

* Remote info section header

* Add version changed

* Update version changed

* Update pvlib/iotools/pvgis.py

Co-authored-by: Kevin Anderson <[email protected]>

* Add azimuth warning section

* Add Warning to read_pvgis_hourly

* Remove surface_azimuth hint

* Update read_pvgis_hourly warning

---------

Co-authored-by: Kevin Anderson <[email protected]>
@ckrening ckrening merged commit dc45fad into main May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants