def cloud_cover_to_irradiance(self, cloud_cover, how='<STR_LIT>',<EOL>**kwargs):
how = how.lower()<EOL>if how == '<STR_LIT>':<EOL><INDENT>irrads = self.cloud_cover_to_irradiance_clearsky_scaling(<EOL>cloud_cover, **kwargs)<EOL><DEDENT>elif how == '<STR_LIT>':<EOL><INDENT>irrads = self.cloud_cover_to_irradiance_liujordan(<EOL>cloud_cover, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>return irrads<EOL>
Convert cloud cover to irradiance. A wrapper method.

Parameters
----------
cloud_cover : Series
how : str, default 'clearsky_scaling'
    Selects the method for conversion. Can be one of
    clearsky_scaling or liujordan.
**kwargs
    Passed to the selected method.

Returns
-------
irradiance : DataFrame
    Columns include ghi, dni, dhi