.. _model_config_component_model_specific:
CONFIG_CPL_FILE_MODEL_SPECIFIC
==============================
.. contents::
:local:
Entry
-----
The following is an example entry for ``CONFIG_CPL_FILE_MODEL_SPECIFIC`` in ``config_files.xml``.
This is an example entry for ``config_files.xml``.
.. code-block:: xml
char
$SRCROOT/driver-$COMP_INTERFACE/cime_config/config_component_$MODEL.xml
case_last
env_case.xml
file containing all component specific driver configuration variables (for documentation only - DO NOT EDIT)
$CIMEROOT/CIME/data/config/xml_schemas/entry_id.xsd
$CIMEROOT/CIME/data/config/xml_schemas/entry_id_version3.xsd
Content
-------
Every model component also contains a **config_component.xml** file that has two functions:
1. Specifying the component-specific definitions of what can appear after the ``%`` in the compset longname, (for example, ``DOM`` in ``DOCN%DOM``).
2. Specifying the compset-specific ``$CASEROOT`` xml variables.
.. _xml_schema_component_model:
CIME first parses the following nodes to identify appropriate **config_component.xml** files for the driver. There are two such files; one is model-independent and the other is model-specific.
::
...
$COMP_ROOT_DIR_CPL/cime_config/config_component.xml
...
...
$SRCROOT/driver-$COMP_INTERFACE/cime_config/config_component_$MODEL.xml
...
CIME then parses each of the nodes listed below, using using the value of the *component* attribute to determine which xml files to use for the requested compset longname.
::
As an example, the possible atmosphere components for CESM have the following associated xml files.
::
char
unset
$SRCROOT/components/cam/cime_config/config_component.xml
$CIMEROOT/components/data_comps/datm/cime_config/config_component.xml
$CIMEROOT/components/stub_comps/satm/cime_config/config_component.xml
$CIMEROOT/components/xcpl_comps/xatm/cime_config/config_component.xml
case_last
env_case.xml
file containing specification of component specific definitions and values(for documentation only - DO NOT EDIT)
$CIMEROOT/cime_config/xml_schemas/entry_id.xsd
If the compset's atm component attribute is ``datm``, the file ``$CIMEROOT/components/data_comps/datm/cime_config/config_component.xml`` specifies all possible component settings for ``DATM``.
The schema for every **config_component.xml** file has a ```` node that specifies all possible values that can follow the ``%`` character in the compset name.
To list the possible values, use the `query_config --component datm <../Tools_user/query_config.html>`_ command.