Esmvaltool: Move diagnostic helper functions to ESMValCore

Created on 20 Oct 2020  路  2Comments  路  Source: ESMValGroup/ESMValTool

Talking about the deployment of ESMValCore 2.1 in BSC, @sloosvel and I realized that it is not that useful for us because all our diagnostics are using the helper functions that we have in esmvaltool/diag_scripts/shared.

If we really want users to be able to develop their diagnostics using just ESMValCore, we must move them to the core.

What do you think, @ESMValGroup/esmvaltool-developmentteam ?

question

Most helpful comment

I agree that it would be a good idea to move some functions to the ESMValCore, but we would need to make a selection and clean up a bit, as there are currently two interfaces implemented and quite a bit of stuff that is not generic enough to move to the core. We need to make sure that the code in the core does not grow into a many headed spaghetti monster.

All 2 comments

Great idea! I have not been involved with the project for super long, but one thing I have noticed that ESMValCore and ESMValTool are very tightly coupled. ESMValCore should really be able to stand by itself. I actually opened a somewhat related issue last week: https://github.com/ESMValGroup/ESMValCore/issues/826

I agree that it would be a good idea to move some functions to the ESMValCore, but we would need to make a selection and clean up a bit, as there are currently two interfaces implemented and quite a bit of stuff that is not generic enough to move to the core. We need to make sure that the code in the core does not grow into a many headed spaghetti monster.

Was this page helpful?
0 / 5 - 0 ratings