reVReports.characterizations.validate_characterization_remapper#
- validate_characterization_remapper(characterization_remapper, supply_curve_df)[source]#
Ensure the validity of the input characterization map
Intended for use as a helper function to unpack_characterizations().
- Parameters:
- Raises:
KeyError – A KeyError will be raised if any of the input column names in characterization_remapper are not present in supply_curve_df.
ValueError – A ValueError will be raised if any invalid combinations of parameters are encountered in characterization_remapper.