src/pys5p/ckd_io.py
def creation_time(self) -> str:
        """
        Returns datetime when the L1b product was created
        """
        if self.ckd_version == 2:
            attr = self.fid['METADATA'].attrs['production_datetime']
        else:
            group = PosixPath('METADATA', 'earth_explorer_header',
                              'fixed_header', 'source')
            attr = self.fid[str(group)].attrs['Creator_Date'][0]

        if isinstance(attr, bytes):
            attr = attr.decode('ascii')
        return attr

        Returns datetime when the L1b product was created
        
Returns datetime when the L1b product was created
Returns datetime when the L1b product was created
def creation_time(self) -> str:
        if self.ckd_version == 2:
            attr = self.fid['METADATA'].attrs['production_datetime']
        else:
            group = PosixPath('METADATA', 'earth_explorer_header',
                              'fixed_header', 'source')
            attr = self.fid[str(group)].attrs['Creator_Date'][0]
        if isinstance(attr, bytes):
            attr = attr.decode('ascii')
        return attr
def creation_time ( self ) -> str : if self . ckd_version == 2 : attr = self . fid [ 'METADATA' ] . attrs [ 'production_datetime' ] else : group = PosixPath ( 'METADATA' , 'earth_explorer_header' , 'fixed_header' , 'source' ) attr = self . fid [ str ( group ) ] . attrs [ 'Creator_Date' ] [ 0 ] if isinstance ( attr , bytes ) : attr = attr . decode ( 'ascii' ) return attr
Returns datetime when the L1b product was created
Returns datetime when the L1b product was created
"""
        Returns datetime when the L1b product was created
        """
self