[cig-commits] r14490 - in seismo/3D/ADJOINT_TOMO/flexwin: scripts scripts/prepare_scripts/socal user_files/socal_3D

carltape at geodynamics.org carltape at geodynamics.org
Fri Mar 27 13:06:01 PDT 2009


Author: carltape
Date: 2009-03-27 13:05:55 -0700 (Fri, 27 Mar 2009)
New Revision: 14490

Added:
   seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/README
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90
Removed:
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m01
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m02
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m03
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m04
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m05
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m06
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m13
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m14
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m15
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m99
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_Daniel
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m01
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m02
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m03
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m04
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m05
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m06
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m05
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m06
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m11
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m12
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m13
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m14
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m15
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m99
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m01
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m02
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m03
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m04
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m05
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m06
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m13
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m14
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m15
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m99
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_Daniel
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m00_orig
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m01
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m02
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m03
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m04
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m05
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m06
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m07
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12_orig.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m13.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m14.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m15.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90
   seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m99.f90
Modified:
   seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows.pl
   seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows_local.pl
   seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/process_data_and_syn.pl
Log:
Removed dozens of socal parameter files, in preparation for FLEXWIN release. Modified socal run scripts.


Modified: seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows.pl
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows.pl	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows.pl	2009-03-27 20:05:55 UTC (rev 14490)
@@ -92,7 +92,7 @@
 #-------------------------------------
 
 # specify various directories (MUST BE MODIFIED FOR EACH USER)
-$dir0 = "/net/denali/scratch1/carltape/svn/cig/seismo/3D";
+$dir0 = "/net/denali/raid1/carltape/svn/cig/seismo/3D";
 $dir_win_code = "$dir0/ADJOINT_TOMO/flexwin_work";
 $dir_win_run  = "$dir0/flexwin_run";
 #$dir_win_code = "$dir0/ADJOINT_TOMO/flexwin_work_copy2";
@@ -143,9 +143,9 @@
 $dir_win_run_data = "${dir_win_run}/DATA";
 $dir_win_run_meas = "${dir_win_run}/MEASURE";
 
-# NEW: EVENT LIST
-#$eid_list = "/net/sierra/raid1/carltape/results/EID_LISTS/syn_run_${smodel}";
-$eid_list = "/net/sierra/raid1/carltape/results/EID_LISTS/syn_run_iterate";
+# EVENT LIST
+$eid_list = "/net/sierra/raid1/carltape/results/EID_LISTS/syn_run_${smodel}";
+#$eid_list = "/net/sierra/raid1/carltape/results/EID_LISTS/syn_run_iterate";
 if (not -f $eid_list) {die("check if eid_list ${eid_list} exist or not\n")}
 open(IN,$eid_list); @eids = <IN>; close(IN);
 $nevent0 = @eids;
@@ -312,7 +312,8 @@
 
     # If the windowing code has already been run, then move to the next event.
     # NOTE: to overwrite, just comment out this option
