paint.preprocessing.calibration_stac
Functions
|
Generate the STAC collection. |
|
Generate a STAC item for an image. |
Module Contents
- paint.preprocessing.calibration_stac.make_calibration_collection(heliostat_id: str, data: pandas.DataFrame) dict[str, Any]
Generate the STAC collection.
Parameters
- heliostat_idstr
The heliostat ID of the heliostat being considered.
- datapd.DataFrame
The dataframe containing all image data.
Returns
- dict[str, Any]
The STAC collection as dictionary.
- paint.preprocessing.calibration_stac.make_calibration_item(image: int, heliostat_data: pandas.Series, processed_available: bool) dict[str, Any]
Generate a STAC item for an image.
Parameters
- imageint
The image ID.
- heliostat_datapd.Series
The data belonging to the heliostat.
- processed_availablebool
Whether processed images are available or not.
Returns
- dict[str, Any]
The STAC item data as dictionary.