@@ -66,7 +66,12 @@ def test_convert_magicc7_to_magicc6_variables(magicc7, magicc6):
66
66
67
67
@pytest .mark .parametrize ("suffix" , ["RF" , "ERF" ])
68
68
@pytest .mark .parametrize (
69
- "suffix_part_1" , ["I" , "B" , "T" ,],
69
+ "suffix_part_1" ,
70
+ [
71
+ "I" ,
72
+ "B" ,
73
+ "T" ,
74
+ ],
70
75
)
71
76
@pytest .mark .parametrize (
72
77
"variable" , ["OC" , "BC" , "SOX" , "NO3" , "BIOMASSAER" , "MINERALDUST" ]
@@ -104,7 +109,12 @@ def test_dir_aerosols(variable, suffix_part_1, suffix):
104
109
105
110
@pytest .mark .parametrize ("suffix" , ["CONC" , "OT" , "EMIS" , "INVERSE_EMIS" ])
106
111
@pytest .mark .parametrize (
107
- "suffix_part_1" , ["I" , "B" , "T" ,],
112
+ "suffix_part_1" ,
113
+ [
114
+ "I" ,
115
+ "B" ,
116
+ "T" ,
117
+ ],
108
118
)
109
119
@pytest .mark .parametrize ("variable" , ["OC" , "BC" , "SOX" , "NO3" ])
110
120
def test_aerosols_not_rf (variable , suffix_part_1 , suffix ):
@@ -135,10 +145,20 @@ def test_aerosols_not_rf(variable, suffix_part_1, suffix):
135
145
136
146
@pytest .mark .parametrize ("suffix" , ["RF" , "ERF" , "CONC" , "OT" , "EMIS" ])
137
147
@pytest .mark .parametrize (
138
- "prefix" , ["I" , "B" , "T" ,],
148
+ "prefix" ,
149
+ [
150
+ "I" ,
151
+ "B" ,
152
+ "T" ,
153
+ ],
139
154
)
140
155
@pytest .mark .parametrize (
141
- "variable" , ["CO2" , "N2O" , "CH4" ,],
156
+ "variable" ,
157
+ [
158
+ "CO2" ,
159
+ "N2O" ,
160
+ "CH4" ,
161
+ ],
142
162
)
143
163
def test_ch4_co2_n2o (variable , prefix , suffix ):
144
164
openscm_var = convert_magicc7_to_openscm_variables (
@@ -230,20 +250,38 @@ def test_ch4_co2_n2o(variable, prefix, suffix):
230
250
"OCI_ERF" ,
231
251
"Effective Radiative Forcing|Aerosols|Direct Effect|OC|MAGICC Fossil and Industrial" ,
232
252
),
233
- ("OCT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,),
234
- ("OC_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,),
253
+ (
254
+ "OCT_ERF" ,
255
+ "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,
256
+ ),
257
+ (
258
+ "OC_ERF" ,
259
+ "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,
260
+ ),
235
261
(
236
262
"BCI_ERF" ,
237
263
"Effective Radiative Forcing|Aerosols|Direct Effect|BC|MAGICC Fossil and Industrial" ,
238
264
),
239
- ("BCT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,),
240
- ("BC_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,),
265
+ (
266
+ "BCT_ERF" ,
267
+ "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,
268
+ ),
269
+ (
270
+ "BC_ERF" ,
271
+ "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,
272
+ ),
241
273
(
242
274
"SOXI_ERF" ,
243
275
"Effective Radiative Forcing|Aerosols|Direct Effect|SOx|MAGICC Fossil and Industrial" ,
244
276
),
245
- ("SOXT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,),
246
- ("SOX_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,),
277
+ (
278
+ "SOXT_ERF" ,
279
+ "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,
280
+ ),
281
+ (
282
+ "SOX_ERF" ,
283
+ "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,
284
+ ),
247
285
(
248
286
"NOXI_ERF" ,
249
287
"Effective Radiative Forcing|Aerosols|Direct Effect|NOx|MAGICC Fossil and Industrial" ,
@@ -334,17 +372,26 @@ def test_convert_magicc7_to_openscm_variables(magicc7, openscm):
334
372
"OCI_ERF" ,
335
373
"Effective Radiative Forcing|Aerosols|Direct Effect|OC|MAGICC Fossil and Industrial" ,
336
374
),
337
- ("OCT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,),
375
+ (
376
+ "OCT_ERF" ,
377
+ "Effective Radiative Forcing|Aerosols|Direct Effect|OC" ,
378
+ ),
338
379
(
339
380
"BCI_ERF" ,
340
381
"Effective Radiative Forcing|Aerosols|Direct Effect|BC|MAGICC Fossil and Industrial" ,
341
382
),
342
- ("BCT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,),
383
+ (
384
+ "BCT_ERF" ,
385
+ "Effective Radiative Forcing|Aerosols|Direct Effect|BC" ,
386
+ ),
343
387
(
344
388
"SOXI_ERF" ,
345
389
"Effective Radiative Forcing|Aerosols|Direct Effect|SOx|MAGICC Fossil and Industrial" ,
346
390
),
347
- ("SOXT_ERF" , "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,),
391
+ (
392
+ "SOXT_ERF" ,
393
+ "Effective Radiative Forcing|Aerosols|Direct Effect|SOx" ,
394
+ ),
348
395
(
349
396
"NOXI_ERF" ,
350
397
"Effective Radiative Forcing|Aerosols|Direct Effect|NOx|MAGICC Fossil and Industrial" ,
0 commit comments