paint.preprocessing.properties_stac
Functions
|
Generate a heliostat properties STAC collection. |
|
Generate a STAC item for the heliostat properties. |
Module Contents
- paint.preprocessing.properties_stac.make_properties_collection(heliostat_id: str, data: pandas.DataFrame) dict[str, Any]
Generate a heliostat properties STAC collection.
Parameters
- heliostat_idstr
The heliostat ID of the heliostat for which the collection should be generated.
- datapd.DataFrame
The dataframe containing all properties metadata.
Returns
- dict[str, Any]
The STAC collection as dictionary.
- paint.preprocessing.properties_stac.make_properties_item(heliostat_key: str, heliostat_data: pandas.Series) tuple[tuple[float, float], dict[str, Any]]
Generate a STAC item for the heliostat properties.
Parameters
- heliostat_keystr
The ID of the heliostat which was measured.
- heliostat_datapd.Series.
The metadata for the heliostat.
Returns
- tuple[float, float]
The latitude and longitude coordinates of the heliostat.
- dict[str, Any]
The STAC item data as dictionary.