From e649a09edc8b58d02c750f382b2df6883a3f8bcb Mon Sep 17 00:00:00 2001 From: Manuel Schlund Date: Fri, 13 Feb 2026 09:50:31 +0100 Subject: [PATCH 1/2] Update CMOR table doc in derivation.rst --- doc/develop/derivation.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/develop/derivation.rst b/doc/develop/derivation.rst index 44ff9b8e2b..555e374d0d 100644 --- a/doc/develop/derivation.rst +++ b/doc/develop/derivation.rst @@ -71,4 +71,14 @@ the definition of derived variables. To contribute a completely new derived variable, it is necessary to define a name for it and to provide the corresponding CMOR table. This is to guarantee the proper metadata definition is attached to the derived data. Such custom CMOR tables are collected as part -of the `ESMValCore package `_. +of the ESMValCore package. An example entry for CMIP6 looks like: + +.. literalinclude:: ../../esmvalcore/cmor/tables/cmip6-custom/CMIP6_custom.json + :start-at: "asr": { + :end-at: }, + :caption: The ``asr`` variable definition in the custom CMIP6 table at + `esmvalcore/cmor/tables/cmip6/tables/cmip6-custom/CMIP6_custom.json + `__. + +More details on this can also be found in the documentation of the +:ref:`cmor_table_configuration`. From a3f42e7226541c3c0008b70b458ac1cc20e50eaf Mon Sep 17 00:00:00 2001 From: Manuel Schlund Date: Fri, 13 Feb 2026 10:05:03 +0100 Subject: [PATCH 2/2] Fix doc build --- doc/develop/derivation.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/develop/derivation.rst b/doc/develop/derivation.rst index 555e374d0d..587281db0a 100644 --- a/doc/develop/derivation.rst +++ b/doc/develop/derivation.rst @@ -76,9 +76,7 @@ of the ESMValCore package. An example entry for CMIP6 looks like: .. literalinclude:: ../../esmvalcore/cmor/tables/cmip6-custom/CMIP6_custom.json :start-at: "asr": { :end-at: }, - :caption: The ``asr`` variable definition in the custom CMIP6 table at - `esmvalcore/cmor/tables/cmip6/tables/cmip6-custom/CMIP6_custom.json - `__. + :caption: The ``asr`` variable definition in the custom CMIP6 table at `esmvalcore/cmor/tables/cmip6/tables/cmip6-custom/CMIP6_custom.json `__. More details on this can also be found in the documentation of the :ref:`cmor_table_configuration`.