.. _model_config_archive:
ARCHIVE_SPEC_FILE
=================
.. contents::
:local:
Entry
-----
The following is an example entry for ``ARCHIVE_SPEC_FILE`` in ``config_files.xml``.
Each ``value`` corresponds with the archive configuration for a specific component.
Example
:::::::
.. code-block:: xml
char
$SRCROOT/cime_config/config_archive.xml
$COMP_ROOT_DIR_CPL/cime_config/config_archive.xml
$COMP_ROOT_DIR_ROF/cime_config/config_archive.xml
$COMP_ROOT_DIR_ATM/cime_config/config_archive.xml
$COMP_ROOT_DIR_ICE/cime_config/config_archive.xml
$COMP_ROOT_DIR_LND/cime_config/config_archive.xml
$COMP_ROOT_DIR_OCN/cime_config/config_archive.xml
$COMP_ROOT_DIR_WAV/cime_config/config_archive.xml
case_last
env_case.xml
file containing specification of archive files for each component (for documentation only - DO NOT EDIT)
$CIMEROOT/CIME/data/config/xml_schemas/config_archive.xsd
Contents
--------
The following describes the contents of the ``config_archive.xml`` file.
Schema Definition
:::::::::::::::::
Below is the schema definition for the ``config_archive.xml`` file.
===================== ==============================================================================================
Element/Attribute Description
===================== ==============================================================================================
comp_archive_spec Component archive specification defined for either a specific compnent or class.
compname Component name the specification applies.
compclass Component class the specification applies.
exclude_testing Whether to exclude the testing archiving.
rest_file_extension Suffix used to match restart files.
hist_file_extension Suffix used to match history files.
hist_file_ext_regex Regular expression used to match file extension of history files.
rest_history_varname The variable name from restart files used to identify history files required for restarts.
rpointer_file The rpointer file to create.
rpointer_content The content that is written to the rpointer file.
tfile A filename used to test the component archive specification.
disposition The expected action to be performed on the file. Possible values copy, move, ignore.
===================== ==============================================================================================
.. code-block:: xml