preprints and reprints on the web are linked to the jpark homepage CV, but you may find others here
Must use ps2epsi
plot.ps plot.eps to
process
troublesome GMT output before inclusion into Latex.
can also try PAPER_MEDIA = letter+ in .gmtdefaults
see http://gmt.soest.hawaii.edu/gmt/doc/html/GMT_Docs/node119.html
MAKING CLEAN PDF files from LATEX: use pdflatex
filename.tex
This will create a PDF with scalable fonts
that are easy to read on a computer screen. The catch is that
pdflatex
cannot handle EPS figures. You must use a different format (very
annoying!) like JPG. It is possible to create a *.tex file that
will
access files in either format. The AGU Latex style files
adapt
to this well, because they use the includegraphics
command, rather than the epsf
style package. See
/park/backup/Vary/Layers/Paper12/cor03.tex
for how to do this. The main point here is that JPG files must
have
good resolution to print well. To use the UNIX convert
utility,
make JPEGs with commands of the type convert
-density 300x300 fig1.eps fig1.jpg
-- this creates JPGs for 300-dpi resolution
Guide for using plotit a FORTRAN plotting routine. (input data must be REAL*4 --> if you try to plot REAL*8 arrays, the computer will EXPLODE)
earth model file in "card" format: premiss, a version of isotropic PREM.
FFT routines fft2 (input/output is REAL*8) and refft (input/output is REAL*4)
some useful codes in /export/share/bin
sac - seismic analysis code; the quick reference sac header
procedure for obtaining data from IRIS DMC with weed on the sun, transferring to Linux
procedure
for
obtaining data from IRIS DMC with JWeed and processing with MacOs
X, including RETREAT-specific tasks
some useful codes in /data/k4/park/bin -- or wherever these codes
have gone to on the Dell and Macs
Theory of Everything coupling codes.
Ring around Hawaii procedure
sac_syndat: reads green's-fct output of synthetics routines, applies a source mechanism, and outputs sac-format synthetic records. The user can define the source mechanism via strike,dip,slip,Mo, or m1-6, or ask routine to lookup the cmt file (/park/backup/Source/cmt.dat).
sac_sphsynh: makes green-fct files for a spherical REM. User supplies sacfiles with the source location and station info, and manually inputs the onset time of the event.
anirec_chk
anirec_duo
genrecd_az
evalresp
mineos: code to compute free oscillations of a radial earth model
freqwrt,efnwrt,efnwrt2,efnwrt3: eigenfunction translation routines for mineos
Tips on using tar to backup files on the exabyte drive.
------------------------
NOTE: CONVERTING PS FILES TO TIFF FORMAT
You can do this with ghostview software:
gs -q -dNOPROMPT -dBATCH -sDEVICE=tiffpack -r600
-sOutputFile=dtra00_fig1.tiff dtra00_fig1.ps
(-r600 is 600 dpi; need to follow with a carriage return)
ghostview reference manual is here
note that it is hard to view the TIFF files in proper resolution with
xv and image_tool. xv decimates the resolution and dithers the
greyshades.
image_tool expands the figure and handles greyshade poorly as well.
------------------------
The problem getting ps files into Latex. You need to:
1) make sure the BBoox statement up on top of the file is
correct
(IslandDraw usually does a fair job). It makes sense to avoid extra
white
space in figures you intend to insert into a LaTeX file.
2) put epsf into the docemntstyle definition:
\documentstyle[agupp, epsf]{article}
3) Provide a wrapper for the PS file inside the "figure" environment,
as shown below (experiment with epsfysize statement)
%Figure 10.
\begin{figure}[tb]
\begin{center}
\leavevmode
\hbox{
\epsfysize=6.0in
\epsfbox{fig10.ps}}
\end{center}
\caption{Regional variation in the pattern of fast direction change
with back azimuth. Only high quality observations (circles from Figure
8) are retained.}
\end{figure}
------------------------
NOTE PROBLEMS WITH ISLAND DRAW
IF save as epsf format then edit the file.ps (BUT should use epsi !!!)
island draw is putting garbage at head and tail of file., as:
blaablaa...ΓΏ%!PS-Adobe-2.0 EPSF-2.0
--change to
%!PS-Adobe-2.0 EPSF-2.0
and add
showpage
at end, above garbage to be removed:
if save as EPSI format: file.ps, then must only add:
showpage
at end of the file.
------------------------
Island Draw to make posters:
set "options" --> "setup. . ." and change the size of the paper to 60x36 inches (landscape poster) or 36x60 inches (portrait-style poster). The printer "make" is HP Design Jet 755CM.
You can "import" postscript files from GMT and dvips output as pages to arrange and resize on the poster. Many GMT eps files do not rotate well. You must rotate the figures by editing the PS file in many cases.
NOTE that I have had strange problems with resizing the output from dvips. Text output from Adobe acrobat (Printed to a file using Level 1 Postscript *and* downloading fonts) seems to be OK. For instance, the Yuan et al poster for Fall 2000 AGU came out well. However, postscript output from dvips does not resize well (Park et al Kamchatka poster for Fall 2000 AGU meeting). I do not know how to fix this in a bullet-proof manner, so take your time and do test cases.
For a landscape-style poster, the raw final-image postscript must be rotated in order to be printed on the poster printer (waage). To do this, change the line
2.83465 -2.83465 scale 0 -914.4 translate
to
0.89 0.89 scale
2.83465 -2.83465 scale 000 000 translate -90
rotate
the "0.89 0.89 scale" may be necessary to circumvent a puzzling length limitation in J.Park's first try at printing out a poster from the Suns to printer waage.geology.yale.edu. You can test your file without the extra shrinkage if you like. Watch the printer and hit the cancel button if the end of the poster is truncated.
you MUST add a showpage to the end of the EPS file output from IslandDraw. It also saves much space if you delete the bitmapped preview image using the text editor.
print to printer waage while logged in on rock.