| [2] | 1 | #!/bin/csh |
|---|
| 2 | |
|---|
| 3 | # en local |
|---|
| 4 | |
|---|
| 5 | set dir=~lmdz/DATA |
|---|
| 6 | set cp="ln -s" |
|---|
| 7 | |
|---|
| 8 | #=================================================================== |
|---|
| 9 | # Fichiers necessaires a la creations des etats initiaux |
|---|
| 10 | #=================================================================== |
|---|
| 11 | $cp $dir/albedo.g1x1.dat albed.dat # Albedos de surface |
|---|
| 12 | $cp $dir/albedo.g1x1.dic albed.dic |
|---|
| 13 | $cp $dir/amip88.g2x2.dat amip.dat # SST |
|---|
| 14 | $cp $dir/amip88.g2x2.dic amip.dic |
|---|
| 15 | $cp $dir/ecdyn.d880701.h12.dat ecdyn.dat # Etat initial dynamique |
|---|
| 16 | $cp $dir/ecdyn.d880701.h12.dic ecdyn.dic |
|---|
| 17 | $cp $dir/ecphy.d880701.h12.dat ecphy.dat # Etat initial physique |
|---|
| 18 | $cp $dir/ecphy.d880701.h12.dic ecphy.dic |
|---|
| 19 | $cp $dir/relief.usnavy.dat relief.dat # Fichier de relief |
|---|
| 20 | $cp $dir/relief.usnavy.dic relief.dic |
|---|
| 21 | $cp $dir/rugos.g1x1.dat rugos.dat # Rugosite de la surface |
|---|
| 22 | $cp $dir/rugos.g1x1.dic rugos.dic |
|---|
| 23 | #=================================================================== |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | if ( ! -f run.def ) then |
|---|
| 27 | echo Il faut avoir sur le repertoire courant un fichier run.def |
|---|
| 28 | exit |
|---|
| 29 | endif |
|---|
| 30 | |
|---|
| 31 | # Creation des etats initiaux |
|---|
| 32 | # =========================== |
|---|
| 33 | echo "execution de etat0_lmd.e, sortie dans etat0_lmd.l" |
|---|
| 34 | ./etat0_lmd.e << EoD >! etat0_lmd.l |
|---|
| 35 | 181 |
|---|
| 36 | EoD |
|---|
| 37 | |
|---|
| 38 | # Creation des conditions aux limites |
|---|
| 39 | # =================================== |
|---|
| 40 | echo "execution de limit_lmd.e, sortie dans limit_lmd.l" |
|---|
| 41 | ./limit_lmd.e >! limit_lmd.l |
|---|
| 42 | |
|---|
| 43 | # Conditions aux limites pour les especes traces |
|---|
| 44 | # ============================================== |
|---|
| 45 | if ( -f limit_tr.e ) then |
|---|
| 46 | $cp $dir/so2_1x1 so2_1x1 |
|---|
| 47 | limit_tr.e > limit_tr.l |
|---|
| 48 | else |
|---|
| 49 | echo Vous n avez pas cree le fichier limit_tr utilise par les versions |
|---|
| 50 | echo du modele avec traceurs |
|---|
| 51 | endif |
|---|