source: trunk/mesoscale/LMD_MM_MARS/save_all @ 13

Last change on this file since 13 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#! /bin/bash
2
3echo Saving LMD_MM_MARS !
4
5mkdir clean
6
7cd SRC
8
9  cd WRFV2
10    save_changes
11    mv sources_Mars.tar.gz ../../clean/
12    mv saved ../../clean/
13  cd ..
14
15  tar czvf ARWpost.tar.gz ARWpost
16  mv ARWpost.tar.gz ../clean/
17
18  #tar czvf INIT_SIMPLE_TEST.tar.gz INIT_SIMPLE_TEST
19  #mv INIT_SIMPLE_TEST.tar.gz ../clean/
20  cp INIT_SIMPLE_TEST.tar.gz ../clean/
21
22  tar czvf PREP_MARS.tar.gz PREP_MARS
23  mv PREP_MARS.tar.gz ../clean/
24
25  tar czvf WPS.tar.gz WPS/switch* WPS/wps_mars
26  mv WPS.tar.gz ../clean/
27
28  #tar czvf g95.tar.gz g95
29  #mv g95.tar.gz ../clean/
30  cp g95.tar.gz ../clean/
31
32  #tar czvf mac.tar.gz mac
33  #mv mac.tar.gz ../clean/
34  cp mac.tar.gz ../clean/
35
36cd ..
37
38tar czvf SIMU.tar.gz SIMU
39mv SIMU.tar.gz clean/
40
41tar czvf WPS_GEOG.tar.gz WPS_GEOG/res WPS_GEOG/*_GCM
42mv WPS_GEOG.tar.gz clean/
43
44#cd WPS_GEOG
45#cd not_used
46#save_wps_geog
47#mv -f WPS_GEOG.tar.gz ../../clean/
48#cd ../..
49
50cp copy_model clean/
51cp save_all clean/
52cp makemeso clean/
53cp prepare clean/
54cp build_static clean/
55cp prepare_ini clean/
56cp prepare_post clean/
57cp prepare_offline clean/
58
59date > clean/datesave
60cp -f clean/datesave SRC/
61cp -f clean/saved SRC/
62
63#mv clean `date +LMD_MM_MARS_%Y_%m_%d`
64mv clean LMD_MM_MARS
65
66tar czvf `date +LMD_MM_MARS_%Y_%m_%d.tar.gz` LMD_MM_MARS #`date +LMD_MM_MARS_%Y_%m_%d`
67rm -rf LMD_MM_MARS #`date +LMD_MM_MARS_%Y_%m_%d`
68
69if [[ -d TESTCASE ]]
70then
71tar czvf DATA.tar.gz TESTCASE
72mv DATA.tar.gz LMD_MM_MARS_TESTCASE.tar.gz
73fi
74
Note: See TracBrowser for help on using the repository browser.