pysilcam/postprocess.py
def show_h5_meta(h5file):
    '''
    prints metadata from an exported hdf5 file created from silcam process

    Args:
        h5file              : h5 filename from exported data from silcam process
    '''

    with h5py.File(h5file, 'r') as f:
        keys = list(f['Meta'].attrs.keys())

        for k in keys:
            logger.info(k + ':')
            logger.info('    ' + f['Meta'].attrs[k])

    prints metadata from an exported hdf5 file created from silcam process

    Args:
        h5file              : h5 filename from exported data from silcam process
    
prints metadata from an exported hdf5 file created from silcam process
prints metadata from an exported hdf5 file created from silcam process
def show_h5_meta(h5file):
    with h5py.File(h5file, 'r') as f:
        keys = list(f['Meta'].attrs.keys())
        for k in keys:
            logger.info(k + ':')
            logger.info('    ' + f['Meta'].attrs[k])
def show_h5_meta ( h5file ) : with h5py . File ( h5file , 'r' ) as f : keys = list ( f [ 'Meta' ] . attrs . keys ( ) ) for k in keys : logger . info ( k + ':' ) logger . info ( '    ' + f [ 'Meta' ] . attrs [ k ] )
prints metadata from an exported hdf5 file created from silcam process
prints metadata from an exported hdf5 file created from silcam process
'''
    prints metadata from an exported hdf5 file created from silcam process

    Args:
        h5file              : h5 filename from exported data from silcam process
    '''
h5file
h5file              
h5 filename from exported data from silcam process
h5 filename from exported data from silcam process