-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
WHAT :
Some high level methods do not allow specifying argument that low level methods allows.
For example, country argument is absent whereas it could be specifyed and therefore settable :
openstef-dbc/openstef_dbc/services/model_input.py
Lines 77 to 82 in 00f7318
| predictors = Predictor().get_predictors( | |
| datetime_start=datetime_start, | |
| datetime_end=datetime_end, | |
| forecast_resolution=forecast_resolution, | |
| location=location, | |
| ) |
An other example with source :
openstef-dbc/openstef_dbc/services/predictor.py
Lines 73 to 79 in 00f7318
| weather_data_predictors = self.get_weather_data( | |
| datetime_start, | |
| datetime_end, | |
| location=location, | |
| country=country, | |
| forecast_resolution=forecast_resolution, | |
| ) |
Therefore, source is forced to "optimum" when using ModelInput class
HOW :
Add low level methods arguments in high level methods arguments
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request