src/pys5p/ckd_io1.py
def absrad(self, bands='78'):
        """
        Returns absolute radiance responsivity

        Notes
        -----
        SWIR row 257 is excluded.
        """
        if len(bands) > 2:
            raise ValueError('read per band or channel, only')

        data_sel = None
        if '7' in bands or '8' in bands:
            data_sel = np.s_[:-1, :]
            long_name = 'SWIR absolute radiance CKD'
        elif '5' in bands or '6' in bands:
            long_name = 'NIR absolute radiance CKD'
        elif '3' in bands or '4' in bands:
            long_name = 'VIS absolute radiance CKD'
        else:
            long_name = 'UV absolute radiance CKD'

        ckd = None
        for band in bands:
            dsname = f'/BAND{band}/abs_rad_conv_factor'
            if not ckd:
                ckd = S5Pmsm(self.fid[dsname],
                             datapoint=True, data_sel=data_sel)
                ckd.set_long_name(long_name)
            else:
                buff = S5Pmsm(self.fid[dsname],
                              datapoint=True, data_sel=data_sel)
                ckd.concatenate(buff, axis=1)

            ckd.set_fillvalue()

        return ckd

        Returns absolute radiance responsivity

        Notes
        -----
        SWIR row 257 is excluded.
        
Returns absolute radiance responsivity
Notes

SWIR row 257 is excluded.
Returns absolute radiance responsivity Notes SWIR row 257 is excluded .
def absrad(self, bands='78'):
        if len(bands) > 2:
            raise ValueError('read per band or channel, only')
        data_sel = None
        if '7' in bands or '8' in bands:
            data_sel = np.s_[:-1, :]
            long_name = 'SWIR absolute radiance CKD'
        elif '5' in bands or '6' in bands:
            long_name = 'NIR absolute radiance CKD'
        elif '3' in bands or '4' in bands:
            long_name = 'VIS absolute radiance CKD'
        else:
            long_name = 'UV absolute radiance CKD'
        ckd = None
        for band in bands:
            dsname = f'/BAND{band}/abs_rad_conv_factor'
            if not ckd:
                ckd = S5Pmsm(self.fid[dsname],
                             datapoint=True, data_sel=data_sel)
                ckd.set_long_name(long_name)
            else:
                buff = S5Pmsm(self.fid[dsname],
                              datapoint=True, data_sel=data_sel)
                ckd.concatenate(buff, axis=1)
            ckd.set_fillvalue()
        return ckd
def absrad ( self , bands = '78' ) : if len ( bands ) > 2 : raise ValueError ( 'read per band or channel, only' ) data_sel = None if '7' in bands or '8' in bands : data_sel = np . s_ [ : - 1 , : ] long_name = 'SWIR absolute radiance CKD' elif '5' in bands or '6' in bands : long_name = 'NIR absolute radiance CKD' elif '3' in bands or '4' in bands : long_name = 'VIS absolute radiance CKD' else : long_name = 'UV absolute radiance CKD' ckd = None for band in bands : dsname = f'/BAND{band}/abs_rad_conv_factor' if not ckd : ckd = S5Pmsm ( self . fid [ dsname ] , datapoint = True , data_sel = data_sel ) ckd . set_long_name ( long_name ) else : buff = S5Pmsm ( self . fid [ dsname ] , datapoint = True , data_sel = data_sel ) ckd . concatenate ( buff , axis = 1 ) ckd . set_fillvalue ( ) return ckd
Returns absolute radiance responsivity
Notes
Returns absolute radiance responsivity Notes
"""
        Returns absolute radiance responsivity

        Notes
        -----
        SWIR row 257 is excluded.
        """
self
bands