Esempio n. 1
0
    fire_types = ['single', 'multiple']

    xvar = 'tree_cover'
    yvar = 'time_since_fire'
    zvar = 'decid_frac'

    # ylim = (0, 80)  # time since fire
    ylim = (1950, 2018)
    xlim = (0, 1)  # tree cover
    zlim = (0, 1)  # deciduous fraction

    zcount_lim = 100000

    x_ = np.array(list(range(0, 101))) / 100.0
    # y_ = np.array(Sublist.frange(0, 70, 1))
    y_ = np.array(Sublist.frange(1950, 2018, 1))
    lenx = x_.shape[0]
    leny = y_.shape[0]

    print(x_)
    print(y_)

    years = [1992, 2000, 2005, 2010, 2015]

    version = 11

    filelist = list(in_dir + 'year_{}_{}_{}_fire.csv'.format(
        str(year_edge[0])[2:],
        str(year_edge[1])[2:], fire_type) for year_edge in year_edges
                    for fire_type in fire_types)
    fire_types = ['single', 'multiple']

    xvar = 'tree_cover'
    yvar = 'time_since_fire'
    zvar = 'decid_frac'

    ylim = (0, 80)  # time since fire
    # ylim = (1950, 2018)
    xlim = (0, 1)  # tree cover
    zlim = (0, 1)  # deciduous fraction

    zcount_lim = 100000

    x_ = np.array(list(range(0, 101))) / 100.0
    # y_ = np.array(Sublist.frange(0, 70, 1))
    y_ = np.array(Sublist.frange(0, 80, 1))
    lenx = x_.shape[0]
    leny = y_.shape[0]

    print(x_)
    print(y_)

    years = [1992, 2000, 2005, 2010, 2015]

    version = 12

    filelist = list(in_dir + 'year_{}_{}_{}_fire.csv'.format(
        str(year_edge[0])[2:],
        str(year_edge[1])[2:], fire_type) for year_edge in year_edges
                    for fire_type in fire_types)