LocationConfig#

class openstef_models.presets.forecasting_workflow.LocationConfig(*, name: str = 'test_location', description: str = '', coordinate: Coordinate = Coordinate(latitude=52.132633, longitude=5.291266), country_code: CountryAlpha2 = 'NL')[source]

Bases: BaseConfig

Configuration for location information in forecasting workflows.

Parameters:
  • name (str)

  • description (str)

  • coordinate (Coordinate)

  • country_code (CountryAlpha2)

name: str
description: str
coordinate: Coordinate
country_code: CountryAlpha2
property tags: dict[str, str]

Generate tags dictionary from location information.

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].