Changeset 4701 for BOL/Multi_atlas/make_axe4.sh
- Timestamp:
- Sep 20, 2023, 12:21:16 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Multi_atlas/make_axe4.sh
r3684 r4701 1 #!/bin/bash 1 #!/bin/bash -vx 2 2 # Par exemple: 3 3 # ./make_axe4.sh V6.5AIS8 4 4 5 local=`pwd` 6 source ${local}/env_Multi_atlas_axe4.sh 5 7 # ----------------------------------------------------------------- 6 8 … … 16 18 comp=$1 17 19 18 season=YEAR19 GR=VLR20 MAIN_SE=/prodigfs/ipslfs/dods/fabric/lmdz/SE21 EXPNAME=NPV5LRL7922 STOREDIR=/prodigfs/ipslfs/dods/fabric/lmdz/STORE/$EXPNAME23 MULTIDIR=/prodigfs/ipslfs/dods/fabric/lmdz/MultiSimu24 20 COMP_D=$MULTIDIR/$comp 25 runstxt= /home/fabric/LMDZ/MultiSimu/runs.txt21 runstxt=${local}/runs.txt 26 22 if [ ! -d $COMP_D ] ; then echo "$COMP_D not found" && exit ; fi 27 23 … … 45 41 46 42 # PLOT OBSERVED PRECIP 47 cmdtmp="./AXE4/make_axe4-map-precip-obs.py -o $outputdir" 48 echo $cmdtmp && ./$cmdtmp 43 cmdtmp="${local}/AXE4/make_axe4-map-precip-obs.py -o $outputdir" 44 echo $cmdtmp 45 $cmdtmp 49 46 50 47 # PLOT SIMULATION RESULTS … … 55 52 simdir=`grep -w "^$sim " $runstxt | awk ' { print $2 } '` 56 53 run=`basename $simdir ` 57 # input=/prodigfs/ipslfs/dods/fabric/lmdz/SE/ORIG/${sim}_SE_${years}_1M_histmth.nc 58 input=$simdir/ATM/Analyse/SE/${run}_SE_${years}_1M_histmth.nc 54 input=$SEORIG/${run}_SE_${years}_1M_histmth.nc 59 55 if [ -e $input ] 60 56 then 61 cmdtmp="./AXE4/make_axe4-map-precip.py -i $input -o $outputdir" 62 echo $cmdtmp && ./$cmdtmp 57 cmdtmp="${local}/AXE4/make_axe4-map-precip.py -i $input -o $outputdir" 58 echo $cmdtmp 59 $cmdtmp 60 cmdtmp="${local}/AXE4/make_axe4-map-precip_newcoord.py -i $input -o $outputdir" 61 echo $cmdtmp 62 $cmdtmp 63 63 else 64 64 echo $input' file not found' … … 85 85 years=`grep '^'$sim' ' $DEF_FILE | awk ' { print $2 }'` 86 86 echo FICHIERS POUR LA SIMULATION $sim annees $years 87 # input=/prodigfs/ipslfs/dods/fabric/lmdz/SE/ORIG/${sim}_SE_${years}_1M_histmth.nc88 87 simdir=`grep -w "^$sim " $runstxt | awk ' { print $2 } '` 89 88 run=`basename $simdir ` 90 input=$ simdir/ATM/Analyse/SE/${run}_SE_${years}_1M_histmth.nc89 input=$SEORIG/${run}_SE_${years}_1M_histmth.nc 91 90 if [ -e $input ] 92 91 then 93 cmdtmp="./AXE4/make_axe4-temp-DC-mast.py -i $input -o $outputdir" 94 echo $cmdtmp && ./$cmdtmp 95 ( cd ./AXE4/ETIENNE3/ ; ./plot.sh -i $input -o $outputdir ; cd ../.. ) 92 cmdtmp="${local}/AXE4/make_axe4-temp-DC-mast.py -i $input -o $outputdir" 93 echo $cmdtmp 94 $cmdtmp 95 cd ${local}/AXE4/ETIENNE3/ 96 echo ./plot.sh -i $input -o $outputdir 97 ./plot.sh -i $input -o $outputdir 98 cd ${local} 96 99 else 97 100 echo $input' file not found'
Note: See TracChangeset
for help on using the changeset viewer.