Skip to content

alarm "too many indices for array" when use pvfactors_timeseries #1125

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

Closed
yangangky opened this issue Jan 6, 2021 · 4 comments
Closed

alarm "too many indices for array" when use pvfactors_timeseries #1125

yangangky opened this issue Jan 6, 2021 · 4 comments

Comments

@yangangky
Copy link

Describe the bug

When I run the following code, it will alarm "too many indices for array" . I think there is only one index was input, why it alarm that? please help. [Thanks.]

Screenshots

image

Versions:

  • pvlib.__version__: 0.8.0
  • pandas.__version__: 0.24.2
  • python: V3.7.3
@cwhanse
Copy link
Member

cwhanse commented Jan 6, 2021

@yangangky Could you post this issue to https://groups.google.com/g/pvlib-python ? It would help if you can also post the code. The screenshot isn't enough to understand the error python is reporting.

@cwhanse cwhanse closed this as completed Jan 6, 2021
@yangangky
Copy link
Author

yangangky commented Jan 7, 2021

@cwhanse , Cliff, thanks a lot for your response. My google account can not be allowed to send a meesage. It alarmed "Error while posting message". I have joined the pvlib-python groups. If it need a permission before I can post a message?

My gmial address as a member is [email protected].

image
image

@yangangky
Copy link
Author

The issue has been solved by change the surface_azimuth and surface_tilt to a list. like surface_azimuth = [180 , 180]...

@cwhanse cwhanse reopened this Jan 7, 2021
@cwhanse
Copy link
Member

cwhanse commented Jan 7, 2021

@yangangky reports an opportunity to improve pvlib.bifacial.pvfactors. Opening a new issue to describe the improvement.

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

No branches or pull requests

2 participants