src/pys5p/l1b_io.py
def select(self, msm_type=None):
        """
        Select a calibration measurement as <processing class>_<ic_id>

        Parameters
        ----------
        msm_type :  string
          Name of calibration measurement group as <processing class>_<ic_id>

        Returns
        -------
        out  :   string
           String with spectral bands found in product

        Updated object attributes:
         - bands               : available spectral bands
        """
        if msm_type is None:
            if self.msm_type is None:
                raise ValueError('parameter msm_type is not defined')
            msm_type = self.msm_type

        self.bands = ''
        for name in self.band_groups:
            for ii in '12345678':
                grp_path = PurePosixPath(name.replace('%', ii), msm_type)
                if str(grp_path) in self.fid:
                    if self.__verbose:
                        print('*** INFO: found: ', grp_path)
                    self.bands += ii

            if self.bands:
                self.__msm_path = str(
                    PurePosixPath(name, msm_type))
                break

        return self.bands

        Select a calibration measurement as <processing class>_<ic_id>

        Parameters
        ----------
        msm_type :  string
          Name of calibration measurement group as <processing class>_<ic_id>

        Returns
        -------
        out  :   string
           String with spectral bands found in product

        Updated object attributes:
         - bands               : available spectral bands
        
Select a calibration measurement as _
Parameters

msm_type :  string
Name of calibration measurement group as _

Returns

out  :   string
String with spectral bands found in product

Updated object attributes:
bands               : available spectral bands
Select a calibration measurement as _ Parameters msm_type : string Name of calibration measurement group as _ Returns out : string String with spectral bands found in product Updated object attributes : bands : available spectral bands
def select(self, msm_type=None):
        if msm_type is None:
            if self.msm_type is None:
                raise ValueError('parameter msm_type is not defined')
            msm_type = self.msm_type
        self.bands = ''
        for name in self.band_groups:
            for ii in '12345678':
                grp_path = PurePosixPath(name.replace('%', ii), msm_type)
                if str(grp_path) in self.fid:
                    if self.__verbose:
                        print('*** INFO: found: ', grp_path)
                    self.bands += ii
            if self.bands:
                self.__msm_path = str(
                    PurePosixPath(name, msm_type))
                break
        return self.bands
def select ( self , msm_type = None ) : if msm_type is None : if self . msm_type is None : raise ValueError ( 'parameter msm_type is not defined' ) msm_type = self . msm_type self . bands = '' for name in self . band_groups : for ii in '12345678' : grp_path = PurePosixPath ( name . replace ( '%' , ii ) , msm_type ) if str ( grp_path ) in self . fid : if self . __verbose : print ( '*** INFO: found: ' , grp_path ) self . bands += ii if self . bands : self . __msm_path = str ( PurePosixPath ( name , msm_type ) ) break return self . bands
Select a calibration measurement as <processing class>_<ic_id>
Parameters
Select a calibration measurement as <processing class > _<ic_id > Parameters
"""
        Select a calibration measurement as <processing class>_<ic_id>

        Parameters
        ----------
        msm_type :  string
          Name of calibration measurement group as <processing class>_<ic_id>

        Returns
        -------
        out  :   string
           String with spectral bands found in product

        Updated object attributes:
         - bands               : available spectral bands
        """
self
msm_type