| 1 | #!/bin/csh -vx |
|---|
| 2 | |
|---|
| 3 | # en local |
|---|
| 4 | |
|---|
| 5 | set dir=~lmdz/DATA/Netcdf |
|---|
| 6 | set cp="ln -s" |
|---|
| 7 | setenv LIBOGCM /tmp2/fairhead |
|---|
| 8 | |
|---|
| 9 | #=================================================================== |
|---|
| 10 | # Fichiers necessaires a la creations des etats initiaux |
|---|
| 11 | #=================================================================== |
|---|
| 12 | $cp $dir/ECDYN.nc . # Etat initial dynamique |
|---|
| 13 | $cp $dir/ECPHY.nc . # Etat initial physique |
|---|
| 14 | $cp $dir/Relief.nc . # Fichier de relief |
|---|
| 15 | $cp $dir/Rugos.nc . # Fichier rugosite sur un an |
|---|
| 16 | $cp $dir/AMIP.nc . # Fichier SST/Seaice sur un an |
|---|
| 17 | $cp $dir/Albedo.nc . # Fichier albedo sur un an |
|---|
| 18 | #=================================================================== |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | if ( ! -f run.def ) then |
|---|
| 22 | echo Il faut avoir sur le repertoire courant un fichier run.def |
|---|
| 23 | exit |
|---|
| 24 | endif |
|---|
| 25 | |
|---|
| 26 | # Compilation etat0_netcdf.e |
|---|
| 27 | # ========================== |
|---|
| 28 | $LMDGCM/makegcm etat0 |
|---|
| 29 | |
|---|
| 30 | # Creation des etats initiaux |
|---|
| 31 | # =========================== |
|---|
| 32 | echo "execution de etat0.e, sortie dans etat0.l" |
|---|
| 33 | ./etat0.e >! etat0.l |
|---|
| 34 | |
|---|
| 35 | # Compilation limit_netcdf.e |
|---|
| 36 | # ========================== |
|---|
| 37 | $LMDGCM/makegcm limit_netcdf |
|---|
| 38 | |
|---|
| 39 | # Creation des conditions aux limites |
|---|
| 40 | # =================================== |
|---|
| 41 | echo "execution de limit_lmd.e, sortie dans limit_lmd.l" |
|---|
| 42 | ./limit_netcdf.e >! limit_netcdf.l |
|---|
| 43 | |
|---|
| 44 | # Conditions aux limites pour les especes traces |
|---|
| 45 | # ============================================== |
|---|
| 46 | #if ( -f limit_tr.e ) then |
|---|
| 47 | #$cp $dir/so2_1x1 so2_1x1 |
|---|
| 48 | #limit_tr.e > limit_tr.l |
|---|
| 49 | #else |
|---|
| 50 | #echo Vous n avez pas cree le fichier limit_tr utilise par les versions |
|---|
| 51 | #echo du modele avec traceurs |
|---|
| 52 | #endif |
|---|