def METHOD_NAME(var):
    """Compute total carbon but only where flux is positive"""
    var = deepcopy(var)
    var.data = -var.data.clip(var.data.min(), 0)
    var = var.integrateInTime()
    var.convert("Pg")
    var.name = "Growing Season Net Flux"
    return var