[cig-commits] r19467 - in seismo/3D/GRD_CMT3D: cmt3d/readme scripts

liuqy at geodynamics.org liuqy at geodynamics.org
Tue Jan 24 11:38:17 PST 2012


Author: liuqy
Date: 2012-01-24 11:38:17 -0800 (Tue, 24 Jan 2012)
New Revision: 19467

Modified:
   seismo/3D/GRD_CMT3D/cmt3d/readme/readme.tex
   seismo/3D/GRD_CMT3D/scripts/cmt.py
Log:

Update bugs on ddepth in cmt.py


Modified: seismo/3D/GRD_CMT3D/cmt3d/readme/readme.tex
===================================================================
--- seismo/3D/GRD_CMT3D/cmt3d/readme/readme.tex	2012-01-24 19:19:32 UTC (rev 19466)
+++ seismo/3D/GRD_CMT3D/cmt3d/readme/readme.tex	2012-01-24 19:38:17 UTC (rev 19467)
@@ -196,7 +196,7 @@
 syn-file-2
 ...
 \end{verbatim}
-Only windows from this output file will be used to perform time integration in assembling the inversion matrices. Note the values in [] are recent additions where we allow weight to be specified in the input file together with an indicative logical \verb+read_weight+. For now, `tshift' are still dummy variables not used for aligning data and synthetics (a separate corr subroutine calculates it in the code, but future merge may be possible).
+Only windows from this output file will be used to perform time integration in assembling the inversion matrices. Note the values in [] are recent additions where we allow weights to be specified in the input file together with an indicative logical \verb+read_weight+. For now, `tshift' are still dummy variables not used for aligning data and synthetics (a separate corr subroutine calculates it in the code, but future merge may be possible).
 
 All other parameters are pretty self-explanatory:
 \begin{itemize}

Modified: seismo/3D/GRD_CMT3D/scripts/cmt.py
===================================================================
--- seismo/3D/GRD_CMT3D/scripts/cmt.py	2012-01-24 19:19:32 UTC (rev 19466)
+++ seismo/3D/GRD_CMT3D/scripts/cmt.py	2012-01-24 19:38:17 UTC (rev 19467)
@@ -322,7 +322,7 @@
       depth=cmt_par[6]; x=cmt_par[7];  y=cmt_par[8] 
     else:
       depth=cmt_par[6,k]; x=cmt_par[7,k];  y=cmt_par[8,k]  
-    dnew=depth+dlocation; xnew=x+dlocation; ynew=y+dlocation # name holders again
+    dnew=depth+ddepth; xnew=x+dlocation; ynew=y+dlocation # name holders again
 
     # moment derivatives
     for i in range(0,6):



More information about the CIG-COMMITS mailing list