예제 #1
0
def addHistory(obs):
    """
    Add processing history
    """
    parents = obs.inputImages
    opt = {}
    opt['DESCRIPTION'] = """
        Longterm 5th (band 1), mean (band 2), median (band 3), 95th percentile (band 4) 
        std deviation (band 5) and observation count (band 6) summary product for %s bare ground created from the 
        seasonal fractional ground cover product (dix).
    """ % (obs.season)
    history.insertMetadataFilename(obs.outfile, parents, opt)
예제 #2
0
def addHistory(obs):
    """
    Add processing history
    """
    parents = obs.inputImages
    opt = {}
    opt['DESCRIPTION'] = """
        Longterm 5th and 95th percentile summary product for the %s fraction
        created from the %s product for all available 
        data on record from the start of summer (1st Dec) %s until the end of 
        the spring season (31 Nov) in %s .
    """ % (obs.fraction,obs.stage,obs.startYear,obs.endYear)
    history.insertMetadataFilename(obs.outfile, parents, opt)