Skip to content

Commit ca75de4

Browse files
committed
black formatting MOM_MARBL_diagnostics.py
1 parent 7de7316 commit ca75de4

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

cime_config/MARBL_scripts/MOM_MARBL_diagnostics.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ def write_MARBL_diagnostics_file(
260260
if "DIC_ALT_CO2" in full_diag_dict.keys():
261261
full_diag_dict["DIC_ALT_CO2"]["diags"]["DIC_ALT_CO2_RIV_FLUX"] = freq_op
262262
full_diag_dict["DIC_ALT_CO2"]["diags"]["J_DIC_ALT_CO2"] = freq_op
263-
full_diag_dict["DIC_ALT_CO2"]["diags"]["Jint_100m_DIC_ALT_CO2"] = (
264-
Jint_100m_freq_op["DIC_ALT_CO2"]
265-
)
263+
full_diag_dict["DIC_ALT_CO2"]["diags"][
264+
"Jint_100m_DIC_ALT_CO2"
265+
] = Jint_100m_freq_op["DIC_ALT_CO2"]
266266
# full_diag_dict['DIC_ALT_CO2']['diags']['tend_zint_100m_DIC_ALT_CO2'] = freq_op
267267
full_diag_dict["DIC_ALT_CO2"]["properties"]["include budget terms"] = True
268268
full_diag_dict["DIC_ALT_CO2"]["properties"]["has surface flux"] = True
@@ -282,9 +282,9 @@ def write_MARBL_diagnostics_file(
282282
full_diag_dict["ALK_ALT_CO2"]["diags"]["ALK_ALT_CO2_RIV_FLUX"] = freq_op
283283
full_diag_dict["ALK_ALT_CO2"]["diags"]["STF_ALK_ALT_CO2"] = freq_op
284284
full_diag_dict["ALK_ALT_CO2"]["diags"]["J_ALK_ALT_CO2"] = low_freq_op
285-
full_diag_dict["ALK_ALT_CO2"]["diags"]["Jint_100m_ALK_ALT_CO2"] = (
286-
Jint_100m_freq_op["ALK_ALT_CO2"]
287-
)
285+
full_diag_dict["ALK_ALT_CO2"]["diags"][
286+
"Jint_100m_ALK_ALT_CO2"
287+
] = Jint_100m_freq_op["ALK_ALT_CO2"]
288288
# full_diag_dict['ALK_ALT_CO2']['diags']['tend_zint_100m_ALK_ALT_CO2'] = freq_op
289289
full_diag_dict["ALK_ALT_CO2"]["properties"]["has surface flux"] = True
290290
# DOC
@@ -335,9 +335,9 @@ def write_MARBL_diagnostics_file(
335335
# DO13Ctot
336336
if "DO13Ctot" in full_diag_dict.keys():
337337
# full_diag_dict['DO13Ctot']['diags']['DO13Ctot_RIV_FLUX'] = freq_op
338-
full_diag_dict["DO13Ctot"]["diags"]["Jint_100m_DO13Ctot"] = (
339-
Jint_100m_freq_op["DO13Ctot"]
340-
)
338+
full_diag_dict["DO13Ctot"]["diags"][
339+
"Jint_100m_DO13Ctot"
340+
] = Jint_100m_freq_op["DO13Ctot"]
341341
# full_diag_dict['DO13Ctot']['diags']['tend_zint_100m_DO13Ctot'] = freq_op
342342
full_diag_dict["DO13Ctot"]["properties"]["has surface flux"] = True
343343
# DI14C
@@ -352,16 +352,18 @@ def write_MARBL_diagnostics_file(
352352
# DO14Ctot
353353
if "DO14Ctot" in full_diag_dict.keys():
354354
# full_diag_dict['DO14Ctot']['diags']['DO14Ctot_RIV_FLUX'] = freq_op
355-
full_diag_dict["DO14Ctot"]["diags"]["Jint_100m_DO14Ctot"] = (
356-
Jint_100m_freq_op["DO14Ctot"]
357-
)
355+
full_diag_dict["DO14Ctot"]["diags"][
356+
"Jint_100m_DO14Ctot"
357+
] = Jint_100m_freq_op["DO14Ctot"]
358358
# full_diag_dict['DO14Ctot']['diags']['tend_zint_100m_DO14Ctot'] = freq_op
359359
full_diag_dict["DO14Ctot"]["properties"]["has surface flux"] = True
360360
# ABIO_DIC
361361
if "ABIO_DIC" in full_diag_dict.keys():
362362
# STF_SALT_ABIO_DIC is special case
363363
if valid_diag_modes.index(diag_mode) >= valid_diag_modes.index("minimal"):
364-
full_diag_dict["ABIO_DIC"]["diags"]["STF_SALT_ABIO_DIC"] = "medium_average"
364+
full_diag_dict["ABIO_DIC"]["diags"][
365+
"STF_SALT_ABIO_DIC"
366+
] = "medium_average"
365367
# full_diag_dict['ABIO_DIC']['diags']['J_ABIO_DIC'] = freq_op
366368
full_diag_dict["ABIO_DIC"]["diags"]["STF_ABIO_DIC"] = freq_op
367369
# full_diag_dict['ABIO_DIC']['diags']['FvPER_ABIO_DIC'] = freq_op

0 commit comments

Comments
 (0)