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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Multi_atlas/html_entete.sh

    r4307 r4342  
    11#!/bin/bash
    22
     3source ~/env_Multi_atlas.sh
     4
    35comp=$1
     6dataref=$2
    47shift
    58
    69local=`pwd -P`
     10
     11if [ 1 == 0 ]; then
    712login=`whoami`
    813hostname=`hostname`
     
    2631DODSDIR=
    2732fi
     33fi
    2834
    2935echo OK0
     
    3137OUT_DIR=$DODSDIR/$login/lmdz/MultiSimu/$comp
    3238ref=`head -1 $OUT_DIR/def.txt | awk ' { print $1 } '`
     39
     40if [ $dataref = 1 ]; then
     41ref=OBS
     42elif [ $dataref = 0 ]; then
     43ref=`head -1 ${OUT_DIR}/def.txt | awk ' { print $1 } '`
     44fi
    3345
    3446ZON_DIR=$OUT_DIR/ZON
Note: See TracChangeset for help on using the changeset viewer.