E3SM-Project / e3sm_diags

E3SM Diagnostics package
https://e3sm-project.github.io/e3sm_diags
BSD 3-Clause "New" or "Revised" License
39 stars 32 forks source link

[Refactor]: Stop default diagnostics always running if e3sm_diags is executed via Python script #735

Closed tomvothecoder closed 9 months ago

tomvothecoder commented 11 months ago

Overview

If e3sm_diags is executed via a Python script, the default diagnostics will always execute and the CoreParameter.sets attribute defined in the Python script is ignored.

This means debugging can't be done on a single set/variable. Instead, this behavior should be fixed because debugging is much easier by executing a Python script that defines a single CoreParameter object with a single set and a few variables.

If the user wants to run the default sets, they should manually do that via the CLI (e.g., e3sm_diags -d lat_lon_model_vs_model.cfg).

Related Code

Original Discussion: https://github.com/E3SM-Project/e3sm_diags/pull/677#discussion_r1336407071