Changeset 42 for src/param2Rwave.sh


Ignore:
Timestamp:
Aug 22, 2018, 12:12:41 PM (8 years ago)
Author:
htune
Message:

added bench2waves.sh to test multiwave (in particular htune_convertDesign.R and param2Rwave.sh). Modified serie_LMDZ.sh and serie_ECRAD.sh scripts so that last argument in the call is WAVEN. The wavenumber is now in the name of the pdfs created. Also commented some of the prints and echos to shorten the logs. (Najda)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/param2Rwave.sh

    r18 r42  
    1313if [ ! -f $RDATA_FILE ] ; then echo fichier $RDATA_FILE inexistant ; exit ; fi
    1414if [ ! $WAVEN -ge 2 ] ; then echo WAVEN should be '>=' 2 ; exit ; fi
     15
    1516# Specify the number of wave that we are currently in.
    16 sed -i '' '31s/.*/WAVEN='$WAVEN'/' htune_convertDesign.R
     17sed -e 's/WAVEN=.*/WAVEN='$WAVEN'/' htune_convertDesign.R > htune_convertDesign$WAVEN.R
    1718
    18 Rscript htune_convertDesign.R
     19cp WAVE1/ModelParam.R .
    1920
    20 ls -lrt
     21Rscript htune_convertDesign$WAVEN.R
    2122
    2223mkdir WAVE$WAVEN
    23 
    2424mv Wave$WAVEN.RData WAVE$WAVEN/
    25 
    2625mv Par1D_Wave$WAVEN.asc WAVE$WAVEN/
     26mv ModelParam.R WAVE$WAVEN/
Note: See TracChangeset for help on using the changeset viewer.