Last change
on this file since 4639 was
3684,
checked in by idelkadi, 4 years ago
|
Repository under svn of a first version of Multiatlas diagnostics for LMDZ. This version is adapted to be able to run a LMDZ multiatlas on an individual account on the ciclad machine of the IPSL. In this version, the parts to be modified are identified so as to subsequently adapt it to other machines.
This version is still under development.
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # Recuperation de la liste des atlas existants |
---|
4 | |
---|
5 | local=`pwd` |
---|
6 | |
---|
7 | for comp in T0 T0F TT CPLtest T0A CPL5to6 CPLV5.3to5 Guides5.3et5 V5.4 ; do |
---|
8 | |
---|
9 | COMP_D=/prodigfs/ipslfs/http/dods/web/html/fabric/lmdz/MultiSimu/$comp |
---|
10 | cd $COMP_D/ATLAS |
---|
11 | |
---|
12 | ref=`awk ' { print $1"_"$2 } ' ../def.txt | head -1` |
---|
13 | echo REF F F F FF FF $ref |
---|
14 | pwd |
---|
15 | |
---|
16 | for f in *${ref}* ; do line=`echo $f | sed -e 's/.html//' -e 's/_/ /g'` ; proj=`echo $line | awk ' { print $2 } '` ; seas=`echo $line | awk ' { print $3 }' ` ; vars="" ; virg="" ; for var in `grep 'LEFT.*.(' $f | cut -d\( -f2 | cut -d\) -f1` ; do vars="$vars$virg$var" ; virg="," ; done ; echo $seas $proj $vars ; done > ../atlas-def |
---|
17 | |
---|
18 | for f in *${ref}* ; do line=`echo $f | sed -e 's/.html//' -e 's/_/ /g'` ; proj=`echo $line | awk ' { print $2 } '` ; seas=`echo $line | awk ' { print $3 }' ` ; vars="" ; virg="" ; for var in `grep 'LEFT.*.(' $f | cut -d\( -f2 | cut -d\) -f1` ; do vars="$vars$virg$var" ; virg="," ; done ; for sim in `awk ' { print $1"_"$2 } ' ../def.txt` ; do echo ${sim}+${seas}+${proj}+$vars ; done ; done > atlas_OK |
---|
19 | |
---|
20 | cd $local |
---|
21 | |
---|
22 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.