esmvaltool/diag_scripts/thermodyn_diagtool/provenance_meta.py
def meta_indentr(cfg, model, inlist, flist):
    """Write metadata to components of the indirect entropy prod maps.

    Arguments:
    - model: the name of the model;
    - inlist: the list of the input filenames;
    - flist: the list of the entropy filenames;

    @author: Valerio Lembo, University of Hamburg, 2019.
    """
    with ProvenanceLogger(cfg) as provlog:
        attr = ['horizontal entropy production', model]
        ancestor = [inlist[8], inlist[10], inlist[12]]
        record = get_prov_map(attr, ancestor)
        provlog.log(flist[0], record)
        attr = ['vertical entropy production', model]
        ancestor = [
            inlist[6], inlist[7], inlist[8], inlist[9], inlist[11], inlist[15]
            ]
        record = get_prov_map(attr, ancestor)
        provlog.log(flist[1], record)
Write metadata to components of the indirect entropy prod maps.

    Arguments:
    - model: the name of the model;
    - inlist: the list of the input filenames;
    - flist: the list of the entropy filenames;

    @author: Valerio Lembo, University of Hamburg, 2019.
    
Write metadata to components of the indirect entropy prod maps.
Arguments:
model: the name of the model;
inlist: the list of the input filenames;
flist: the list of the entropy filenames.
Write metadata to components of the indirect entropy prod maps . Arguments : model : the name of the model ; inlist : the list of the input filenames ; flist : the list of the entropy filenames .
def meta_indentr(cfg, model, inlist, flist):
    with ProvenanceLogger(cfg) as provlog:
        attr = ['horizontal entropy production', model]
        ancestor = [inlist[8], inlist[10], inlist[12]]
        record = get_prov_map(attr, ancestor)
        provlog.log(flist[0], record)
        attr = ['vertical entropy production', model]
        ancestor = [
            inlist[6], inlist[7], inlist[8], inlist[9], inlist[11], inlist[15]
            ]
        record = get_prov_map(attr, ancestor)
        provlog.log(flist[1], record)
def meta_indentr ( cfg , model , inlist , flist ) : with ProvenanceLogger ( cfg ) as provlog : attr = [ 'horizontal entropy production' , model ] ancestor = [ inlist [ 8 ] , inlist [ 10 ] , inlist [ 12 ] ] record = get_prov_map ( attr , ancestor ) provlog . log ( flist [ 0 ] , record ) attr = [ 'vertical entropy production' , model ] ancestor = [ inlist [ 6 ] , inlist [ 7 ] , inlist [ 8 ] , inlist [ 9 ] , inlist [ 11 ] , inlist [ 15 ] ] record = get_prov_map ( attr , ancestor ) provlog . log ( flist [ 1 ] , record )
Write metadata to components of the indirect entropy prod maps.
Write metadata to components of the indirect entropy prod maps .
"""Write metadata to components of the indirect entropy prod maps.

    Arguments:
    - model: the name of the model;
    - inlist: the list of the input filenames;
    - flist: the list of the entropy filenames;

    @author: Valerio Lembo, University of Hamburg, 2019.
    """
cfg
model
inlist
flist
author
Valerio Lembo, University of Hamburg, 2019.
Valerio Lembo University of Hamburg 2019 .