<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Shahar,<div><br></div><div>the best way to compare them is to output seismograms in SAC-format directly with the SPECFEM3D_GLOBE simulation. i.e. you need to set the flag in the DATA/Par_file:</div><div>..</div><div><div>OUTPUT_SEISMOS_SAC_ALPHANUM &nbsp; &nbsp; = .true.</div><div>..</div><div>or</div><div>..</div><div>OUTPUT_SEISMOS_SAC_BINARY &nbsp; &nbsp; &nbsp; = .true.</div></div><div>..</div><div><br></div><div>we here mostly use the second, binary format.&nbsp;this will provide the correct SAC headers for your comparisons (includes source/station infos and correct event time). using asc2sac only provides basic infos in the SAC header, so the scripts for comparisons with real data will need some additional arguments (e.g. -m CMTSOLUTION).</div><div><br></div><div>however, if you insist on using asc2sac, here is how you get it:</div><div><br></div><div>1. obviously, you will need first a SAC installation. you can get the software from:</div><div><a href="http://www.iris.edu/software/sac/">http://www.iris.edu/software/sac/</a></div><div><br></div><div>2. please try out the attached Makefile. put it into the UTILS/lib folder and modify the header in the Makefile to use your correct compilers and SAC installation path. then just type: &gt; make</div><div><br></div><div>that should compile you the executable "asc2sac". when trying this out, please note that you would call this version: "./asc2sac my_trace.ascii "</div><div>instead "/opt/seismo-util/bin/asc2sac my_trace.ascii 10000 my_trace.ascii.sac". there are two different versions of this executable, the one provided in UTILS/lib takes the former argument list. anyway, when you try this out, check if the results look o.k.&nbsp;</div><div><br></div><div>best wishes,</div><div>daniel</div><div><br></div><div></div></body></html>