From 6ea7084063314f24dcbe4f9d87f8d12ce520da97 Mon Sep 17 00:00:00 2001 From: Kelly McCusker Date: Mon, 23 Aug 2021 21:32:11 +0000 Subject: [PATCH] fix emissions units bug --- fair/Scenario/scenario.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fair/Scenario/scenario.py b/fair/Scenario/scenario.py index 6e040a85..6b7ec515 100644 --- a/fair/Scenario/scenario.py +++ b/fair/Scenario/scenario.py @@ -257,7 +257,7 @@ def get_gas_species_names(self): def get_gas_species_units(self): - units = _get_ordered_emissions_units(ssp=scenario).values + units = _get_ordered_emissions_units(ssp=self.scenario).values return ['year',] + list(units)