[cig-commits] r12396 - in seismo/3D/ADJOINT_TOMO/flexwin: . latex scripts

alessia at geodynamics.org alessia at geodynamics.org
Tue Jul 8 05:27:37 PDT 2008


Author: alessia
Date: 2008-07-08 05:27:37 -0700 (Tue, 08 Jul 2008)
New Revision: 12396

Modified:
   seismo/3D/ADJOINT_TOMO/flexwin/README
   seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_manual.pdf
   seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_paper.pdf
   seismo/3D/ADJOINT_TOMO/flexwin/latex/manual_technical.tex
   seismo/3D/ADJOINT_TOMO/flexwin/scripts/plot_seismos_gmt.sh
Log:
fixed minor incompatibilities

Modified: seismo/3D/ADJOINT_TOMO/flexwin/README
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/README	2008-07-08 11:37:06 UTC (rev 12395)
+++ seismo/3D/ADJOINT_TOMO/flexwin/README	2008-07-08 12:27:37 UTC (rev 12396)
@@ -70,7 +70,7 @@
 will be distributed by IRIS as part of the SAC package (at the moment only
 libsacio is distributed this way).  For the time being, you should compile
 libSacLib.a using the source code in the SacLib directory that accompanies
-flexwin.  
+flexwin (instructions later).  
 
 IMPORTANT NOTE: The SacLib directory is a temporary fix.  The SAC source code
 from which the SacLib library is compiled is proprietary and should not be
@@ -97,8 +97,7 @@
 flexwin/ttimes_mod directory type: "make -f make_gfortran".  This will compile
 libtau.a, and two programs, remodl and setbrn.  The makefile will also run
 remodl and setbrn to create the iasp91.hed and iasp91.tbl files.  You should
-then type "make -f make_gfortran install" to install the iasp91 files in the
-root flexwin directory.
+then type "make -f make_gfortran install" to install the iasp91 files.
 
 (3) Compile flexwin.  Edit the make_gfortran file in the flexwin root directory to ensure the SACLIBDIR variable points to the location of your SAC libraries (by default /opt/sac/lib).  Then type "make -f make_gfortran".
 
@@ -117,8 +116,8 @@
 subdirectory.
 
 You can also test the basic plotting script by running "./plot_seismos_gmt.sh
-MEASURE/ABKT.II.LHZ", whose output will be MEASURE/ABKT.II.LHZ.seis.eps and a
-corresponding .pdf file.
+MEASURE/ABKT.II.LHZ", whose output will be MEASURE/ABKT.II.LHZ.seis.eps.   Note
+that plotting scripts require GMT.
 
 
 

Modified: seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_manual.pdf
===================================================================
(Binary files differ)

Modified: seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_paper.pdf
===================================================================
(Binary files differ)

Modified: seismo/3D/ADJOINT_TOMO/flexwin/latex/manual_technical.tex
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/latex/manual_technical.tex	2008-07-08 11:37:06 UTC (rev 12395)
+++ seismo/3D/ADJOINT_TOMO/flexwin/latex/manual_technical.tex	2008-07-08 12:27:37 UTC (rev 12396)
@@ -8,7 +8,7 @@
 \begin{itemize}
 \item UNIX operating system (Linux, Solaris, MacOS \ldots)
 \item a fortran compiler (gfortran, ifort, etc...) 
-\item other packages : (SAC, Seismic Analysis Code, available from IRIS)
+\item other packages : SAC (Seismic Analysis Code, available from IRIS); GMT (Generic Mapping Tools) for the plotting scripts
 \end{itemize}
 
 FLEXWIN requires the following libraries external to the package in order to
@@ -95,8 +95,7 @@
 {\tt flexwin/ttimes\_mod} directory type: {\tt make -f make\_gfortran}.  This will compile
 {\tt libtau.a}, and two programs, {\tt remodl} and {\tt setbrn}.  The makefile will also run
 {\tt remodl} and {\tt setbrn} to create the {\tt iasp91.hed} and {\tt iasp91.tbl} files.  You should
-then type {\tt make -f make\_gfortran install} to install the iasp91 files in the
-root directory.
+then type {\tt make -f make\_gfortran install} to install the iasp91 files. 
 \item Compile {\tt flexwin}.  Edit the {\tt make\_gfortran} file in the root directory to ensure the {\tt SACLIBDIR} variable points to the location of your SAC libraries (by default {\tt /opt/sac/lib}).  Then type {\tt make -f make\_gfortran}.
 \end{enumerate}
 
@@ -115,7 +114,7 @@
 
 You can also test the basic plotting script by running {\tt ./plot\_seismos\_gmt.sh
 MEASURE/ABKT.II.LHZ}, whose output will be
-{\tt MEASURE/ABKT.II.LHZ.seis.eps} and a corresponding .pdf
+{\tt MEASURE/ABKT.II.LHZ.seis.eps}.
 file.  Your result should be identical to that shown in Figure~\ref{fg:test_data}.
 
 \begin{figure}

Modified: seismo/3D/ADJOINT_TOMO/flexwin/scripts/plot_seismos_gmt.sh
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/scripts/plot_seismos_gmt.sh	2008-07-08 11:37:06 UTC (rev 12395)
+++ seismo/3D/ADJOINT_TOMO/flexwin/scripts/plot_seismos_gmt.sh	2008-07-08 12:27:37 UTC (rev 12396)
@@ -125,12 +125,11 @@
 psbasemap -R$region -J$proj -B${t_step}:"Time (s)":/S -O -U/0/-0.75/$basename >> $out
 #psbasemap -R$region -J$proj -B${t_step}:"Time (s)":/S -O >> $out
 
-bbox=`grep "%%BoundingBox: " $out | tail -1 `
-sed s/"$bbox"/"%"/ $out | sed s/"%%BoundingBox: (atend)"/"$bbox"/ > t1.$$
-epsffit -c -s 10 10 600 780 t1.$$ $out
-epstopdf $out
-rm t1.$$
-#rm $out  # remove eps file
+#bbox=`grep "%%BoundingBox: " $out | tail -1 `
+#sed s/"$bbox"/"%"/ $out | sed s/"%%BoundingBox: (atend)"/"$bbox"/ > t1.$$
+#epsffit -c -s 10 10 600 780 t1.$$ $out
+#epstopdf $out
+#rm t1.$$
 
 #echo $out
 #gv $out



More information about the cig-commits mailing list