-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Updated method of modelchain.ModelChain.prepare_inputs in modelchain.py #893
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
Conversation
#523 Added weather data in get_solarpostion method of modelchain.ModelChain.prepare_inputs
#523 Added weather arguments in get_solarposition of method modelchain.ModelChain.prepare_inputs
#523 Added weather arguments in get_solarpostion method of modelchain.ModelChain.prepare_input
#523 Added weather data arguments in get_solarpostion method of modelchain.ModelChain.prepare_inputs as part of the Pull request.
Added weather inputs to get_solarpostion method in modelchain.ModelChain.prepare_inputs
Added weather data in get_solarpostion method in modelchain.ModelChain.prepare_inputs
Added weather data in get_solarpostion method in modelchain.ModelChain.prepare_inputs
Added weather data in get_solarpostion method in modelchain.ModelChain.prepare_inputs
Added weather data in get_solarpostion method in modelchain.ModelChain.prepare_inputs
This issue closes #523 |
@Ahanmr thanks for the contribution. Looking at the test failures, the code needs to handle the case where In this context, the code would be like:
@wholmgren note the unfortunate need to rename. |
This handles the case where pressure or temp_air is not in weather, using the pvlib.tools._build_kwargs logic for keyword arguments. #523
This PR handles, the case where pressure or temp_air is not in weather, using the pvlib.tools._build_kwargs method, as keyword arguments.
@cwhanse I've made the necessary changes. Thank you for letting me know about the pvlib.tools._build_kwargs which help me pass keyword arguments in case some are missing. But I still feel I missed something, I'll try fixing it meanwhile. |
This PR handles, the case where pressure or temp_air is not in weather, using the pvlib.tools._build_kwargs method, as keyword arguments. pvlib#893
#523
Added weather data arguments in get_solarpostion method of modelchain.ModelChain.prepare_inputs as part of the Pull request.