def calc_growing_media(total_sales):
    """Calculate Growing Media costs Function

    Args:
       total_sales (list): The total sales as a annual time series

    Returns:
        cogs_cogs_media (list): Cost of Goods Sold expenditure on Growing Media as a time series for each year

    To Do:
        Currently taken as an estimate as 2.5% of sales and should be improved to be dependant on growing media selected
        Similar to packaging, should take into consideration economic order quantity
    """

    percent_of_growing_media_to_sales = 0.025
    cogs_media = [i * percent_of_growing_media_to_sales for i in total_sales]

    #scenario.growing_media * price_of_media * no_of_plants
    return cogs_media