Skip to content

Commit 1e53ae9

Browse files
authored
Update documentation on derived variables with new CMOR tables configuration (#2979)
1 parent da81d5f commit 1e53ae9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/develop/derivation.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,12 @@ the definition of derived variables. To contribute a completely new derived
7171
variable, it is necessary to define a name for it and to provide the
7272
corresponding CMOR table. This is to guarantee the proper metadata definition
7373
is attached to the derived data. Such custom CMOR tables are collected as part
74-
of the `ESMValCore package <https://github.com/ESMValGroup/ESMValCore/tree/main/esmvalcore/cmor/tables/custom>`_.
74+
of the ESMValCore package. An example entry for CMIP6 looks like:
75+
76+
.. literalinclude:: ../../esmvalcore/cmor/tables/cmip6-custom/CMIP6_custom.json
77+
:start-at: "asr": {
78+
:end-at: },
79+
:caption: The ``asr`` variable definition in the custom CMIP6 table at `esmvalcore/cmor/tables/cmip6/tables/cmip6-custom/CMIP6_custom.json <https://github.com/ESMValGroup/ESMValCore/blob/main/esmvalcore/cmor/tables/cmip6-custom/CMIP6_custom.json>`__.
80+
81+
More details on this can also be found in the documentation of the
82+
:ref:`cmor_table_configuration`.

0 commit comments

Comments
 (0)