-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_archive.xml
More file actions
59 lines (59 loc) · 2.98 KB
/
env_archive.xml
File metadata and controls
59 lines (59 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<file id="env_archive.xml" version="2.0">
<header>
These are the variables specific to the short term archiver.
See ./case.st_archive --help for details on running the short term archiver script.
To validate the env_archive.xml file using xmllint, run
xmllint -schema $SRCROOT/cime/config/xml_schemas/env_archive.xsd env_archive.xml
from the case root.
The patterns below are Python regular expressions.
The file names created from these patterns will add an optional digit
to them and will enclose them in a pair of '.'.
Some useful Python metacharacters are:
[] = any single character inside the brackets
\d = a digit = [0123456789] = [0-9]
? = 0 or 1 of the previous character
* = 0 or more of the previous character (greedy!)
+ = 1 or more of the previous character (greedy!)
\. = a period
. = any non-newline character
Use them carefully. They're often confused with shell-type
wild card characters.
</header>
<components version="2.0">
<comp_archive_spec compname="drv" compclass="cpl">
<rest_file_extension>r</rest_file_extension>
<hist_file_extension>hi?\d*.*\.nc$</hist_file_extension>
<rest_history_varname>unset</rest_history_varname>
<rpointer>
<rpointer_file>rpointer.cpl$NINST_STRING</rpointer_file>
<rpointer_content>$CASE.cpl$NINST_STRING.r.$DATENAME.nc</rpointer_content>
</rpointer>
<test_file_names>
<tfile disposition="move">cpl_0001.log.5548574.chadmin1.180228-124723.gz</tfile>
<tfile disposition="copy">casename.cpl.r.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">rpointer.drv_0001</tfile>
<tfile disposition="copy">rpointer.drv</tfile>
<tfile disposition="ignore">casenamenot.cpl.r.1976-01-01-00000.nc</tfile>
</test_file_names>
</comp_archive_spec>
<comp_archive_spec compclass="esp" compname="dart">
<rest_file_extension>r</rest_file_extension>
<rest_file_extension>rh\d?</rest_file_extension>
<hist_file_extension>[ei]</hist_file_extension>
<rest_history_varname>restart_hist</rest_history_varname>
<rpointer>
<rpointer_file>rpointer.unset</rpointer_file>
<rpointer_content>unset</rpointer_content>
</rpointer>
<test_file_names>
<tfile disposition="copy">casename.dart.r.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">casename.dart.rh.pop_preassim_priorinf_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">casename.dart.rh.cam_preassim_priorinf_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.e.cam_postassim_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.i.cam_output_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.e.cam_obs_seq_final.1976-01-01-00000.nc</tfile>
</test_file_names>
</comp_archive_spec>
</components>
</file>