Ignore:
Timestamp:
Oct 16, 2012, 12:57:35 PM (12 years ago)
Author:
slebonnois
Message:

SL: Many changes for VENUS (related to newstart) and TITAN (related to clouds). Please read DOC/chantiers/commit_importants.log (cf v808).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/NCL/visu-ncl

    r500 r808  
    11#!/bin/bash
    22
    3 # Directory where the NCL files are located ** EDIT **
     3# Directory where the NCL files are located  ** EDIT **
    44
    55export NCLDIR=~/LMDZ5/UTIL/NCL
     
    1111inFile="nofile"
    1212var="liste"
     13labelvar="dummy"
    1314var2="dummy"
    1415media="x11"
     
    5657          inFile=$2 ; shift ; shift ;;
    5758      "-v")
    58           var=$2 ; shift ; shift ;;
     59          var=${2%%,*}
     60          tmp=${2#*,}
     61          labelvar=${tmp%%,*}
     62          if [ $labelvar != $var ]; then
     63            labelvar=${tmp#*,}
     64          fi
     65          shift ; shift ;;
    5966      "-v2")
    6067          var2=$2 ; shift ; shift ;;
     
    190197ncl inFile=\"$inFile\"  \
    191198    var=\"$var\" \
     199    labelvar=\"$labelvar\" \
    192200    var2=\"$var2\" \
    193201    media=\"$media\" \
     
    220228    planeto.ncl
    221229
    222 if [ -f *pdf ]; then
     230if [ -f *pdf ]; then 
    223231   mv *pdf $SIMUDIR
    224232fi
    225233
    226 if [ -f *ps ]; then
     234if [ -f *ps ]; then 
    227235   mv *ps $SIMUDIR
    228236fi
Note: See TracChangeset for help on using the changeset viewer.