src/pys5p/ckd_io1.py
def voltage_to_charge(self, bands='78'):
        """
        Returns Voltage to Charge CKD, SWIR only

        Notes
        -----
        The V2C CKD has no error attached to it.
        """
        if len(bands) > 2:
            raise ValueError('read per band or channel, only')
        if '7' not in bands and '8' not in bands:
            raise ValueError('Voltage to Charge only available for SWIR')

        ckd = S5Pmsm(self.fid['/BAND7/v2c_factor_swir'], datapoint=True)
        ckd.set_long_name('SWIR voltage to charge CKD')
        return ckd

        Returns Voltage to Charge CKD, SWIR only

        Notes
        -----
        The V2C CKD has no error attached to it.
        
Returns Voltage to Charge CKD, SWIR only
Notes

The V2C CKD has no error attached to it.
Returns Voltage to Charge CKD SWIR only Notes The V2C CKD has no error attached to it .
def voltage_to_charge(self, bands='78'):
        if len(bands) > 2:
            raise ValueError('read per band or channel, only')
        if '7' not in bands and '8' not in bands:
            raise ValueError('Voltage to Charge only available for SWIR')
        ckd = S5Pmsm(self.fid['/BAND7/v2c_factor_swir'], datapoint=True)
        ckd.set_long_name('SWIR voltage to charge CKD')
        return ckd
def voltage_to_charge ( self , bands = '78' ) : if len ( bands ) > 2 : raise ValueError ( 'read per band or channel, only' ) if '7' not in bands and '8' not in bands : raise ValueError ( 'Voltage to Charge only available for SWIR' ) ckd = S5Pmsm ( self . fid [ '/BAND7/v2c_factor_swir' ] , datapoint = True ) ckd . set_long_name ( 'SWIR voltage to charge CKD' ) return ckd
Returns Voltage to Charge CKD, SWIR only
Notes
Returns Voltage to Charge CKD SWIR only Notes
"""
        Returns Voltage to Charge CKD, SWIR only

        Notes
        -----
        The V2C CKD has no error attached to it.
        """
self
bands