-    if (-f "$savedir/${eout}_runfile") {
+    if (-e $savedir) {
+    #if (-f "$savedir/${eout}_runfile") {
       print "--> $savedir/${eout}_runfile exists -- on to next event\n";
 
     } else {

Modified: seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows_local.pl
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows_local.pl	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/scripts/pick_all_windows_local.pl	2009-03-27 20:05:55 UTC (rev 14490)
@@ -24,7 +24,7 @@
 #     prepare_meas_all.pl
 #
 #  EXAMPLES:
-#     /net/denali/scratch1/carltape/svn/cig/seismo/3D/ADJOINT_TOMO/flexwin_work/scripts/pick_all_windows_local.pl
+#     /net/denali/raid1/carltape/svn/cig/seismo/3D/ADJOINT_TOMO/flexwin_work/scripts/pick_all_windows_local.pl
 #
 #     pick_all_windows_local.pl 2/30 1/1/1/1 input MEASURE
 #     pick_all_windows_local.pl 6/30 1/1/1/0 input MEASURE
@@ -40,7 +40,7 @@
 ($Ts,$ibools,$input,$dir) = @ARGV;
 
 # specify source code directory (MUST BE MODIFIED FOR EACH USER)
-$dir_win_code = "/net/denali/scratch1/carltape/svn/cig/seismo/3D/ADJOINT_TOMO/flexwin_work";
+$dir_win_code = "/net/denali/raid1/carltape/svn/cig/seismo/3D/ADJOINT_TOMO/flexwin_work";
 
 $dir_scripts = "${dir_win_code}/scripts";
 if (not -e ${dir_win_code}) {die("check if ${dir_win_code} exist or not\n")}

Added: seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/README
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/README	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/README	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,7 @@
+Carl Tape, 27-March-2009
+
+The user is advised to examine process_data_and_syn.pl.
+This script was the processing script used for an application
+of seismic tomography for the southern California crust.
+The script will need to be adapted for other datasets.
+-------------------------------------------

Modified: seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/process_data_and_syn.pl
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/process_data_and_syn.pl	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/scripts/prepare_scripts/socal/process_data_and_syn.pl	2009-03-27 20:05:55 UTC (rev 14490)
@@ -3,10 +3,15 @@
 #==========================================================
 #
 #  Carl Tape
-#  22-Nov-2008
+#  27-March-2009
 #  process_data_and_syn.pl
 #
 #  This script processes data and 3D-Socal-SEM synthetics for Southern California.
+#  It calls two in-house processing scripts
+#       process_cal_data.pl 
+#       process_trinet_syn_new.pl
+#  The general procedure is advised for pre-processing data and synthetics for
+#  seismic tomography applications.
 #
 #  INPUT:
 #    CMT_list  list of event ID labels in a file
@@ -35,9 +40,6 @@
 #    ~/UTILS/process_data_and_syn.pl 4 m16 1 0 d 2/30    # data, bandpass T=2-30
 #    ~/UTILS/process_data_and_syn.pl 4 m16 0 1 d 2/30    # syn, bandpass T=2-30
 #
-#  Chino Hills synthetics for Hiroo:
-#    ~/UTILS/process_data_and_syn.pl 4 m16 0 1 d 50/150
-#
 #==========================================================
 
 if (@ARGV < 6) {die("Usage: process_data_and_syn.pl iprocess smodel idata isyn dat_ext Tmin/Tmax\n")}
@@ -135,7 +137,7 @@
 
 $imin = 1; $imax = $ncmt;  # default
 #$imin = 1; $imax = 10;
-#$imin = 213; $imax = $imin;
+#$imin = 228; $imax = $imin;
 
 #----------------------------------------------------------------------
 

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .true.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 2.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.07
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 3.0
+TSHIFT_REFERENCE                = 1.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.0
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.85
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 2.5  
+SNR_MAX_BASE                    = 3.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 4.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 1.0
+C_1  (small windows)            = 5.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 4.0 
+C_3b (separation time)          = 2.5 
+C_4a (curtail on left)          = 2.0 
+C_4b (curtail on right)         = 6.0 
+
+WEIGHT_SPACE_COVERAGE           = 1.0
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m01
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m01	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m01	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m02
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m02	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m02	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m03
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m03	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m03	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m04
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m04	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m04	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m05
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m05	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m05	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m06
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m06	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m06	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m07_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m08_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m09_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m10_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 2.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m11_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m12_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m13
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m13	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m13	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m14
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m14	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m14	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m15
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m15	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m15	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 2.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .true.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 2.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.07
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 2.0
+TSHIFT_REFERENCE                = 0.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.0
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.85
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 2.5  
+SNR_MAX_BASE                    = 3.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 4.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 1.0
+C_1  (small windows)            = 5.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 4.0 
+C_3b (separation time)          = 2.5 
+C_4a (curtail on left)          = 2.0 
+C_4b (curtail on right)         = 6.0 
+
+WEIGHT_SPACE_COVERAGE           = 1.0
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m99
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m99	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T030_m99	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 1.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_Daniel
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_Daniel	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_Daniel	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,68 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .false.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 2.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 1.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 5.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 5.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m00_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 6.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m01
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m01	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m01	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m02
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m02	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m02	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m03
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m03	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m03	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m04
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m04	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m04	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m05
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m05	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m05	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m06
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m06	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T002_T040_m06	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 2.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.07
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.85
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.0
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 5.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .true.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 3.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.11
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 4.0
+TSHIFT_REFERENCE                = 2.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.0
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.80
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 2.5  
+SNR_MAX_BASE                    = 3.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 4.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 1.3
+C_1  (small windows)            = 4.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 4.0 
+C_3b (separation time)          = 2.5 
+C_4a (curtail on left)          = 2.0 
+C_4b (curtail on right)         = 6.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.70
+WEIGHT_AVERAGE_CC               = 0.25
+WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m01_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m02_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m03_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m04_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m05
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m05	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m05	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m06
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m06	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m06	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m07_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m08_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m09_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m10_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m11
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m11	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m11	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m12
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m12	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m12	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m13
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m13	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m13	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m14
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m14	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m14	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m15
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m15	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m15	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 3.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .true.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 3.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.11
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 3.0
+TSHIFT_REFERENCE                = 0.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.0
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.80
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 2.5  
+SNR_MAX_BASE                    = 3.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 4.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 1.3
+C_1  (small windows)            = 4.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 4.0 
+C_3b (separation time)          = 2.5 
+C_4a (curtail on left)          = 2.0 
+C_4b (curtail on right)         = 6.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.70
+WEIGHT_AVERAGE_CC               = 0.25
+WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m99
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m99	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T003_T030_m99	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .true.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 3.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.11
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.0
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.80
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 2.5  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 4.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 1.3
-C_1  (small windows)            = 4.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 4.0 
-C_3b (separation time)          = 2.5 
-C_4a (curtail on left)          = 2.0 
-C_4b (curtail on right)         = 6.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.70
-WEIGHT_AVERAGE_CC               = 0.25
-WEIGHT_N_WINDOWS                = 0.05

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 5.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .false.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 6.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.18
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 5.0
+TSHIFT_REFERENCE                = 2.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.5
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.71
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 3.0  
+SNR_MAX_BASE                    = 2.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 3.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 0.7
+C_1  (small windows)            = 2.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 3.0 
+C_3b (separation time)          = 2.0 
+C_4a (curtail on left)          = 2.5
+C_4b (curtail on right)         = 12.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.5
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 6.0
-TSHIFT_REFERENCE                = 3.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_09s	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .false.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 6.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.18
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 6.0
+TSHIFT_REFERENCE                = 3.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.5
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.71
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 3.0  
+SNR_MAX_BASE                    = 2.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 3.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 0.7
+C_1  (small windows)            = 2.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 3.0 
+C_3b (separation time)          = 2.0 
+C_4a (curtail on left)          = 2.5
+C_4b (curtail on right)         = 12.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.5
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 8.0
-TSHIFT_REFERENCE                = 4.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m00_12s	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .false.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 6.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.18
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 8.0
+TSHIFT_REFERENCE                = 4.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.5
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.71
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 3.0  
+SNR_MAX_BASE                    = 2.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 3.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 0.7
+C_1  (small windows)            = 2.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 3.0 
+C_3b (separation time)          = 2.0 
+C_4a (curtail on left)          = 2.5
+C_4b (curtail on right)         = 12.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.5
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m01
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m01	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m01	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 5.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m02
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m02	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m02	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 5.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m03
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m03	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m03	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 5.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m04
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m04	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m04	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 5.0
-TSHIFT_REFERENCE                = 2.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m05
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m05	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m05	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m06
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m06	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m06	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 1.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m07_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m08_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m09_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m10_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m11_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m12_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m13
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m13	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m13	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m14
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m14	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m14	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m15
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m15	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m15	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 4.0
-TSHIFT_REFERENCE                = 0.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m16	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,71 @@
+# -------------------------------------------------------------
+#
+#    This is the parameter file for FLEXWIN.  It is based on the
+#    same syntax as the Par_file for SPECFEM.  Variable names are
+#    put first, values are placed after the 34th column.
+#
+#    Comment lines and blank lines are significant.  If you
+#    change the layout of this file or add/remove parameters
+#    you must also modify the user_variables module and the 
+#    read_parameter_file subroutine at the start of seismo_subs.f90.
+#    
+# -------------------------------------------------------------
+ 
+# -------------------------------------------------------------
+# boolean parameters
+DEBUG                           = .true.
+MAKE_SEISMO_PLOTS               = .true.
+MAKE_WINDOW_FILES               = .true.
+BODY_WAVE_ONLY                  = .false.
+
+# -------------------------------------------------------------
+# period min/max for filtering
+RUN_BANDPASS                    = .false.
+WIN_MIN_PERIOD                  = 6.00
+WIN_MAX_PERIOD                  = 30.00
+
+# -------------------------------------------------------------
+# E(t) water level
+STALTA_BASE                     = 0.18
+
+# -------------------------------------------------------------
+# maximum allowable time shift from reference TSHIFT
+TSHIFT_BASE                     = 4.0
+TSHIFT_REFERENCE                = 0.0
+
+# -------------------------------------------------------------
+# maximum allowable amplitude measurement relative to reference DLNA
+DLNA_BASE                       = 1.5
+DLNA_REFERENCE                  = 0.0
+
+# -------------------------------------------------------------
+# limit on CC for window acceptance
+CC_BASE                         = 0.71
+
+# -------------------------------------------------------------
+# boolean switch for check_data_quality
+DATA_QUALITY                    = .true.
+
+# if DATA_QUALITY = .true. and if two different measurements of
+# signal-to-noise ratios exceeds these two base levels,
+# then the data time series (and syn) is kept
+SNR_INTEGRATE_BASE              = 3.0  
+SNR_MAX_BASE                    = 2.5
+
+# -------------------------------------------------------------
+# limit on signal to noise ratio in a particular window.
+WINDOW_SNR_BASE                 = 3.0
+
+# -------------------------------------------------------------
+# Fine tuning constants 
+C_0  (internal minima)          = 0.7
+C_1  (small windows)            = 2.0
+C_2  (prominence)               = 0.0
+C_3a (separation height)        = 3.0 
+C_3b (separation time)          = 2.0 
+C_4a (curtail on left)          = 2.5
+C_4b (curtail on right)         = 12.0 
+
+WEIGHT_SPACE_COVERAGE           = 0.5
+WEIGHT_AVERAGE_CC               = 1.0
+WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m99
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m99	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T030_m99	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,71 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 30.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# maximum allowable time shift from reference TSHIFT
-TSHIFT_BASE                     = 8.0
-TSHIFT_REFERENCE                = 4.0
-
-# -------------------------------------------------------------
-# maximum allowable amplitude measurement relative to reference DLNA
-DLNA_BASE                       = 1.5
-DLNA_REFERENCE                  = 0.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 3.0
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 0.5
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.7

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_Daniel
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_Daniel	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_Daniel	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .false.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level
-STALTA_BASE                     = 0.23
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 3.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.7
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.0
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 1.5
-C_2  (prominence)               = 0.3
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 1.5 
-C_4b (curtail on right)         = 4.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 1.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m00_orig
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m00_orig	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m00_orig	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 10.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m01
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m01	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m01	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 5.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m02
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m02	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m02	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 5.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m03
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m03	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m03	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 5.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m04
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m04	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m04	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m05
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m05	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m05	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m06
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m06	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m06	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.22
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.74
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 3.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m07
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m07	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/PAR_FILE_T006_T040_m07	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,69 +0,0 @@
-# -------------------------------------------------------------
-#
-#    This is the parameter file for FLEXWIN.  It is based on the
-#    same syntax as the Par_file for SPECFEM.  Variable names are
-#    put first, values are placed after the 34th column.
-#
-#    Comment lines and blank lines are significant.  If you
-#    change the layout of this file or add/remove parameters
-#    you must also modify the user_variables module and the 
-#    read_parameter_file subroutine at the start of seismo_subs.f90.
-#    
-# -------------------------------------------------------------
- 
-# -------------------------------------------------------------
-# boolean parameters
-DEBUG                           = .true.
-MAKE_SEISMO_PLOTS               = .true.
-MAKE_WINDOW_FILES               = .true.
-BODY_WAVE_ONLY                  = .false.
-
-# -------------------------------------------------------------
-# period min/max for filtering
-RUN_BANDPASS                    = .false.
-WIN_MIN_PERIOD                  = 6.00
-WIN_MAX_PERIOD                  = 40.00
-
-# -------------------------------------------------------------
-# E(t) water level  (0.23)
-STALTA_BASE                     = 0.18
-
-# -------------------------------------------------------------
-# TSHIFT
-TSHIFT_BASE                     = 4.0
-
-# -------------------------------------------------------------
-# limit on CC for window acceptance
-CC_BASE                         = 0.71
-
-# -------------------------------------------------------------
-# limit on dlnA (dA/A) for window acceptance
-DLNA_BASE                       = 1.5
-
-# -------------------------------------------------------------
-# boolean switch for check_data_quality
-DATA_QUALITY                    = .true.
-
-# if DATA_QUALITY = .true. and if two different measurements of
-# signal-to-noise ratios exceeds these two base levels,
-# then the data time series (and syn) is kept
-SNR_INTEGRATE_BASE              = 3.0  
-SNR_MAX_BASE                    = 2.5
-
-# -------------------------------------------------------------
-# limit on signal to noise ratio in a particular window.
-WINDOW_SNR_BASE                 = 2.5
-
-# -------------------------------------------------------------
-# Fine tuning constants 
-C_0  (internal minima)          = 0.7
-C_1  (small windows)            = 2.0
-C_2  (prominence)               = 0.0
-C_3a (separation height)        = 3.0 
-C_3b (separation time)          = 2.0 
-C_4a (curtail on left)          = 2.5
-C_4b (curtail on right)         = 12.0 
-
-WEIGHT_SPACE_COVERAGE           = 1.0
-WEIGHT_AVERAGE_CC               = 0.0
-WEIGHT_N_WINDOWS                = 0.0

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,179 @@
+! -------------------------------------------------------------
+! edit here to change T0 and T1 on some condition 
+! Note, this function is called AFTER the seismogram has been 
+! read but before it is filtered.
+! -------------------------------------------------------------
+
+subroutine modify_T0_T1_on_condition
+  use seismo_variables
+
+  ! do nothing
+
+  ! adjust fstart and fend accordingly
+  !FSTART=1./WIN_MAX_PERIOD
+  !FEND=1./WIN_MIN_PERIOD
+
+end subroutine modify_T0_T1_on_condition
+
+! -------------------------------------------------------------
+! Edit here to change the time dependent properties of the selection criteria
+! Note, this function is called AFTER the seismogram has been read.
+! -------------------------------------------------------------
+subroutine set_up_criteria_arrays
+  use seismo_variables 
+
+  integer :: i
+  double precision :: time
+
+  double precision :: Pnl_start, S_end, Sw_start, Sw_end
+  double precision :: Nlam, dtresh, vref
+ 
+!===========================
+
+! -----------------------------------------------------------------
+! This is the basic version of the subroutine - no variation with time
+! -----------------------------------------------------------------
+   do i = 1, npts
+     time = b+(i-1)*dt
+     DLNA_LIMIT(i) = DLNA_BASE
+     CC_LIMIT(i) = CC_BASE
+     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
+     STALTA_W_LEVEL(i) = STALTA_BASE
+     S2N_LIMIT(i) = WINDOW_S2N_BASE
+   enddo
+
+!!$  if (.not. BODY_WAVE_ONLY) then
+!!$     Pnl_start =  -5.0 + dist_km/7.8
+!!$     Sw_start  = -15.0 + dist_km/3.5
+!!$     Sw_end    =  35.0 + dist_km/3.1
+!!$  else
+!!$     Pnl_start =  P_pick - 5.0
+!!$     S_end     =  S_pick + 5.0
+!!$     Sw_start  = -15.0 + dist_km/3.5
+!!$     Sw_end    =  35.0 + dist_km/3.1
+!!$  endif
+
+  ! regional (Qinya's formulation):
+  ! -------------------------------------------------------------
+  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
+  ! that are listed in the publication should not be there
+  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
+
+  Sw_start  = -15.0 + dist_km/3.5
+  Sw_end    =  35.0 + dist_km/3.1
+
+  if (BODY_WAVE_ONLY) then
+     !Pnl_start =  P_pick - 5.0
+     !S_end     =  S_pick + 5.0
+     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
+     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
+
+  else
+     Pnl_start =  -5.0 + dist_km/7.8
+     S_end     =  Sw_start
+  endif
+
+  ! variables for signal to noise ratio criteria.
+  signal_end = Sw_end
+  noise_end  = Pnl_start
+  if(DEBUG) then
+     if (BODY_WAVE_ONLY) then
+         write(*,*) 'DEBUG : P_pick = ', P_pick
+         write(*,*) 'DEBUG : S_pick = ', S_pick
+     endif
+     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
+     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
+  endif
+
+ ! --------------------------------
+ ! modulate criteria in time
+  do i = 1, npts
+     time = b+(i-1)*dt     ! time
+
+     ! raises STA/LTA water level before P wave arrival.
+     if(time.lt.Pnl_start) then
+        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+     endif
+
+     ! raises STA/LTA water level after surface wave arrives
+     if (BODY_WAVE_ONLY) then
+        if(time.gt.S_end) then
+        !if(time.gt.Sw_end) then
+           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+        endif
+        
+     else
+!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
+!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
+!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
+!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
+!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
+!!$        endif
+!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
+!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
+!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
+!!$        endif
+
+        ! double the STA/LTA water level after the surface waves
+        if(time.gt.Sw_end) then
+           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
+        endif
+
+!!$        ! allow 100 seconds to possibly capture additional phases
+!!$        if(time.gt. (Sw_end+100.0) ) then
+!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+!!$        endif
+
+     endif
+
+  enddo
+
+ ! --------------------------------
+ ! if the distance to the station is less than N wavelengths, then reject records
+ ! by reasing the entire water level
+
+  Nlam = 1.7    ! number of wavelengths
+  vref = 2.0    ! reference velocity, km/s
+  dtresh = Nlam*WIN_MIN_PERIOD*vref
+  if (dist_km .le. dtresh ) then
+     if(DEBUG) then
+         write(*,*) 'REJECT by raising water level: station is too close for this period range'
+         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
+         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
+     endif
+     do i = 1,npts
+        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+     enddo
+  endif
+
+! The following is for check_window quality_s2n
+
+! -----------------------------------------------------------------
+! Start of user-dependent portion
+
+! This is where you modulate the time dependence of the selection
+! criteria.  You have access to the following parameters from the 
+! seismogram itself:
+!
+! dt, b, kstnm, knetwk, kcmpnm
+! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
+! num_phases, ph_names, ph_times
+!
+! Example of modulation:
+!-----------------------
+! To increase s2n limit after arrival of R1 try
+!
+! R_vel=3.2
+! R_time=dist_km/R_vel
+! do i = 1, npts
+!   time=b+(i-1)*dt
+!   if (time.gt.R_time) then
+!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
+!   endif
+! enddo
+!
+! End of user-dependent portion
+! -----------------------------------------------------------------
+
+end subroutine set_up_criteria_arrays
+! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m00_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-        ! (see Liu et al., 2004, p. 1755; note comment above)
-        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-        endif
-        if(time.ge.Sw_start .and. time.le.Sw_end) then
-           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m01_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m02_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m03_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m04_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m05_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m06_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,135 +0,0 @@
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     Sw_start  = -15.0 + dist_km/3.5
-     Sw_end    =  35.0 + dist_km/3.1
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     write(*,*) 'DEBUG : P_pick = ', sngl(P_pick)
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m07_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,161 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow for 100s to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m08_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,161 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow for 100s to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m09_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,161 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow for 100s to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m10_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,161 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  ! for qinya's scsn picking
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow for 100s to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m11_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow for 100s to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12_orig.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12_orig.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m12_orig.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m13.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m13.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m13.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m14.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m14.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m14.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m15.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m15.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m15.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,181 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
-     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
-     if (BODY_WAVE_ONLY) then
-        !if(time.gt.S_end) then
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        !if(time.gt.Sw_end) then
-        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
-        !endif
-
-        ! allow 100 seconds to possibly capture additional phases
-        if(time.gt. (Sw_end+100.0) ) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------

Added: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90	                        (rev 0)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m16.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -0,0 +1,181 @@
+! -------------------------------------------------------------
+! edit here to change T0 and T1 on some condition 
+! Note, this function is called AFTER the seismogram has been 
+! read but before it is filtered.
+! -------------------------------------------------------------
+
+subroutine modify_T0_T1_on_condition
+  use seismo_variables
+
+  ! do nothing
+
+  ! adjust fstart and fend accordingly
+  !FSTART=1./WIN_MAX_PERIOD
+  !FEND=1./WIN_MIN_PERIOD
+
+end subroutine modify_T0_T1_on_condition
+
+! -------------------------------------------------------------
+! Edit here to change the time dependent properties of the selection criteria
+! Note, this function is called AFTER the seismogram has been read.
+! -------------------------------------------------------------
+subroutine set_up_criteria_arrays
+  use seismo_variables 
+
+  integer :: i
+  double precision :: time
+
+  double precision :: Pnl_start, S_end, Sw_start, Sw_end
+  double precision :: Nlam, dtresh, vref
+ 
+!===========================
+
+! -----------------------------------------------------------------
+! This is the basic version of the subroutine - no variation with time
+! -----------------------------------------------------------------
+   do i = 1, npts
+     time = b+(i-1)*dt
+     DLNA_LIMIT(i) = DLNA_BASE
+     CC_LIMIT(i) = CC_BASE
+     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
+     STALTA_W_LEVEL(i) = STALTA_BASE
+     S2N_LIMIT(i) = WINDOW_S2N_BASE
+   enddo
+
+!!$  if (.not. BODY_WAVE_ONLY) then
+!!$     Pnl_start =  -5.0 + dist_km/7.8
+!!$     Sw_start  = -15.0 + dist_km/3.5
+!!$     Sw_end    =  35.0 + dist_km/3.1
+!!$  else
+!!$     Pnl_start =  P_pick - 5.0
+!!$     S_end     =  S_pick + 5.0
+!!$     Sw_start  = -15.0 + dist_km/3.5
+!!$     Sw_end    =  35.0 + dist_km/3.1
+!!$  endif
+
+  ! regional (Qinya's formulation):
+  ! -------------------------------------------------------------
+  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
+  ! that are listed in the publication should not be there
+  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
+
+  Sw_start  = -15.0 + dist_km/3.5
+  Sw_end    =  35.0 + dist_km/3.1
+
+  if (BODY_WAVE_ONLY) then
+     !Pnl_start =  P_pick - 5.0
+     !S_end     =  S_pick + 5.0
+     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
+     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
+
+  else
+     Pnl_start =  -5.0 + dist_km/7.8
+     S_end     =  Sw_start
+  endif
+
+  ! variables for signal to noise ratio criteria.
+  signal_end = Sw_end
+  noise_end  = Pnl_start
+  if(DEBUG) then
+     if (BODY_WAVE_ONLY) then
+         write(*,*) 'DEBUG : P_pick = ', P_pick
+         write(*,*) 'DEBUG : S_pick = ', S_pick
+     endif
+     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
+     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
+  endif
+
+ ! --------------------------------
+ ! modulate criteria in time
+  do i = 1, npts
+     time = b+(i-1)*dt     ! time
+
+     ! raises STA/LTA water level before P wave arrival.
+     if(time.lt.Pnl_start) then
+        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+     endif
+
+     ! raises STA/LTA water level after surface wave arrives
+     ! NOTE: CHT is effectively no longer using BODY_WAVE mode at all,
+     !       but for the 2s data, we do not look AFTER the surface waves for exotic phases.
+     if (BODY_WAVE_ONLY) then
+        !if(time.gt.S_end) then
+        if(time.gt.Sw_end) then
+           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+        endif
+        
+     else
+!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
+!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
+!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
+!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
+!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
+!!$        endif
+!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
+!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
+!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
+!!$        endif
+
+        ! double the STA/LTA water level after the surface waves
+        !if(time.gt.Sw_end) then
+        !   STALTA_W_LEVEL(i) = 2.0*STALTA_BASE
+        !endif
+
+        ! allow 100 seconds to possibly capture additional phases
+        if(time.gt. (Sw_end+100.0) ) then
+           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+        endif
+
+     endif
+
+  enddo
+
+ ! --------------------------------
+ ! if the distance to the station is less than N wavelengths, then reject records
+ ! by reasing the entire water level
+
+  Nlam = 1.7    ! number of wavelengths
+  vref = 2.0    ! reference velocity, km/s
+  dtresh = Nlam*WIN_MIN_PERIOD*vref
+  if (dist_km .le. dtresh ) then
+     if(DEBUG) then
+         write(*,*) 'REJECT by raising water level: station is too close for this period range'
+         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
+         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
+     endif
+     do i = 1,npts
+        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
+     enddo
+  endif
+
+! The following is for check_window quality_s2n
+
+! -----------------------------------------------------------------
+! Start of user-dependent portion
+
+! This is where you modulate the time dependence of the selection
+! criteria.  You have access to the following parameters from the 
+! seismogram itself:
+!
+! dt, b, kstnm, knetwk, kcmpnm
+! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
+! num_phases, ph_names, ph_times
+!
+! Example of modulation:
+!-----------------------
+! To increase s2n limit after arrival of R1 try
+!
+! R_vel=3.2
+! R_time=dist_km/R_vel
+! do i = 1, npts
+!   time=b+(i-1)*dt
+!   if (time.gt.R_time) then
+!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
+!   endif
+! enddo
+!
+! End of user-dependent portion
+! -----------------------------------------------------------------
+
+end subroutine set_up_criteria_arrays
+! -------------------------------------------------------------

Deleted: seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m99.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m99.f90	2009-03-27 19:53:17 UTC (rev 14489)
+++ seismo/3D/ADJOINT_TOMO/flexwin/user_files/socal_3D/user_functions_m99.f90	2009-03-27 20:05:55 UTC (rev 14490)
@@ -1,179 +0,0 @@
-! -------------------------------------------------------------
-! edit here to change T0 and T1 on some condition 
-! Note, this function is called AFTER the seismogram has been 
-! read but before it is filtered.
-! -------------------------------------------------------------
-
-subroutine modify_T0_T1_on_condition
-  use seismo_variables
-
-  ! do nothing
-
-  ! adjust fstart and fend accordingly
-  !FSTART=1./WIN_MAX_PERIOD
-  !FEND=1./WIN_MIN_PERIOD
-
-end subroutine modify_T0_T1_on_condition
-
-! -------------------------------------------------------------
-! Edit here to change the time dependent properties of the selection criteria
-! Note, this function is called AFTER the seismogram has been read.
-! -------------------------------------------------------------
-subroutine set_up_criteria_arrays
-  use seismo_variables 
-
-  integer :: i
-  double precision :: time
-
-  double precision :: Pnl_start, S_end, Sw_start, Sw_end
-  double precision :: Nlam, dtresh, vref
- 
-!===========================
-
-! -----------------------------------------------------------------
-! This is the basic version of the subroutine - no variation with time
-! -----------------------------------------------------------------
-   do i = 1, npts
-     time = b+(i-1)*dt
-     DLNA_LIMIT(i) = DLNA_BASE
-     CC_LIMIT(i) = CC_BASE
-     TSHIFT_LIMIT(i) = TSHIFT_BASE       ! WIN_MIN_PERIOD/2.0
-     STALTA_W_LEVEL(i) = STALTA_BASE
-     S2N_LIMIT(i) = WINDOW_S2N_BASE
-   enddo
-
-!!$  if (.not. BODY_WAVE_ONLY) then
-!!$     Pnl_start =  -5.0 + dist_km/7.8
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  else
-!!$     Pnl_start =  P_pick - 5.0
-!!$     S_end     =  S_pick + 5.0
-!!$     Sw_start  = -15.0 + dist_km/3.5
-!!$     Sw_end    =  35.0 + dist_km/3.1
-!!$  endif
-
-  ! regional (Qinya's formulation):
-  ! -------------------------------------------------------------
-  ! see Liu et al. (2004), p. 1755, but note that the PARENTHESES
-  ! that are listed in the publication should not be there
-  ! THESE ARE PROBABLY NOT ACCURATE ENOUGH FOR LONGER PATHS.
-
-  Sw_start  = -15.0 + dist_km/3.5
-  Sw_end    =  35.0 + dist_km/3.1
-
-  if (BODY_WAVE_ONLY) then
-     !Pnl_start =  P_pick - 5.0
-     !S_end     =  S_pick + 5.0
-     Pnl_start =  P_pick - 2.5*WIN_MIN_PERIOD
-     S_end     =  S_pick + 2.5*WIN_MIN_PERIOD
-
-  else
-     Pnl_start =  -5.0 + dist_km/7.8
-     S_end     =  Sw_start
-  endif
-
-  ! variables for signal to noise ratio criteria.
-  signal_end = Sw_end
-  noise_end  = Pnl_start
-  if(DEBUG) then
-     if (BODY_WAVE_ONLY) then
-         write(*,*) 'DEBUG : P_pick = ', P_pick
-         write(*,*) 'DEBUG : S_pick = ', S_pick
-     endif
-     write(*,*) 'DEBUG : signal_end = ', sngl(signal_end)
-     write(*,*) 'DEBUG : noise_end = ', sngl(noise_end)
-  endif
-
- ! --------------------------------
- ! modulate criteria in time
-  do i = 1, npts
-     time = b+(i-1)*dt     ! time
-
-     ! raises STA/LTA water level before P wave arrival.
-     if(time.lt.Pnl_start) then
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     endif
-
-     ! raises STA/LTA water level after surface wave arrives
-     if (BODY_WAVE_ONLY) then
-        if(time.gt.S_end) then
-        !if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-        endif
-        
-     else
-!!$        ! set time- and distance-specific Tshift and DlnA to mimic Qinya's criteria
-!!$        ! (see Liu et al., 2004, p. 1755; note comment above)
-!!$        if(time.ge.Pnl_start .and. time.lt.Sw_start) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/80.0
-!!$        endif
-!!$        if(time.ge.Sw_start .and. time.le.Sw_end) then
-!!$           !DLNA_LIMIT(i) = 1.5  ! ratio is 2.5, and dlna is ratio-1
-!!$           TSHIFT_LIMIT(i) = 3.0 + dist_km/50.0
-!!$        endif
-
-        ! double the STA/LTA water level after the surface waves
-        if(time.gt.Sw_end) then
-           STALTA_W_LEVEL(i) = 10.0*STALTA_BASE
-        endif
-
-!!$        ! allow 100 seconds to possibly capture additional phases
-!!$        if(time.gt. (Sw_end+100.0) ) then
-!!$           STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-!!$        endif
-
-     endif
-
-  enddo
-
- ! --------------------------------
- ! if the distance to the station is less than N wavelengths, then reject records
- ! by reasing the entire water level
-
-  Nlam = 1.7    ! number of wavelengths
-  vref = 2.0    ! reference velocity, km/s
-  dtresh = Nlam*WIN_MIN_PERIOD*vref
-  if (dist_km .le. dtresh ) then
-     if(DEBUG) then
-         write(*,*) 'REJECT by raising water level: station is too close for this period range'
-         write(*,*) 'dist_km, dtresh = Nlam*WIN_MIN_PERIOD, Nlam, WIN_MIN_PERIOD :'
-         write(*,'(4f12.4)') dist_km, dtresh, Nlam, WIN_MIN_PERIOD
-     endif
-     do i = 1,npts
-        STALTA_W_LEVEL(i) = 10.*STALTA_BASE
-     enddo
-  endif
-
-! The following is for check_window quality_s2n
-
-! -----------------------------------------------------------------
-! Start of user-dependent portion
-
-! This is where you modulate the time dependence of the selection
-! criteria.  You have access to the following parameters from the 
-! seismogram itself:
-!
-! dt, b, kstnm, knetwk, kcmpnm
-! evla, evlo, stla, stlo, evdp, azimuth, backazimuth, dist_deg, dist_km
-! num_phases, ph_names, ph_times
-!
-! Example of modulation:
-!-----------------------
-! To increase s2n limit after arrival of R1 try
-!
-! R_vel=3.2
-! R_time=dist_km/R_vel
-! do i = 1, npts
-!   time=b+(i-1)*dt
-!   if (time.gt.R_time) then
-!     S2N_LIMIT(i)=2*WINDOW_S2N_BASE
-!   endif
-! enddo
-!
-! End of user-dependent portion
-! -----------------------------------------------------------------
-
-end subroutine set_up_criteria_arrays
-! -------------------------------------------------------------



More information about the CIG-COMMITS mailing list