Changeset 210 in lmdz_wrf for trunk


Ignore:
Timestamp:
Dec 10, 2014, 4:53:34 PM (10 years ago)
Author:
lfita
Message:

Changing figures output to $ofold/figs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/lmdz_check.bash

    r209 r210  
    5656  kvalues='2dh:hovz:tevol'
    5757
    58   otex='lmdz_check.tex'
     58  otex=${ofold}'/lmdz_check.tex'
    5959####### ###### ##### #### ### ## #
    6060# Levels to interpolate
     
    173173  if test $draw -eq 1; then
    174174  echo "Drawing..."
     175  mkdir ${ofold}/figs
     176
    175177  for vt in ${vtypes}; do
    176178    echo "variable type: "${vt}
     
    246248        exit
    247249      else
    248         mv 2Dfields_shadow_time.pdf ${ofold}/${stdn}_Hovmoller.pdf
    249         if test $vis -eq 1; then evince ${ofold}/${stdn}_Hovmoller.pdf & fi
     250        mv 2Dfields_shadow_time.pdf ${ofold}/figs/${stdn}_Hovmoller.pdf
     251        if test $vis -eq 1; then evince ${ofold}/figs/${stdn}_Hovmoller.pdf & fi
    250252      fi
    251253      fi
     
    267269        exit
    268270      else
    269         mv TimeSeries_${stdn}.pdf ${ofold}/${stdn}_TimeSeries.pdf
    270         if test $vis -eq 1; then evince ${ofold}/${stdn}_TimeSeries.pdf & fi
     271        mv TimeSeries_${stdn}.pdf ${ofold}/figs/${stdn}_TimeSeries.pdf
     272        if test $vis -eq 1; then evince ${ofold}/figs/${stdn}_TimeSeries.pdf & fi
    271273      fi
    272274      fi
     
    310312        exit
    311313      else
    312         mv 2Dfields_shadow.pdf ${ofold}/${stdn}_hor.pdf
    313         if test $vis -eq 1; then evince ${ofold}/${stdn}_hor.pdf & fi
     314        mv 2Dfields_shadow.pdf ${ofold}/figs/${stdn}_hor.pdf
     315        if test $vis -eq 1; then evince ${ofold}/figs/${stdn}_hor.pdf & fi
    314316      fi
    315317      fi
     
    354356        exit
    355357      else
    356         mv Neighbourghood_evol.pdf ${ofold}/${stdn}_Neighbourghood_evol.pdf
    357         if test $vis -eq 1; then evince ${ofold}/${stdn}_Neighbourghood_evol.pdf & fi
     358        mv Neighbourghood_evol.pdf ${ofold}/figs/${stdn}_Neighbourghood_evol.pdf
     359        if test $vis -eq 1; then evince ${ofold}/figs/${stdn}_Neighbourghood_evol.pdf & fi
    358360      fi
    359361      fi
     
    409411\\begin{center}
    410412\\begin{tabular}{cc}
    411 \\includegraphics[height=0.2\\textheight]{${ofold}/dq${varn}_hor}
    412 &
    413 \\includegraphics[height=0.2\\textheight]{${ofold}/dt${varn}_hor}
     413\\includegraphics[height=0.2\\textheight]{figs/dq${varn}_hor}
     414&
     415\\includegraphics[height=0.2\\textheight]{figs/dt${varn}_hor}
    414416\\\\
    415 \\includegraphics[height=0.2\\textheight]{${ofold}/dq${varn}_Hovmoller}
    416 &
    417 \\includegraphics[height=0.2\\textheight]{${ofold}/dt${varn}_Hovmoller}
     417\\includegraphics[height=0.2\\textheight]{figs/dq${varn}_Hovmoller}
     418&
     419\\includegraphics[height=0.2\\textheight]{figs/dt${varn}_Hovmoller}
    418420\\\\
    419 \\includegraphics[height=0.2\\textheight]{${ofold}/dq${varn}_TimeSeries}
    420 &
    421 \\includegraphics[height=0.2\\textheight]{${ofold}/dt${varn}_TimeSeries}
     421\\includegraphics[height=0.2\\textheight]{figs/dq${varn}_TimeSeries}
     422&
     423\\includegraphics[height=0.2\\textheight]{figs/dt${varn}_TimeSeries}
    422424\\\\
    423 \\includegraphics[height=0.2\\textheight]{${ofold}/dq${varn}_Neighbourghood_evol}
    424 &
    425 \\includegraphics[height=0.2\\textheight]{${ofold}/dt${varn}_Neighbourghood_evol}
     425\\includegraphics[height=0.2\\textheight]{figs/dq${varn}_Neighbourghood_evol}
     426&
     427\\includegraphics[height=0.2\\textheight]{figs/dt${varn}_Neighbourghood_evol}
    426428\\end{tabular}
    427429EOF
     
    463465\\begin{center}
    464466\\begin{tabular}{cc}
    465 \\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_hor}
    466 &
    467 \\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_hor}
     467\\includegraphics[height=0.2\\textheight]{figs/du${varn}_hor}
     468&
     469\\includegraphics[height=0.2\\textheight]{figs/dv${varn}_hor}
    468470\\\\
    469 \\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_Hovmoller}
    470 &
    471 \\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_Hovmoller}
     471\\includegraphics[height=0.2\\textheight]{figs/du${varn}_Hovmoller}
     472&
     473\\includegraphics[height=0.2\\textheight]{figs/dv${varn}_Hovmoller}
    472474\\\\
    473 \\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_TimeSeries}
    474 &
    475 \\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_TimeSeries}
     475\\includegraphics[height=0.2\\textheight]{figs/du${varn}_TimeSeries}
     476&
     477\\includegraphics[height=0.2\\textheight]{figs/dv${varn}_TimeSeries}
    476478\\\\
    477 \\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_Neighbourghood_evol}
    478 &
    479 \\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_Neighbourghood_evol}
     479\\includegraphics[height=0.2\\textheight]{figs/du${varn}_Neighbourghood_evol}
     480&
     481\\includegraphics[height=0.2\\textheight]{figs/dv${varn}_Neighbourghood_evol}
    480482\\end{tabular}
    481483EOF
     
    510512\\begin{center}
    511513\\begin{tabular}{ccc}
    512 \\includegraphics[width=0.33\\textwidth]{${ofold}/${varn}_hor}
    513 &
    514 \\includegraphics[width=0.33\\textwidth]{${ofold}/${varn}_TimeSeries}
    515 &
    516 \\includegraphics[width=0.33\\textwidth]{${ofold}/${varn}_Neighbourghood_evol}
     514\\includegraphics[width=0.33\\textwidth]{figs/${varn}_hor}
     515&
     516\\includegraphics[width=0.33\\textwidth]{figs/${varn}_TimeSeries}
     517&
     518\\includegraphics[width=0.33\\textwidth]{figs/${varn}_Neighbourghood_evol}
    517519\\end{tabular}
    518520EOF
     
    554556\\begin{center}
    555557\\begin{tabular}{cc}
    556 \\includegraphics[width=0.5\\textwidth]{${ofold}/${varn}_hor}
    557 &
    558 \\includegraphics[width=0.5\\textwidth]{${ofold}/${varn}_Hovmoller}
     558\\includegraphics[width=0.5\\textwidth]{figs/${varn}_hor}
     559&
     560\\includegraphics[width=0.5\\textwidth]{figs/${varn}_Hovmoller}
    559561\\\\
    560 \\includegraphics[width=0.5\\textwidth]{${ofold}/${varn}_TimeSeries}
    561 &
    562 \\includegraphics[width=0.5\\textwidth]{${ofold}/${varn}_Neighbourghood_evol}
     562\\includegraphics[width=0.5\\textwidth]{figs/${varn}_TimeSeries}
     563&
     564\\includegraphics[width=0.5\\textwidth]{figs/${varn}_Neighbourghood_evol}
    563565\\end{tabular}
    564566EOF
     
    593595EOF
    594596  otexn=`echo ${otex} | tr '.' ' ' | awk '{print $1}'`
     597  cd ${ofold}
    595598  pdflatex ${otexn}
    596599  pdflatex ${otexn}
    597600  evince ${otexn}.pdf &
     601  cd ${rootsh}
    598602  fi
    599603fi
Note: See TracChangeset for help on using the changeset viewer.