comparison cesm.xml @ 0:7a7ba86e95a4 draft default tip

"planemo upload for repository https://github.com/ESCOMP/CESM commit 5c969e494841237de0b2301520d9321672cc9f5b"
author climate
date Tue, 15 Jun 2021 09:39:23 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7a7ba86e95a4
1 <tool id="cesm" name="CESM" profile="20.05" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2 <description>Community Earth System Model</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="edam_ontology"/>
7 <requirements>
8 <requirement type="package" version="2.1.3">cesm</requirement>
9 <requirement type="package" version="1.32">tar</requirement>
10 <requirement type="package" version="2.35">binutils</requirement>
11 <requirement type="package" version="3">python</requirement>
12 </requirements>
13 <command detect_errors="exit_code"><![CDATA[
14 export HOME=`pwd` &&
15 export USER='FAKEUSER' &&
16 export AR=x86_64-conda_cos6-linux-gnu-ar &&
17 mkdir -p .cime &&
18 cp '$__tool_directory__/config' .cime/config &&
19 cp '$__tool_directory__/config_compilers.xml' '.cime/config_compilers.xml' &&
20 bash '$__tool_directory__/create_config_machines.sh' \${GALAXY_SLOTS:-4} &&
21 mv 'config_machines_galaxy.xml' '.cime/config_machines.xml' &&
22 mkdir inputdata &&
23 mkdir output_dir &&
24 mkdir logs_dir &&
25 mkdir -p usermods_dirs/SourceMods &&
26 #if $input_type.tarball == 'yes'
27 echo "Getting inputdata from tarball" &&
28 tar -xf '$input_type.inputdata' -C 'inputdata/' &&
29 #else
30 echo "Getting inputdata from collection" &&
31 #for $input_file in $input_type.input_data_collection
32 bash '$__tool_directory__/create_mapping.sh' '${input_file}' '${input_file.element_identifier}' '$mapping' &&
33 #end for
34 #end if
35 #if $condi_user_mods.add_changes == 'yes'
36 #for $s in $condi_user_mods.usermods
37 echo "User mod ${s.srcmod} ${s.srcmod.element_identifier}" &&
38 ln -s '${s.srcmod}' 'usermods_dirs/SourceMods/${s.srcmod.element_identifier}' &&
39 #end for
40 #end if
41 echo "create case" &&
42 create_newcase --case '$casename' --compset '$condi_compset.compset' --machine galaxy
43 --pesfile '$__tool_directory__/config_pes.xml'
44 #if $condi_user_mods.add_changes
45 --user-mods-dir ./usermods_dirs
46 #end if
47 --res $condi_compset.resolution > '$case_info' 2>&1 &&
48 echo "create done" &&
49 cd '$casename' &&
50 #if str($adv_period.condi_type_run.run_type) == 'hybrid' or str($adv_period.condi_type_run.run_type) == 'branch':
51 ./xmlchange RUN_TYPE=$adv_period.condi_type_run.run_type &&
52 ./xmlchange RUN_REFDATE=$adv_period.condi_type_run.run_refdate &&
53 ./xmlchange RUN_REFCASE=$adv_period.condi_type_run.run_refcase &&
54 #end if
55 #if ((str($adv_period.condi_type_run.run_type) == 'hybrid' or str($adv_period.condi_type_run.run_type) == 'startup') and $adv_period.condi_type_run.run_startdate != '')
56 ./xmlchange RUN_STARTDATE=$adv_period.condi_type_run.run_startdate &&
57 #end if
58 ./xmlchange STOP_N=$adv_period.stopn &&
59 ./xmlchange STOP_OPTION=$adv_period.stop_option &&
60 ./xmlchange DOUT_S=FALSE &&
61 #if str($adv_period.hist_option) != 'unset'
62 ./xmlchange HIST_OPTION=$adv_period.hist_option &&
63 #end if
64 #if str($adv_restart.restart_option) != 'unset'
65 ./xmlchange REST_N=$adv_restart.restn &&
66 ./xmlchange REST_OPTION=$adv_restart.restart_option &&
67 #end if
68 #if $adv_restart.interim_files
69 ./xmlchange DOUT_S_SAVE_INTERIM_RESTART_FILES=TRUE &&
70 #end if
71 #if str($adv_lnd.user_nl_lnd_customization) != 'None'
72 cp '$adv_lnd.user_nl_lnd_customization' user_nl_clm &&
73 #end if
74 #if str($adv_atm.user_nl_atm_customization) != 'None'
75 cp '$adv_atm.user_nl_atm_customization' user_nl_cam &&
76 #end if
77 #if str($adv_rof.user_nl_rof_customization) != 'None'
78 cp '$adv_rof.user_nl_rof_customization' user_nl_rof &&
79 #end if
80 #if str($adv_glc.user_nl_glc_customization) != 'None'
81 cp '$adv_glc.user_nl_glc_customization' user_nl_cism &&
82 #end if
83 #if str($adv_ocn.user_nl_ocn_customization) != 'None'
84 cp '$adv_ocn.user_nl_ocn_customization' user_nl_ocn &&
85 #end if
86 #if str($adv_ice.user_nl_ice_customization) != 'None'
87 cp '$adv_ice.user_nl_ice_customization' user_nl_cice &&
88 #end if
89 #if str($adv_lnd.inputs) != 'None'
90 echo "LAND customized inputs" &&
91 #for $i in $adv_lnd.inputs
92 ln -s '${i}' ${i.element_identifier} &&
93 #end for
94 #end if
95 #if str($adv_atm.inputs) != 'None'
96 echo "ATM customized inputs" &&
97 #for $i in $adv_atm.inputs
98 ln -s '${i}' ${i.element_identifier} &&
99 #end for
100 #end if
101 #if str($adv_rof.inputs) != 'None'
102 echo "ROF customized inputs" &&
103 #for $i in $adv_rof.inputs
104 ln -s '${i}' ${i.element_identifier} &&
105 #end for
106 #end if
107 #if str($adv_glc.inputs) != 'None'
108 echo "GLC customized inputs" &&
109 #for $i in $adv_glc.inputs
110 ln -s '${i}' ${i.element_identifier} &&
111 #end for
112 #end if
113 #if str($adv_ocn.inputs) != 'None'
114 echo "OCN customized inputs" &&
115 #for $i in $adv_ocn.inputs
116 ln -s '${i}' ${i.element_identifier} &&
117 #end for
118 #end if
119 #if str($adv_ice.inputs) != 'None'
120 echo "ICE customized inputs" &&
121 #for $i in $adv_ice.inputs
122 ln -s '${i}' ${i.element_identifier} &&
123 #end for
124 #end if
125 ./case.setup >> '$case_info' 2>&1 &&
126 ./case.build >> '$case_info' 2>&1 &&
127 #if str($adv_period.condi_type_run.run_type) == 'hybrid' or str($adv_period.condi_type_run.run_type) == 'branch':
128 tar -xf '$adv_period.condi_type_run.restart' -C '../work/$casename/run/' &&
129 #end if
130 ( ./case.submit >> '$case_info' 2>&1 || true ) &&
131 ( grep "MODEL EXECUTION HAS FINISHED" '$case_info' ||
132 ( echo "Case failed" && cd .. && tar cf $work work &&
133 bash '$__tool_directory__/save_logs.sh' 'work/$casename/run/' logs_dir '$case_info' &&
134 exit 1 )
135 ) &&
136 echo "CURRENT PATH" &&
137 echo "\$HOME" &&
138 cd "\$HOME" &&
139 mkdir -p restart &&
140 #if (str($adv_restart.restart_option) != 'never')
141 bash '$__tool_directory__/save_restart.sh' 'work/$casename/run/' '$casename' restart '$case_info' &&
142 cat 'work/$casename/run/rpointer'.* > $rinfo 2>> '$case_info' &&
143 #end if
144 cd restart &&
145 tar cvf $restart . &&
146 cd "\$HOME" &&
147 #if (str($adv_period.hist_option) != 'never')
148 cp 'work/$casename/run/$casename'.*.h*.*.nc output_dir/ 2>> '$case_info' &&
149 #end if
150 bash '$__tool_directory__/save_logs.sh' 'work/$casename/run/' logs_dir '$case_info' &&
151 #if $save_workdir
152 tar cf '$work' work &&
153 #end if
154 echo "MODEL RUN COMPLETED"
155 ]]></command>
156 <inputs>
157 <conditional name="input_type">
158 <param name="tarball" type="select" label="Provide inputdata as a tarball">
159 <option value="yes">Tarball</option>
160 <option value="no" selected="true">List of netCDF input files</option>
161 </param>
162 <when value="yes">
163 <param name="inputdata" type="data" format='tar' label="inputdata for running CESM (tarball)" />
164 </when>
165 <when value="no">
166 <param name="input_data_collection" type="data" format="netcdf" multiple="true" label="Select input data" help="Select all the netCDF files you would need for running the chosen compset and resolution"/>
167 <param name="mapping" type="data" format='txt' label="Text file for mapping files in inputdata collection to physical files"/>
168 </when>
169 </conditional>
170 <param name="casename" type="text" value="usecase" label="Name of your case">
171 <validator type="regex" message="start with a letter and no blanks">^[A-Za-z][A-Za-z0-9]*</validator>
172 </param>
173 <conditional name="condi_compset">
174 <param name="compset" type="select" label="Model compset">
175 <option value="FKESSLER">FKESSLER</option>
176 <option value="F2000climo">F2000climo</option>
177 <option value="QPC6">QPC6</option>
178 <option value="QSC6">QSC6</option>
179 <option value="F1850">F1850</option>
180 <option value="FHIST">FHIST</option>
181 <option value="B1850">B1850</option>
182 <option value="BHIST">BHIST</option>
183 </param>
184 <when value="FKESSLER">
185 <param name="resolution" type="select" label="Model resolution">
186 <option value="ne30_g16 --run-unsupported">ne30_g16</option>
187 <option value="f09_f09_mg17">f09_f09_mg17</option>
188 <option value="f19_f19_mg17">f19_f19_mg17</option>
189 </param>
190 </when>
191 <when value="F2000climo">
192 <param name="resolution" type="select" label="Model resolution">
193 <option value="f09_f09_mg17">f09_f09_mg17</option>
194 <option value="f19_g17 --run-unsupported">f19_g17</option>
195 <option value="f19_f19_mg17 --run-unsupported">f19_f19_mg17</option>
196 </param>
197 </when>
198 <when value="FHIST">
199 <param name="resolution" type="select" label="Model resolution">
200 <option value="f09_f09_mg17">f09_f09_mg17</option>
201 </param>
202 </when>
203 <when value="QPC6">
204 <param name="resolution" type="select" label="Model resolution">
205 <option value="f09_f09_mg17">f09_f09_mg17</option>
206 <option value="f19_f19_mg17">f19_f19_mg17</option>
207 </param>
208 </when>
209 <when value="QSC6">
210 <param name="resolution" type="select" label="Model resolution">
211 <option value="f09_f09_mg17">f09_f09_mg17</option>
212 <option value="f19_f19_mg17">f19_f19_mg17</option>
213 </param>
214 </when>
215 <when value="F1850">
216 <param name="resolution" type="select" label="Model resolution">
217 <option value="f19_f19_mg17 --run-unsupported"></option>
218 </param>
219 </when>
220 <when value="B1850">
221 <param name="resolution" type="select" label="Model resolution">
222 <option value="f09_g17_gl4">f09_g17_gl4</option>
223 <option value="f09_g17">f09_g17</option>
224 <option value="f19_g17_gl4">f19_g17_gl4</option>
225 <option value="f19_g17">f19_g17</option>
226 </param>
227 </when>
228 <when value="BHIST">
229 <param name="resolution" type="select" label="Model resolution">
230 <option value="f09_g17_gl4">f09_g17_gl4</option>
231 <option value="f09_g17">f09_g17</option>
232 <option value="f19_g17_gl4">f19_g17_gl4</option>
233 <option value="f19_g17">f19_g17</option>
234 </param>
235 </when>
236 </conditional>
237 <param name="save_workdir" type="boolean" value="false" label="Save workdir as a tarball when successful"/>
238 <section name="adv_period" title="Customize the model run period" expanded="false">
239 <conditional name="condi_type_run">
240 <param name="run_type" type="select" label="Determines the model run initialization type.">
241 <option value="startup" selected="true">startup</option>
242 <option value="hybrid">hybrid</option>
243 <option value="branch">branch</option>
244 </param>
245 <when value="startup">
246 <param name="run_startdate" type="text" value="" label="Run start date (yyyy-mm-dd). Only used for startup or hybrid runs.">
247 <validator type="regex" message="YYYY-MM-DD">(^$|(\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])))</validator>
248 </param>
249 </when>
250 <when value="branch">
251 <param name="run_refcase" type="text" value="" label="Reference case for hybrid or branch runs"/>
252 <param name="run_refdate" type="text" value="" label="Reference date for hybrid or branch runs (yyyy-mm-dd)">
253 <validator type="regex" message="YYYY-MM-DD">(^$|(\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])))</validator>
254 </param>
255 <param name="restart" type="data" format='tar' label="restart for running CESM"/>
256 </when>
257 <when value="hybrid">
258 <param name="run_refcase" type="text" value="" label="Reference case for hybrid or branch runs"/>
259 <param name="run_refdate" type="text" value="" label="Reference date for hybrid or branch runs (yyyy-mm-dd)">
260 <validator type="regex" message="YYYY-MM-DD">(^$|(\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])))</validator>
261 </param>
262 <param name="run_startdate" type="text" value="" label="Run start date (yyyy-mm-dd). Only used for startup or hybrid runs.">
263 <validator type="regex" message="YYYY-MM-DD">(^$|(\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])))</validator>
264 </param>
265 <param name="restart" type="data" format='tar' label="restart for running CESM"/>
266 </when>
267 </conditional>
268 <param name="stopn" type="integer" value="5" label="Provides a numerical count for STOP_OPTION."/>
269 <param name="stop_option" type="select" label=" Sets the run length along with STOP_N and STOP_DATE">
270 <option value="ndays" selected="true">ndays</option>
271 <option value="none">none</option>
272 <option value="never">never</option>
273 <option value="nsteps">nsteps</option>
274 <option value="nseconds">nseconds</option>
275 <option value="nminutes">nminutes</option>
276 <option value="nhours">nhours</option>
277 <option value="nday">ndays</option>
278 <option value="nmonths">nmonths</option>
279 <option value="nyears">nyears</option>
280 <option value="date">date</option>
281 <option value="ifdays0">ifday0</option>
282 <option value="end">end</option>
283 </param>
284 <param name="hist_option" type="select" label="Sets driver snapshot history file frequency">
285 <option value="unset" selected="true">unset</option>
286 <option value="ndays">ndays</option>
287 <option value="none">none</option>
288 <option value="never">never</option>
289 <option value="nsteps">nsteps</option>
290 <option value="nseconds">nseconds</option>
291 <option value="nminutes">nminutes</option>
292 <option value="nhours">nhours</option>
293 <option value="nday">ndays</option>
294 <option value="nmonths">nmonths</option>
295 <option value="nyears">nyears</option>
296 <option value="date">date</option>
297 <option value="ifdays0">ifday0</option>
298 <option value="end">end</option>
299 </param>
300 </section>
301 <section name="adv_restart" title="Customize the model restart period" expanded="false">
302 <param name="restn" type="integer" value="12" label="Provides a numerical count for RESTART_OPTION (only if REST_N is different from 'unset')."/>
303 <param name="restart_option" type="select" label="Sets frequency of model restart writes in conjuction with REST_N (default is 'unset' e.g. STOP_N and STOP_OPTION)">
304 <option value="unset" selected="true">unset</option>
305 <option value="ndays">ndays</option>
306 <option value="none">none</option>
307 <option value="never">never</option>
308 <option value="nsteps">nsteps</option>
309 <option value="nseconds">nseconds</option>
310 <option value="nminutes">nminutes</option>
311 <option value="nhours">nhours</option>
312 <option value="nday">ndays</option>
313 <option value="nmonths">nmonths</option>
314 <option value="nyears">nyears</option>
315 <option value="date">date</option>
316 <option value="ifdays0">ifday0</option>
317 <option value="end">end</option>
318 </param>
319 <param name="interim_files" type="boolean" value="false" label=""/>
320 </section>
321
322 <section name="adv_lnd" title="Land namelist user customization" expanded="false">
323 <param name="user_nl_lnd_customization" type="data" format="txt" optional="true" label="LAND User namelist (lnd_in)"/>
324 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for LAND component"/>
325 </section>
326 <section name="adv_rof" title="River-runoff namelist user customization" expanded="false">
327 <param name="user_nl_rof_customization" type="data" format="txt" optional="true" label="ROF User namelist (rof_in)"/>
328 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for River-runoff component"/>
329 </section>
330 <section name="adv_atm" title="Atmopshere namelist user customization" expanded="false">
331 <param name="user_nl_atm_customization" type="data" format="txt" optional="true" label="ATM User namelist (atm_in)"/>
332 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for Atmosphere component"/>
333 </section>
334 <section name="adv_glc" title="Land-ice namelist user customization" expanded="false">
335 <param name="user_nl_glc_customization" type="data" format="txt" optional="true" label="CISM User namelist (cism_in)"/>
336 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for Land-Ice component"/>
337 </section>
338 <section name="adv_ice" title="Sea-ice namelist user customization" expanded="false">
339 <param name="user_nl_ice_customization" type="data" format="txt" optional="true" label="ICE User namelist (ice_in)"/>
340 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for Sea-Ice component"/>
341 </section>
342 <section name="adv_ocn" title="Ocean namelist user customization" expanded="false">
343 <param name="user_nl_ocn_customization" type="data" format="txt" optional="true" label="OCN User namelist (ocn_in)"/>
344 <param name="inputs" type="data" format="netcdf" multiple="true" optional="true" label="Customized Input files for Ocean component"/>
345 </section>
346 <conditional name="condi_user_mods">
347 <param name="add_changes" type="select" label="user-modified source code">
348 <option value="yes">Yes</option>
349 <option value="no" selected="true">No</option>
350 </param>
351 <when value="yes">
352 <repeat name="usermods" title="SourceMods files">
353 <param name="srcmod" type="data" format="txt" label="Modified source file"/>
354 </repeat>
355 </when>
356 <when value="no"/>
357 </conditional>
358 </inputs>
359 <outputs>
360 <data name="work" format="tar" label="${tool.name} on ${casename} (workdir)">
361 <filter> save_workdir == True</filter>
362 </data>
363 <data name="restart" format="tar" label="${tool.name} on ${casename} (restart)"/>
364 <data name="rinfo" format="txt" label="${tool.name} on ${casename} (restart info)"/>
365 <data name="case_info" format="txt" label="${tool.name} on ${casename} (case info)"/>
366 <collection name="logs_files" type="list" label="${tool.name} on ${casename} (logfiles)">
367 <discover_datasets pattern="__name__" directory="logs_dir" visible="false" format="txt"/>
368 </collection>
369 <collection name="history_files" type="list" label="${tool.name} on ${casename} (history file)">
370 <discover_datasets pattern="__name__" directory="output_dir" visible="true" format="netcdf"/>
371 </collection>
372 </outputs>
373 <tests>
374 <test>
375 <conditional name="input_type">
376 <param name="tarball" value="yes" />
377 <param name="inputdata" ftype="tar" value="inputdata_FKESSLER_ne30_g16_cesm2.1.3.tar" />
378 </conditional>
379 <param name="casename" value="FKESSLER" />
380 <conditional name="condi_compset">
381 <param name="compset" value="FKESSLER" />
382 <param name="resolution" value="ne30_g16 --run-unsupported" />
383 </conditional>
384 <param name="save_workdir" value="false"/>
385 <section name="adv_period">
386 <conditional name="condi_type_run">
387 <param name="run_type" value="startup"/>
388 </conditional>
389 <param name="stop_option" value="nsteps" />
390 <param name="stopn" value="1" />
391 <param name="hist_option" value="never" />
392 </section>
393 <section name="adv_restart">
394 <param name="restart_option" value="never"/>
395 </section>
396 <output name="case_info" ftype="txt" file="case_info.txt" compare="sim_size" delta="1000">
397 <assert_contents>
398 <has_text text="MODEL EXECUTION HAS FINISHED" />
399 </assert_contents>
400 </output>
401 <output_collection name="logs_files" type="list">
402 <element name="atm_log.txt" ftype="txt" file="atm_log.txt" compare="sim_size" delta="1000">
403 <assert_contents>
404 <has_text text="END OF MODEL RUN" />
405 </assert_contents>
406 </element>
407 <element name="cesm_log.txt" ftype="txt" file="cesm_log.txt" compare="sim_size" delta="1000">
408 </element>
409 <element name="cpl_log.txt" ftype="txt" file="cpl_log.txt" compare="sim_size" delta="1000">
410 <assert_contents>
411 <has_text text="SUCCESSFUL TERMINATION" />
412 </assert_contents>
413 </element>
414 </output_collection>
415 </test>
416 <test>
417 <conditional name="input_type">
418 <param name="tarball" value="no" />
419 <param name="input_data_collection" ftype="netcdf" value="cam_vcoords_L30_c180105.nc" />
420 <param name="mapping" ftype='txt' value="inputdata_mapping.txt" />
421 </conditional>
422 <param name="casename" value="FKESSLER" />
423 <conditional name="condi_compset">
424 <param name="compset" value="FKESSLER" />
425 <param name="resolution" value="ne30_g16 --run-unsupported" />
426 </conditional>
427 <param name="save_workdir" value="false"/>
428 <section name="adv_period">
429 <conditional name="condi_type_run">
430 <param name="run_type" value="startup"/>
431 </conditional>
432 <param name="stop_option" value="nsteps" />
433 <param name="stopn" value="1" />
434 <param name="hist_option" value="never" />
435 </section>
436 <section name="adv_restart">
437 <param name="restart_option" value="never"/>
438 </section>
439 <output name="case_info" ftype="txt" file="case_info.txt" compare="sim_size" delta="1000">
440 <assert_contents>
441 <has_text text="MODEL EXECUTION HAS FINISHED" />
442 </assert_contents>
443 </output>
444 <output_collection name="logs_files" type="list">
445 <element name="atm_log.txt" ftype="txt" file="atm_log.txt" compare="sim_size" delta="1000">
446 <assert_contents>
447 <has_text text="END OF MODEL RUN" />
448 </assert_contents>
449 </element>
450 <element name="cesm_log.txt" ftype="txt" file="cesm_log.txt" compare="sim_size" delta="1000">
451 </element>
452 <element name="cpl_log.txt" ftype="txt" file="cpl_log.txt" compare="sim_size" delta="1000">
453 <assert_contents>
454 <has_text text="SUCCESSFUL TERMINATION" />
455 </assert_contents>
456 </element>
457 </output_collection>
458 </test>
459 <test>
460 <conditional name="input_type">
461 <param name="tarball" value="yes" />
462 <param name="inputdata" ftype="tar" value="inputdata_FKESSLER_ne30_g16_cesm2.1.3.tar" />
463 </conditional>
464 <param name="casename" value="FKESSLER" />
465 <conditional name="condi_compset">
466 <param name="compset" value="FKESSLER" />
467 <param name="resolution" value="ne30_g16 --run-unsupported" />
468 </conditional>
469 <param name="save_workdir" value="false"/>
470 <section name="adv_period">
471 <conditional name="condi_type_run">
472 <param name="run_type" value="startup"/>
473 </conditional>
474 <param name="stop_option" value="nsteps" />
475 <param name="stopn" value="1" />
476 <param name="hist_option" value="never" />
477 </section>
478 <section name="adv_restart">
479 <param name="restart_option" value="never"/>
480 </section>
481 <section name="adv_atm">
482 <param name="user_nl_atm_customization" ftype="txt" value="user_nl_cam" />
483 </section>
484 <output name="case_info" ftype="txt" file="case_info.txt" compare="sim_size" delta="1000">
485 <assert_contents>
486 <has_text text="MODEL EXECUTION HAS FINISHED" />
487 </assert_contents>
488 </output>
489 <output_collection name="logs_files" type="list">
490 <element name="atm_log.txt" ftype="txt" file="atm_log.txt" compare="sim_size" delta="1000">
491 <assert_contents>
492 <has_text text="END OF MODEL RUN" />
493 </assert_contents>
494 </element>
495 <element name="cesm_log.txt" ftype="txt" file="cesm_log.txt" compare="sim_size" delta="1000">
496 </element>
497 <element name="cpl_log.txt" ftype="txt" file="cpl_log.txt" compare="sim_size" delta="1000">
498 <assert_contents>
499 <has_text text="SUCCESSFUL TERMINATION" />
500 </assert_contents>
501 </element>
502 </output_collection>
503 </test>
504 </tests>
505 <help><![CDATA[
506
507 **The Community Earth System Model (CESM)**
508 ==========================================================================
509
510 This tool creates and runs CESM experiments from CESM supported release.
511 CESM is a fully-coupled, community, global climate model that provides state-of-the-art computer simulations of the Earth's past, present, and future climate states.
512
513 Available component configurations and grids:
514 ----------------------------------------------
515 - `Grid Resolutions <https://www.cesm.ucar.edu/models/cesm2/config/2.1.3/grids.html>`_
516 - `Component Sets <https://www.cesm.ucar.edu/models/cesm2/config/2.1.3/compsets.html>`_
517 - `Component Configuration Settings <https://www.cesm.ucar.edu/models/cesm2/settings/2.1.3/>`_
518 ]]></help>
519 <expand macro="citations"/>
520 </tool>