Skip to content

Commit 59be0e7

Browse files
authored
Update accf.py
1 parent 14f70ed commit 59be0e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

climaccf/accf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ def get_accfs(self, **problem_config):
265265
attrs_CO2 = {'unit': 'K kg(fuel)**-1', 'long_name': 'algorithmic climate change function of CO2', 'short_name': 'aCCF of CO2'}
266266
if self.aCCF_Version == 'V1.0':
267267
self.aCCF_CO2 = 6.94 * 1e-16 * np.ones(self.t.shape)*self.sf['CO2']/self.base['CO2'] # P-ATR20-CO2 [K/kg(fuel)]
268-
elif self.aCCF_Version == 'V1.1':
268+
elif self.aCCF_Version == 'V1.0A':
269269
self.aCCF_CO2 = 6.94 * 1e-16 * np.ones(self.t.shape)*self.sf['CO2']/self.eg['CO2']
270270
else:
271-
raise ValueError("Currently, the versions of aCCFs reported in Yin et al. (2022) ('V1.0') and 'Matthes et al. (2022) ('V1.1) have been implemented; thus, the correct option is confg['aCCF-V'] = 'V1.0' or 'V1.1'.")
271+
raise ValueError("Currently, the versions of aCCFs reported in Yin et al. (2023) ('V1.0') and 'Matthes et al. (2022) ('V1.0A) have been implemented; thus, the correct option is confg['aCCF-V'] = 'V1.0' or 'V1.0A'.")
272272
self.aCCF_CO2 = convert_accf('CO2', self.aCCF_CO2, confg)
273273
self.var_aCCF_xr['aCCF_CO2'] = (tuple(self.coordinate_names), self.aCCF_CO2, attrs_CO2)
274274
self.aCCF_xr['aCCF_CO2'] = (tuple(self.coordinate_names), self.aCCF_CO2, attrs_CO2)

0 commit comments

Comments
 (0)