Changeset 4341 for BOL


Ignore:
Timestamp:
Nov 10, 2022, 9:58:20 AM (19 months ago)
Author:
musat
Message:

Inclut environnement spirit et dernieres corrections (2/3)
IonelaMusat?

Location:
BOL/Multi_atlas
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOL/Multi_atlas/make_html_libigcm.sh

    r4330 r4341  
    33#set -x
    44
    5 source ./env.sh
     5source ~/env_Multi_atlas.sh
    66
    77###########################################################################
     
    5252done
    5353
     54HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
     55MULTIDIR=${DODSDIR}/${login}/lmdz/MultiSimu
    5456COMP_D=$MULTIDIR/$comp
    5557DEF_FILE=$COMP_D/def.txt
    5658HTML_D=$COMP_D
     59CICLAD=/thredds/ipsl/${login}/lmdz
     60ROOTWORK=$CICLAD
    5761
    5862####################################################################
    59 if [ 1 == 0 ]; then
    60 if [ ${hostname:0:5} = cicla ] || [ ${hostname:0:5} = spiri ]; then
    61 
    62 ###tmpdir=/thredds/ipsl/fabric/lmdz
    63 tmpdir=/thredds/ipsl/${login}/lmdz
    64 EXPNAME=B96x95x39/V20090611.dev/
    65 ROOTWORK=$tmpdir
    66 ROOTWEBORIG=""
    67 EXPNAME=IGCM_OUT/$CONFIGNAME/DEVT/clim
    68 
    69 STORAGE=$ARCHIVE
    70 put=mfput
    71 ROOTWEBatlas=http://dods.idris.fr/$LOGNAME/$EXPNAME
    72 HTML_D=$ROOTSTORAGE/HTML
    73 
    74 DODSDIR=/thredds/ipsl
    75 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
    76 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
    77 DODSDIR=/thredds/ipsl
    78 dthredds=thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds
    79 HTML=http://${dthredds}/$login/lmdz/MultiSimu/$comp
    80 ####################################################################
    81 EXPNAME=NPV5LRL79
    82 put=cp
    83 CICLAD=/thredds/ipsl/${login}/lmdz
    84 ARCHIVE=$CICLAD/STORE
    85 workdir=$CICLAD/WORK
    86 STORAGE=$CICLAD
    87 ROOTWEBatlas=http://thredds-su.ipsl.fr/thredds/fileServer/ipsl_thredds/${logname}/lmdz/STORE/$EXPNAME
    88 MULTIDIR=/thredds/ipsl/${login}/lmdz/MultiSimu
    89 COMP_D=$MULTIDIR/$comp
    90 DEF_FILE=$COMP_D/def.txt
    91 HTML_D=$COMP_D
    92 
    93 ROOTSTORAGE=$ARCHIVE/$EXPNAME
    94 ROOTDODS=DODS/pub/$LOGNAME/$CONFIGNAME
    95 ROOTWEB="http://dodsp.idris.fr/$LOGNAME/$EXPNAME"
    96 # http://dods.extra.cea.fr/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim/AR5.0lr/ATM/Analyse/COSP/Calipso/1982-1989
    97 #ROOTWEB_PROD=http://dods.extra.cea.fr/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    98 ROOTWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    99 ROOTWEB_PROD=https://thredds-su.ipsl.fr/thredds/catalog/work/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    100 ROOTWEB_PROD=https://thredds-su.ipsl.fr/thredds/catalog/store_thredds/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    101 ROOTWEB_PRODout=https://thredds-su.ipsl.fr/thredds/catalog/store_thredds/aidel/LMDZOR/DEVT/clim
    102 #STOREWEB_PROD=http://dods.extra.cea.fr/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    103 #STOREWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    104 STOREWEB_PROD=http://esgf.extra.cea.fr/thredds/catalog/store_thredds/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    105 STOREWEB_PRODold=http://esgf.extra.cea.fr/thredds/catalog/store/aidel/IGCM_OUT/LMDZOR/DEVT/clim
    106 #ROOTWEBatlas=http://dods.idris.fr/$LOGNAME/$CONFIGNAME/DEVT/clim
    107 if [ "$ROOTWEBORIG" = "" ] ; then
    108 ROOTWEBORIG=ROOTWEBlibigcm
    109 fi
    110 
    111 echo ROOTSTORAGE $ROOTSTORAGE ROOTWEB $ROOTWEB
    112 
    113 fi
    114 fi
    115  
    11663glob=1
    11764
  • BOL/Multi_atlas/make_index_html.sh

    r4307 r4341  
    22
    33comp=$1
    4 dataref=$2
     4ref=$2
    55
    66login=`whoami`
     
    1515COMP_D=$MULTIDIR/$comp
    1616
     17if [ 1 == 0 ]; then
    1718if [ $dataref = 1 ]; then
    1819ref=OBS
    1920elif [ $dataref = 0 ]; then
    2021ref=`head -1 ${COMP_D}/def.txt | awk ' { print $1"_"$2 } '`
     22fi
    2123fi
    2224
  • BOL/Multi_atlas/multi_atlas.sh

    r4307 r4341  
    22
    33#set -v
     4
     5source ~/env_Multi_atlas.sh
    46
    57login=`whoami`
     
    911season=$3
    1012proj=$4
    11 ref=$5
    12 shift ; shift ; shift ; shift ; shift
     13dref=$5
     14ref=$6
     15
     16shift ; shift ; shift ; shift ; shift ; shift
    1317
    1418sims="$*"
     19echo sims are: $sims
     20
    1521nsims=$#
    16 echo REF $ref
    17 echo SIM $sims
     22echo REF $dref
     23#echo SIM $sims
     24echo SIM are $ref
     25#sims="$ref $sims"
     26#echo sims are: $sims
    1827
     28if [ 1 == 0 ]; then
    1929login=`whoami`
    20 
    2130hostname=`hostname`
    2231if [ ${hostname:0:5} = cicla ] ; then
     
    3847if [ ${hostname:0:5} = jean- ] ; then
    3948DODSDIR=
     49fi
    4050fi
    4151
     
    6777echo PROJ $proj
    6878echo SEASON $season
    69 if [ -f $sref ] ; then
     79#if [ -f $sref ] ; then
    7080for i in `sed -n -e '/TH ALIGN=LEFT.*.li/=' $sref` ; do
    7181#for i in `sed -n -e '/<TH ALIGN=LEFT> <li>/=' $sref` ; do
     
    8999      #####################################################################
    90100      echo '<hr/>' >> $compf
    91       echo '<h1> Multi atlas, '$season', simulation de référence : '$ref' ('$bias') </h1>' >> $compf
     101      echo '<h1> Multi atlas, '$season', simulation de référence : '$dref' ('$bias') </h1>' >> $compf
    92102     #####################################################################
    93103
     
    146156   fi
    147157done
    148 fi
     158#fi
    149159
    150160#echo VOTRE MULTIATLAS EST DISPONIBLE SUR $HTML/ACCUEIl.html
  • BOL/Multi_atlas/webpage_multi.sh

    r4307 r4341  
    22
    33#set -v
     4
     5source ~/env_Multi_atlas.sh
     6
    47# Definition des coleurs d'affichage
    58noir='\e[0;30m' gris='\e[1;30m' rougefonce='\e[0;31m' rose='\e[1;31m' vertfonce='\e[0;32m' vertclair='\e[1;32m' orange='\e[0;33m' jaune='\e[1;33m' bleufonce='\e[0;34m' bleuclair='\e[1;34m' violetfonce='\e[0;35m' violetclair='\e[1;35m' cyanfonce='\e[0;36m' cyanclair='\e[1;36m' grisclair='\e[0;37m' blanc='\e[1;37m' neutre='\e[0;m'
     
    1013comp=$1
    1114
     15HTML=https://${dthredds}/$login/lmdz/MultiSimu/$comp
     16
     17if [ 1 == 0 ]; then
    1218hostname=`hostname`
    1319if [ ${hostname:0:5} = cicla ] ; then
     
    3036DODSDIR=
    3137fi
     38fi
    3239
    3340echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
Note: See TracChangeset for help on using the changeset viewer.