Last change
on this file since 206 was
26,
checked in by aslmd, 14 years ago
|
spiga:mineur - ajout des fichiers def mesoscale + save POSTPROC
|
-
Property svn:executable set to
*
|
File size:
1.6 KB
|
Line | |
---|
1 | #! /bin/bash |
---|
2 | |
---|
3 | |
---|
4 | ### must do something to remove .svn in save files |
---|
5 | ### find * */* */*/* -iname .svn |
---|
6 | |
---|
7 | echo Saving LMD_MM_MARS ! |
---|
8 | |
---|
9 | mkdir clean |
---|
10 | |
---|
11 | cd SRC |
---|
12 | |
---|
13 | cd WRFV2 |
---|
14 | save_changes |
---|
15 | mv sources_Mars.tar.gz ../../clean/ |
---|
16 | mv saved ../../clean/ |
---|
17 | cd .. |
---|
18 | |
---|
19 | tar czvf ARWpost.tar.gz ARWpost |
---|
20 | mv ARWpost.tar.gz ../clean/ |
---|
21 | |
---|
22 | #tar czvf INIT_SIMPLE_TEST.tar.gz INIT_SIMPLE_TEST |
---|
23 | #mv INIT_SIMPLE_TEST.tar.gz ../clean/ |
---|
24 | cp INIT_SIMPLE_TEST.tar.gz ../clean/ |
---|
25 | |
---|
26 | tar czvf PREP_MARS.tar.gz PREP_MARS |
---|
27 | mv PREP_MARS.tar.gz ../clean/ |
---|
28 | |
---|
29 | tar czvf WPS.tar.gz WPS/switch* WPS/wps_mars |
---|
30 | mv WPS.tar.gz ../clean/ |
---|
31 | |
---|
32 | #tar czvf g95.tar.gz g95 |
---|
33 | #mv g95.tar.gz ../clean/ |
---|
34 | cp g95.tar.gz ../clean/ |
---|
35 | |
---|
36 | #tar czvf mac.tar.gz mac |
---|
37 | #mv mac.tar.gz ../clean/ |
---|
38 | cp mac.tar.gz ../clean/ |
---|
39 | |
---|
40 | tar czvf POSTPROC.tar.gz POSTPROC |
---|
41 | mv POSTPROC.tar.gz ../clean/ |
---|
42 | |
---|
43 | |
---|
44 | cd .. |
---|
45 | |
---|
46 | tar czvf SIMU.tar.gz SIMU |
---|
47 | mv SIMU.tar.gz clean/ |
---|
48 | |
---|
49 | tar czvf WPS_GEOG.tar.gz WPS_GEOG/res WPS_GEOG/*_GCM |
---|
50 | mv WPS_GEOG.tar.gz clean/ |
---|
51 | |
---|
52 | #cd WPS_GEOG |
---|
53 | #cd not_used |
---|
54 | #save_wps_geog |
---|
55 | #mv -f WPS_GEOG.tar.gz ../../clean/ |
---|
56 | #cd ../.. |
---|
57 | |
---|
58 | cp copy_model clean/ |
---|
59 | cp save_all clean/ |
---|
60 | cp makemeso clean/ |
---|
61 | cp prepare clean/ |
---|
62 | cp build_static clean/ |
---|
63 | cp prepare_ini clean/ |
---|
64 | cp prepare_post clean/ |
---|
65 | cp prepare_offline clean/ |
---|
66 | |
---|
67 | date > clean/datesave |
---|
68 | cp -f clean/datesave SRC/ |
---|
69 | cp -f clean/saved SRC/ |
---|
70 | |
---|
71 | #mv clean `date +LMD_MM_MARS_%Y_%m_%d` |
---|
72 | mv clean LMD_MM_MARS |
---|
73 | |
---|
74 | tar czvf `date +LMD_MM_MARS_%Y_%m_%d.tar.gz` LMD_MM_MARS #`date +LMD_MM_MARS_%Y_%m_%d` |
---|
75 | rm -rf LMD_MM_MARS #`date +LMD_MM_MARS_%Y_%m_%d` |
---|
76 | |
---|
77 | if [[ -d TESTCASE ]] |
---|
78 | then |
---|
79 | tar czvf DATA.tar.gz TESTCASE |
---|
80 | mv DATA.tar.gz LMD_MM_MARS_TESTCASE.tar.gz |
---|
81 | fi |
---|
82 | |
---|
Note: See
TracBrowser
for help on using the repository browser.