[Swift-user] badness

Allan Espinosa aespinosa at cs.uchicago.edu
Fri May 13 00:01:36 CDT 2011


Here's the kml code generated by the trunk build:

<project><!-- CACHE ID 9da6434d-5b79-4076-ad0b-77e09abaa5fd -->
  <import file="sys.xml"/>
  <import file="scheduler.xml"/>
  <import file="rlog.xml"/>
  <import file="vdl.k"/>
  <types>
     <xs:schema
targetNamespace="http://ci.uchicago.edu/swift/2009/02/swiftscript"
xmlns="http://ci.uchicago.edu/swift/2009/02/swiftscript"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
      	   <xs:simpleType name="SgtDim">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:simpleType name="Variation">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:simpleType name="Seismogram">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:simpleType name="PeakValue">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:complexType name="Station">
      	   <xs:sequence>
      	        <xs:element name="name" type="string"/>
      	        <xs:element name="lat" type="float"/>
      	        <xs:element name="lon" type="float"/>
      	        <xs:element name="erf" type="int"/>
      	        <xs:element name="variation_scenario" type="int"/>
      	   </xs:sequence>
      	   </xs:complexType>
      	   <xs:complexType name="Sgt">
      	   <xs:sequence>
      	        <xs:element name="x" type="SgtDim"/>
      	        <xs:element name="y" type="SgtDim"/>
      	   </xs:sequence>
      	   </xs:complexType>
      	   <xs:complexType name="Rupture">
      	   <xs:sequence>
      	        <xs:element name="source" type="int"/>
      	        <xs:element name="index" type="int"/>
      	        <xs:element name="size" type="int"/>
      	   </xs:sequence>
      	   </xs:complexType>
      	   <xs:simpleType name="StationFile">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:simpleType name="RuptureFile">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:simpleType name="VariationFile">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
      	   <xs:complexType name="offset">
      	   <xs:sequence>
      	        <xs:element name="off" type="int"/>
      	        <xs:element name="size" type="int"/>
      	   </xs:sequence>
      	   </xs:complexType>
      	   <xs:simpleType name="offset_file">
      	   <xs:restriction base="string"/>
      	   </xs:simpleType>
     </xs:schema>	
  </types>
  <global name="swift#string#17056">
    <vdl:new type="string" value="" />
  </global>
  <global name="swift#string#17025">
    <vdl:new type="string" value="out=" />
  </global>
  <global name="swift#string#17014">
    <vdl:new type="string" value="simulation_out_pointsX=2" />
  </global>
  <global name="swift#string#17030">
    <vdl:new type="string" value="-l" />
  </global>
  <global name="swift#string#17012">
    <vdl:new type="string" value="ntout=" />
  </global>
  <global name="swift#string#17028">
    <vdl:new type="string" value="-e" />
  </global>
  <global name="swift#string#17037">
    <vdl:new type="string" value=".txt" />
  </global>
  <global name="swift#string#17044">
    <vdl:new type="string"
value="gsiftp://gridftp.pads.ci.uchicago.edu//gpfs/pads/swift/aespinosa/science/cybershake/Results"
/>
  </global>
  <global name="swift#string#17015">
    <vdl:new type="string" value="simulation_out_pointsY=1" />
  </global>
  <global name="swift#string#17010">
    <vdl:new type="string" value="outputBinary=1" />
  </global>
  <global name="swift#string#17049">
    <vdl:new type="string"
value="gsiftp://gridftp.ranger.tacc.teragrid.org//work/01035/tg802895/science/cybershake/data/SgtFiles"
/>
  </global>
  <global name="swift#string#17060">
    <vdl:new type="string" value=".bsa, " />
  </global>
  <global name="swift#string#17036">
    <vdl:new type="string" value="/" />
  </global>
  <global name="swift#string#17006">
    <vdl:new type="string" value="sgt_yfile=" />
  </global>
  <global name="swift#string#17032">
    <vdl:new type="string" value="-r" />
  </global>
  <global name="swift#string#17039">
    <vdl:new type="string" value="LGU/offset-" />
  </global>
  <global name="swift#string#17031">
    <vdl:new type="string" value="-s" />
  </global>
  <global name="swift#string#17059">
    <vdl:new type="string" value="/PeakVals_" />
  </global>
  <global name="swift#string#17017">
    <vdl:new type="string" value="surfseis_rspectra_output_units=cmpersec2" />
  </global>
  <global name="swift#string#17022">
    <vdl:new type="string" value="surfseis_rspectra_period=" />
  </global>
  <global name="swift#string#17029">
    <vdl:new type="string" value="-v" />
  </global>
  <global name="swift#string#17007">
    <vdl:new type="string" value="extract_sgt_xfile=" />
  </global>
  <global name="swift#string#17000">
    <vdl:new type="string" value="stat=" />
  </global>
  <global name="swift#string#17013">
    <vdl:new type="string" value="seis_file=" />
  </global>
  <global name="swift#string#17027">
    <vdl:new type="string" value="/rup_tmp" />
  </global>
  <global name="swift#string#17004">
    <vdl:new type="string" value="rupmodfile=" />
  </global>
  <global name="swift#string#17011">
    <vdl:new type="string" value="mergeOutput=1" />
  </global>
  <global name="swift#string#17005">
    <vdl:new type="string" value="sgt_xfile=" />
  </global>
  <global name="swift#string#17043">
    <vdl:new type="string"
value="gsiftp://gridftp.ranger.tacc.teragrid.org//scratch/01035/tg802895/science/cybershake/Results"
/>
  </global>
  <global name="swift#string#17020">
    <vdl:new type="string" value="simulation_out_timesamples=" />
  </global>
  <global name="swift#string#17051">
    <vdl:new type="string" value="getsub.rb" />
  </global>
  <global name="swift#string#17057">
    <vdl:new type="string" value="/Seismogram_" />
  </global>
  <global name="swift#string#17058">
    <vdl:new type="string" value=".grm, " />
  </global>
  <global name="swift#string#17008">
    <vdl:new type="string" value="extract_sgt_yfile=" />
  </global>
  <global name="swift#string#17021">
    <vdl:new type="string" value="simulation_out_timeskip=" />
  </global>
  <global name="swift#string#17033">
    <vdl:new type="string" value="_" />
  </global>
  <global name="swift#string#17040">
    <vdl:new type="string" value="all" />
  </global>
  <global name="swift#string#17018">
    <vdl:new type="string" value="surfseis_rspectra_output_type=aa" />
  </global>
  <global name="swift#string#17009">
    <vdl:new type="string" value="extract_sgt=0" />
  </global>
  <global name="swift#string#17055">
    <vdl:new type="string"
value="gsiftp://gridftp.ranger.tacc.teragrid.org//scratch/projects/tg/tera3d/CyberShake2007/ruptures/RuptureVariations_35_V2_3"
/>
  </global>
  <global name="swift#string#17001">
    <vdl:new type="string" value="extract_sgt=1" />
  </global>
  <global name="swift#string#17003">
    <vdl:new type="string" value="slat=" />
  </global>
  <global name="swift#string#17046">
    <vdl:new type="string" value="getsgtvar.rb" />
  </global>
  <global name="swift#string#17035">
    <vdl:new type="string" value="/varlist/" />
  </global>
  <global name="swift#string#17024">
    <vdl:new type="string" value="in=" />
  </global>
  <global name="swift#string#17002">
    <vdl:new type="string" value="slon=" />
  </global>
  <global name="swift#string#17019">
    <vdl:new type="string" value="surfseis_rspectra_apply_byteswap=no" />
  </global>
  <global name="swift#string#17016">
    <vdl:new type="string"
value="surfseis_rspectra_seismogram_units=cmpersec" />
  </global>
  <global name="swift#string#17023">
    <vdl:new type="string" value=" surfseis_rspectra_apply_filter_highHZ=" />
  </global>
  <global name="swift#int#1">
    <vdl:new type="int" value="1" />
  </global>
  <global name="swift#int#664">
    <vdl:new type="int" value="664" />
  </global>
  <global name="swift#int#3000">
    <vdl:new type="int" value="3000" />
  </global>
  <global name="swift#int#20">
    <vdl:new type="int" value="20" />
  </global>
  <global name="swift#int#60">
    <vdl:new type="int" value="60" />
  </global>
  <global name="swift#float#17041">
    <vdl:new type="float" value="5.0" />
  </global>
  <global name="swift#float#17042">
    <vdl:new type="float" value="0.1" />
  </global>
  <element name="extract" arguments="_ext,_sgt,_stat,_var">
    <parameterlog>
    <string>input</string>
    <string>_sgt</string>
    <vdl:getdatasetprovenanceid var="{_sgt}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_var</string>
    <vdl:getdatasetprovenanceid var="{_var}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_ext</string>
    <vdl:getdatasetprovenanceid var="{_ext}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=31 thread={#thread}
name=extract"/>
    <vdl:execute>
      <vdl:tr>extract</vdl:tr>
      <vdl:stagein var="{_sgt}"/>
      <vdl:stagein var="{_stat}"/>
      <vdl:stagein var="{_var}"/>
      <vdl:stageout var="{_ext}"/>
      <vdl:arguments>
        <swiftscript:strcat>
         <variable>swift#string#17000</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">name</argument>
        </getfield>
        </swiftscript:strcat>
        <variable>swift#string#17001</variable>
        <swiftscript:strcat>
         <variable>swift#string#17002</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lon</argument>
        </getfield>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17003</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lat</argument>
        </getfield>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17004</variable><swiftscript:filename>
         <variable>_var</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17005</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">x</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17006</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">y</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17007</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_ext</variable></argument>
          <argument name="path">x</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17008</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_ext</variable></argument>
          <argument name="path">y</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
      </vdl:arguments>

    </vdl:execute>
    <vdl:closedataset var="{_ext}"/>
    <log level="debug" message="PROCEDURE_END line=31"/></element>

  <element name="seispeak" arguments="_seis,_peak,_sgt,_var,_stat">
    <parameterlog>
    <string>input</string>
    <string>_sgt</string>
    <vdl:getdatasetprovenanceid var="{_sgt}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_var</string>
    <vdl:getdatasetprovenanceid var="{_var}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_seis</string>
    <vdl:getdatasetprovenanceid var="{_seis}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_peak</string>
    <vdl:getdatasetprovenanceid var="{_peak}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=42 thread={#thread}
name=seispeak"/>
    <vdl:execute>
      <vdl:tr>seispeak</vdl:tr>
      <vdl:stagein var="{_sgt}"/>
      <vdl:stagein var="{_var}"/>
      <vdl:stagein var="{_stat}"/>
      <vdl:stageout var="{_seis}"/>
      <vdl:stageout var="{_peak}"/>
      <vdl:arguments>
        <swiftscript:strcat>
         <variable>swift#string#17000</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">name</argument>
        </getfield>
        </swiftscript:strcat>
        <variable>swift#string#17009</variable>
        <swiftscript:strcat>
         <variable>swift#string#17002</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lon</argument>
        </getfield>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17003</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lat</argument>
        </getfield>
        </swiftscript:strcat>
        <variable>swift#string#17010</variable>
        <variable>swift#string#17011</variable>
        <swiftscript:strcat>
         <variable>swift#string#17012</variable><variable>num_time_steps</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17004</variable><swiftscript:filename>
         <variable>_var</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17005</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">x</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17006</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">y</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17013</variable><swiftscript:filename>
         <variable>_seis</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <variable>swift#string#17014</variable>
        <variable>swift#string#17015</variable>
        <variable>swift#string#17016</variable>
        <variable>swift#string#17017</variable>
        <variable>swift#string#17018</variable>
        <variable>swift#string#17019</variable>
        <swiftscript:strcat>
         <variable>swift#string#17020</variable><variable>num_time_steps</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17021</variable><variable>simulation_timeskip</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17022</variable><variable>spectra_period1</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17023</variable><variable>filter_highhz</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17024</variable><swiftscript:filename>
         <variable>_seis</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17025</variable><swiftscript:filename>
         <variable>_peak</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
      </vdl:arguments>

    </vdl:execute>
    <vdl:closedataset var="{_seis}"/>
    <vdl:closedataset var="{_peak}"/>
    <log level="debug" message="PROCEDURE_END line=42"/></element>

  <element name="seispeak_local" arguments="_seis,_peak,_sgt,_var,_stat">
    <parameterlog>
    <string>input</string>
    <string>_sgt</string>
    <vdl:getdatasetprovenanceid var="{_sgt}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_var</string>
    <vdl:getdatasetprovenanceid var="{_var}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_seis</string>
    <vdl:getdatasetprovenanceid var="{_seis}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_peak</string>
    <vdl:getdatasetprovenanceid var="{_peak}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=70 thread={#thread}
name=seispeak_local"/>
    <vdl:execute>
      <vdl:tr>seispeak_local</vdl:tr>
      <vdl:stagein var="{_sgt}"/>
      <vdl:stagein var="{_var}"/>
      <vdl:stagein var="{_stat}"/>
      <vdl:stageout var="{_seis}"/>
      <vdl:stageout var="{_peak}"/>
      <vdl:arguments>
        <swiftscript:strcat>
         <variable>swift#string#17000</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">name</argument>
        </getfield>
        </swiftscript:strcat>
        <variable>swift#string#17009</variable>
        <swiftscript:strcat>
         <variable>swift#string#17002</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lon</argument>
        </getfield>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17003</variable><getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lat</argument>
        </getfield>
        </swiftscript:strcat>
        <variable>swift#string#17010</variable>
        <variable>swift#string#17011</variable>
        <swiftscript:strcat>
         <variable>swift#string#17012</variable><variable>num_time_steps</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17004</variable><swiftscript:filename>
         <variable>_var</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17005</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">x</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17006</variable><swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">y</argument>
        </getfield>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17013</variable><swiftscript:filename>
         <variable>_seis</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <variable>swift#string#17014</variable>
        <variable>swift#string#17015</variable>
        <variable>swift#string#17016</variable>
        <variable>swift#string#17017</variable>
        <variable>swift#string#17018</variable>
        <variable>swift#string#17019</variable>
        <swiftscript:strcat>
         <variable>swift#string#17020</variable><variable>num_time_steps</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17021</variable><variable>simulation_timeskip</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17022</variable><variable>spectra_period1</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17023</variable><variable>filter_highhz</variable>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17024</variable><swiftscript:filename>
         <variable>_seis</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
        <swiftscript:strcat>
         <variable>swift#string#17025</variable><swiftscript:filename>
         <variable>_peak</variable>
        </swiftscript:filename>
        </swiftscript:strcat>
      </vdl:arguments>

    </vdl:execute>
    <vdl:closedataset var="{_seis}"/>
    <vdl:closedataset var="{_peak}"/>
    <log level="debug" message="PROCEDURE_END line=70"/></element>

  <element name="seispeak_agg" arguments="_seis,_peak,_sgt,_var,_stat,n">
    <parameterlog>
    <string>input</string>
    <string>_sgt</string>
    <vdl:getdatasetprovenanceid var="{_sgt}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_var</string>
    <vdl:getdatasetprovenanceid var="{_var}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>n</string>
    <vdl:getdatasetprovenanceid var="{n}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_seis</string>
    <vdl:getdatasetprovenanceid var="{_seis}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_peak</string>
    <vdl:getdatasetprovenanceid var="{_peak}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=98 thread={#thread}
name=seispeak_agg"/>
    <vdl:execute>
      <vdl:tr>fake</vdl:tr>
      <vdl:stagein var="{_sgt}"/>
      <vdl:stagein var="{_var}"/>
      <vdl:stagein var="{_stat}"/>
      <vdl:stagein var="{n}"/>
      <vdl:stageout var="{_seis}"/>
      <vdl:stageout var="{_peak}"/>
      <vdl:arguments>
        <getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">name</argument>
        </getfield>
        <getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lon</argument>
        </getfield>
        <getfield>
          <argument name="var"><variable>_stat</variable></argument>
          <argument name="path">lat</argument>
        </getfield>
        <variable>num_time_steps</variable>
        <variable>num_time_steps</variable>
        <variable>simulation_timeskip</variable>
        <variable>spectra_period1</variable>
        <variable>filter_highhz</variable>
        <swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">x</argument>
        </getfield>
        </swiftscript:filename>
        <swiftscript:filename>
         <getfield>
          <argument name="var"><variable>_sgt</variable></argument>
          <argument name="path">y</argument>
        </getfield>
        </swiftscript:filename>
        <variable>n</variable>
        <swiftscript:filenames>
         <variable>_var</variable>
        </swiftscript:filenames>
        <swiftscript:filenames>
         <variable>_seis</variable>
        </swiftscript:filenames>
        <swiftscript:filenames>
         <variable>_peak</variable>
        </swiftscript:filenames>
      </vdl:arguments>

    </vdl:execute>
    <vdl:closedataset var="{_seis}"/>
    <vdl:closedataset var="{_peak}"/>
    <log level="debug" message="PROCEDURE_END line=98"/></element>

  <element name="getsite_file" arguments="_stat,_run_id">
    <parameterlog>
    <string>input</string>
    <string>_run_id</string>
    <vdl:getdatasetprovenanceid var="{_run_id}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=112 thread={#thread}
name=getsite_file"/>
    <vdl:execute>
      <vdl:tr>getsite</vdl:tr>
      <vdl:stagein var="{_run_id}"/>
      <vdl:stageout var="{_stat}"/>
      <vdl:arguments>
        <variable>_run_id</variable>
      </vdl:arguments>
      <vdl:stdout>
        <swiftscript:filename>
         <variable>_stat</variable>
        </swiftscript:filename>
      </vdl:stdout>
    </vdl:execute>
    <vdl:closedataset var="{_stat}"/>
    <log level="debug" message="PROCEDURE_END line=112"/></element>

  <element name="get_site" arguments="_stat,_run_id">
    <parameterlog>
    <string>input</string>
    <string>_run_id</string>
    <vdl:getdatasetprovenanceid var="{_run_id}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_stat</string>
    <vdl:getdatasetprovenanceid var="{_stat}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="info"><string>STARTCOMPOUND thread={#thread}
name=get_site</string></log>
    <set name="file">
          <vdl:new type="StationFile" dbgname="file">
            <vdl:mapping descriptor="single_file_mapper">
              <vdl:parameter name="file" value="/var/tmp/site_tmp"/>
              <vdl:parameter name="input" value="true" />
            </vdl:mapping>
          </vdl:new>
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>file</string>
    <vdl:getdatasetprovenanceid var="{file}" />
    <string>{#thread}</string>
    </parameterlog>
    <sequentialWithID>
        <sequential>
          <sequential>
          <log level="debug" message="INTERNALPROC_START
thread={#thread} name=readData"/>
          <set name="swift#cs"><variable>#thread</variable></set>
          <readData>
            <parallel>
              <sequential>
                <set
name="swift#callInternalValue"><variable>_stat</variable></set>
                <parameterlog>
                  <string>output</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
              <sequential>
                <set
name="swift#callInternalValue"><variable>file</variable></set>
                <parameterlog>
                  <string>input</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
            </parallel>
          </readData>
          <log level="debug" message="INTERNALPROC_END thread={#thread}"/>
          </sequential>
        </sequential>
    </sequentialWithID><vdl:closedataset var="{_stat}"/>
    <log level="info"><string>ENDCOMPOUND
thread={#thread}</string></log></element>

  <element name="getrupture_file" arguments="_rup,_run_id">
    <parameterlog>
    <string>input</string>
    <string>_run_id</string>
    <vdl:getdatasetprovenanceid var="{_run_id}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_rup</string>
    <vdl:getdatasetprovenanceid var="{_rup}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=122 thread={#thread}
name=getrupture_file"/>
    <vdl:execute>
      <vdl:tr>getrupture</vdl:tr>
      <vdl:stagein var="{_run_id}"/>
      <vdl:stageout var="{_rup}"/>
      <vdl:arguments>
        <variable>_run_id</variable>
      </vdl:arguments>
      <vdl:stdout>
        <swiftscript:filename>
         <variable>_rup</variable>
        </swiftscript:filename>
      </vdl:stdout>
    </vdl:execute>
    <vdl:closedataset var="{_rup}"/>
    <log level="debug" message="PROCEDURE_END line=122"/></element>

  <element name="get_ruptures" arguments="_rup,_run_id,_site">
    <parameterlog>
    <string>input</string>
    <string>_run_id</string>
    <vdl:getdatasetprovenanceid var="{_run_id}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_site</string>
    <vdl:getdatasetprovenanceid var="{_site}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_rup</string>
    <vdl:getdatasetprovenanceid var="{_rup}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="info"><string>STARTCOMPOUND thread={#thread}
name=get_ruptures</string></log>
    <set name="swift#mapper#17026">
          <vdl:new type="string" dbgname="swift#mapper#17026" waitfor="" />
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>swift#mapper#17026</string>
    <vdl:getdatasetprovenanceid var="{swift#mapper#17026}" />
    <string>{#thread}</string>
    </parameterlog>
    <set name="file">
      <vdl:new type="RuptureFile" dbgname="file">
        <vdl:mapping descriptor="single_file_mapper">
          <vdl:parameter
name="file"><variable>swift#mapper#17026</variable></vdl:parameter>
          <vdl:parameter name="input" value="true" />
        </vdl:mapping>
      </vdl:new>
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>file</string>
    <vdl:getdatasetprovenanceid var="{file}" />
    <string>{#thread}</string>
    </parameterlog>
    <parallel>
        <sequential>
             <vdl:setfieldvalue>
               <argument name="var">
                 <variable>swift#mapper#17026</variable>
               </argument>
               <argument name="value">
                 <swiftscript:strcat>
                  <getfield>
                   <argument name="var"><variable>_site</variable></argument>
                   <argument name="path">name</argument>
                 </getfield><variable>swift#string#17027</variable>
                 </swiftscript:strcat>
               </argument>
             </vdl:setfieldvalue>
        </sequential>
        <sequential>
          <sequential>
          <log level="debug" message="INTERNALPROC_START
thread={#thread} name=readData"/>
          <set name="swift#cs"><variable>#thread</variable></set>
          <readData>
            <parallel>
              <sequential>
                <set
name="swift#callInternalValue"><variable>_rup</variable></set>
                <parameterlog>
                  <string>output</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
              <sequential>
                <set
name="swift#callInternalValue"><variable>file</variable></set>
                <parameterlog>
                  <string>input</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
            </parallel>
          </readData>
          <log level="debug" message="INTERNALPROC_END thread={#thread}"/>
          </sequential>
        </sequential>
    </parallel><vdl:closedataset var="{_rup}"/>
    <log level="info"><string>ENDCOMPOUND
thread={#thread}</string></log></element>

  <element name="getvariation_file" arguments="_var,_site,_rup,_loc">
    <parameterlog>
    <string>input</string>
    <string>_site</string>
    <vdl:getdatasetprovenanceid var="{_site}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_rup</string>
    <vdl:getdatasetprovenanceid var="{_rup}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_loc</string>
    <vdl:getdatasetprovenanceid var="{_loc}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_var</string>
    <vdl:getdatasetprovenanceid var="{_var}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=132 thread={#thread}
name=getvariation_file"/>
    <vdl:execute>
      <vdl:tr>variation_mapper</vdl:tr>
      <vdl:stagein var="{_site}"/>
      <vdl:stagein var="{_rup}"/>
      <vdl:stagein var="{_loc}"/>
      <vdl:stageout var="{_var}"/>
      <vdl:arguments>
        <variable>swift#string#17028</variable>
        <getfield>
          <argument name="var"><variable>_site</variable></argument>
          <argument name="path">erf</argument>
        </getfield>
        <variable>swift#string#17029</variable>
        <getfield>
          <argument name="var"><variable>_site</variable></argument>
          <argument name="path">variation_scenario</argument>
        </getfield>
        <variable>swift#string#17030</variable>
        <variable>_loc</variable>
        <variable>swift#string#17031</variable>
        <getfield>
          <argument name="var"><variable>_rup</variable></argument>
          <argument name="path">source</argument>
        </getfield>
        <variable>swift#string#17032</variable>
        <getfield>
          <argument name="var"><variable>_rup</variable></argument>
          <argument name="path">index</argument>
        </getfield>
      </vdl:arguments>
      <vdl:stdout>
        <swiftscript:filename>
         <variable>_var</variable>
        </swiftscript:filename>
      </vdl:stdout>
    </vdl:execute>
    <vdl:closedataset var="{_var}"/>
    <log level="debug" message="PROCEDURE_END line=132"/></element>

  <element name="get_variations" arguments="_vars,_site,_rup,_loc">
    <parameterlog>
    <string>input</string>
    <string>_site</string>
    <vdl:getdatasetprovenanceid var="{_site}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_rup</string>
    <vdl:getdatasetprovenanceid var="{_rup}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_loc</string>
    <vdl:getdatasetprovenanceid var="{_loc}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_vars</string>
    <vdl:getdatasetprovenanceid var="{_vars}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="info"><string>STARTCOMPOUND thread={#thread}
name=get_variations</string></log>
    <set name="fname">
          <vdl:new type="string" dbgname="fname" waitfor="88002" />
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>fname</string>
    <vdl:getdatasetprovenanceid var="{fname}" />
    <string>{#thread}</string>
    </parameterlog>
    <set name="swift#mapper#17034">
          <vdl:new type="string" dbgname="swift#mapper#17034" waitfor="" />
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>swift#mapper#17034</string>
    <vdl:getdatasetprovenanceid var="{swift#mapper#17034}" />
    <string>{#thread}</string>
    </parameterlog>
    <set name="file">
      <vdl:new type="VariationFile" dbgname="file">
        <vdl:mapping descriptor="single_file_mapper">
          <vdl:parameter
name="file"><variable>swift#mapper#17034</variable></vdl:parameter>
          <vdl:parameter name="input" value="true" />
        </vdl:mapping>
      </vdl:new>
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>file</string>
    <vdl:getdatasetprovenanceid var="{file}" />
    <string>{#thread}</string>
    </parameterlog>
    <parallel>
        <sequential>
             <vdl:setfieldvalue>
               <argument name="var">
                 <variable>fname</variable>
               </argument>
               <argument name="value">
                 <swiftscript:strcat>
                  <getfield>
                   <argument name="var"><variable>_rup</variable></argument>
                   <argument name="path">source</argument>
                 </getfield><variable>swift#string#17033</variable><getfield>
                   <argument name="var"><variable>_rup</variable></argument>
                   <argument name="path">index</argument>
                 </getfield>
                 </swiftscript:strcat>
               </argument>
             </vdl:setfieldvalue>
            <partialCloseDataset var="{fname}" closeID="88002" />
        </sequential>
        <sequential>
             <vdl:setfieldvalue>
               <argument name="var">
                 <variable>swift#mapper#17034</variable>
               </argument>
               <argument name="value">
                 <swiftscript:strcat>
                  <getfield>
                   <argument name="var"><variable>_site</variable></argument>
                   <argument name="path">name</argument>
                 </getfield><variable>swift#string#17035</variable><getfield>
                   <argument name="var"><variable>_rup</variable></argument>
                   <argument name="path">source</argument>

</getfield><variable>swift#string#17036</variable><variable>fname</variable><variable>swift#string#17037</variable>
                 </swiftscript:strcat>
               </argument>
             </vdl:setfieldvalue>
        </sequential>
        <sequential>
          <sequential>
          <log level="debug" message="INTERNALPROC_START
thread={#thread} name=readData"/>
          <set name="swift#cs"><variable>#thread</variable></set>
          <readData>
            <parallel>
              <sequential>
                <set
name="swift#callInternalValue"><variable>_vars</variable></set>
                <parameterlog>
                  <string>output</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
              <sequential>
                <set
name="swift#callInternalValue"><variable>file</variable></set>
                <parameterlog>
                  <string>input</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
            </parallel>
          </readData>
          <log level="debug" message="INTERNALPROC_END thread={#thread}"/>
          </sequential>
        </sequential>
    </parallel><vdl:closedataset var="{_vars}"/>
    <log level="info"><string>ENDCOMPOUND
thread={#thread}</string></log></element>

  <element name="mkoffset" arguments="_off,_size,_group_size">
    <parameterlog>
    <string>input</string>
    <string>_size</string>
    <vdl:getdatasetprovenanceid var="{_size}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_group_size</string>
    <vdl:getdatasetprovenanceid var="{_group_size}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_off</string>
    <vdl:getdatasetprovenanceid var="{_off}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="info"><string>STARTCOMPOUND thread={#thread}
name=mkoffset</string></log>
    <set name="swift#mapper#17038">
          <vdl:new type="string" dbgname="swift#mapper#17038" waitfor="" />
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>swift#mapper#17038</string>
    <vdl:getdatasetprovenanceid var="{swift#mapper#17038}" />
    <string>{#thread}</string>
    </parameterlog>
    <set name="file">
      <vdl:new type="offset_file" dbgname="file">
        <vdl:mapping descriptor="single_file_mapper">
          <vdl:parameter
name="file"><variable>swift#mapper#17038</variable></vdl:parameter>
          <vdl:parameter name="input" value="true" />
        </vdl:mapping>
      </vdl:new>
    </set>
    <parameterlog>
    <string>intermediate</string>
    <string>file</string>
    <vdl:getdatasetprovenanceid var="{file}" />
    <string>{#thread}</string>
    </parameterlog>
    <parallel>
        <sequential>
             <vdl:setfieldvalue>
               <argument name="var">
                 <variable>swift#mapper#17038</variable>
               </argument>
               <argument name="value">
                 <swiftscript:strcat>

<variable>swift#string#17039</variable><variable>_size</variable>
                 </swiftscript:strcat>
               </argument>
             </vdl:setfieldvalue>
        </sequential>
        <sequential>
          <sequential>
          <log level="debug" message="INTERNALPROC_START
thread={#thread} name=readData"/>
          <set name="swift#cs"><variable>#thread</variable></set>
          <readData>
            <parallel>
              <sequential>
                <set
name="swift#callInternalValue"><variable>_off</variable></set>
                <parameterlog>
                  <string>output</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
              <sequential>
                <set
name="swift#callInternalValue"><variable>file</variable></set>
                <parameterlog>
                  <string>input</string>
                  <string>TODO_name_or_pos</string>
                  <vdl:getdatasetprovenanceid var="{swift#callInternalValue}" />
                  <string>{swift#cs}</string>
                </parameterlog>
                <variable>swift#callInternalValue</variable>
              </sequential>
            </parallel>
          </readData>
          <log level="debug" message="INTERNALPROC_END thread={#thread}"/>
          </sequential>
        </sequential>
    </parallel><vdl:closedataset var="{_off}"/>
    <log level="info"><string>ENDCOMPOUND
thread={#thread}</string></log></element>

  <element name="mkoffset_file" arguments="_off,_size,_group_size">
    <parameterlog>
    <string>input</string>
    <string>_size</string>
    <vdl:getdatasetprovenanceid var="{_size}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>input</string>
    <string>_group_size</string>
    <vdl:getdatasetprovenanceid var="{_group_size}" />
    <string>{#thread}</string>
    </parameterlog>
    <parameterlog>
    <string>output</string>
    <string>_off</string>
    <vdl:getdatasetprovenanceid var="{_off}" />
    <string>{#thread}</string>
    </parameterlog>
    <log level="debug" message="PROCEDURE line=155 thread={#thread}
name=mkoffset_file"/>
    <vdl:execute>
      <vdl:tr>mkoffset</vdl:tr>
      <vdl:stagein var="{_size}"/>
      <vdl:stagein var="{_group_size}"/>
      <vdl:stageout var="{_off}"/>
      <vdl:arguments>
        <variable>_size</variable>
        <variable>_group_size</variable>
      </vdl:arguments>
      <vdl:stdout>
        <swiftscript:filename>
         <variable>_off</variable>
        </swiftscript:filename>
      </vdl:stdout>
    </vdl:execute>
    <vdl:closedataset var="{_off}"/>
    <log level="debug" message="PROCEDURE_END line=155"/></element>

  <global name="num_time_steps">
        <vdl:new type="int" dbgname="num_time_steps" waitfor="88005" />
  </global>
  <parameterlog>
  <string>intermediate</string>
  <string>num_time_steps</string>
  <vdl:getdatasetprovenanceid var="{num_time_steps}" />
  <string>{#thread}</string>
  </parameterlog>
  <global name="spectra_period1">
        <vdl:new type="string" dbgname="spectra_period1" waitfor="88006" />
  </global>
  <parameterlog>
  <string>intermediate</string>
  <string>spectra_period1</string>
  <vdl:getdatasetprovenanceid var="{spectra_period1}" />
  <string>{#thread}</string>
  </parameterlog>
  <global name="filter_highhz">
        <vdl:new type="float" dbgname="filter_highhz" waitfor="88007" />
  </global>
  <parameterlog>
  <string>intermediate</string>
  <string>filter_highhz</string>
  <vdl:getdatasetprovenanceid var="{filter_highhz}" />
  <string>{#thread}</string>
  </parameterlog>
  <global name="simulation_timeskip">
        <vdl:new type="float" dbgname="simulation_timeskip" waitfor="88008" />
  </global>
  <parameterlog>
  <string>intermediate</string>
  <string>simulation_timeskip</string>
  <vdl:getdatasetprovenanceid var="{simulation_timeskip}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="run_id">
        <vdl:new type="int" dbgname="run_id" waitfor="88009" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>run_id</string>
  <vdl:getdatasetprovenanceid var="{run_id}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="agg_size">
        <vdl:new type="int" dbgname="agg_size" waitfor="88010" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>agg_size</string>
  <vdl:getdatasetprovenanceid var="{agg_size}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="loc_size">
        <vdl:new type="int" dbgname="loc_size" waitfor="88011" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>loc_size</string>
  <vdl:getdatasetprovenanceid var="{loc_size}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="datadir">
        <vdl:new type="string" dbgname="datadir" waitfor="88012" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>datadir</string>
  <vdl:getdatasetprovenanceid var="{datadir}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="datadir2">
        <vdl:new type="string" dbgname="datadir2" waitfor="88013" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>datadir2</string>
  <vdl:getdatasetprovenanceid var="{datadir2}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="site">
    <vdl:new type="Station" dbgname="site" waitfor="88014">
      <vdl:mapping descriptor="concurrent_mapper">
        <vdl:parameter
name="prefix">site-bd2b4daf-5bee-4765-850c-78277783b4a7</vdl:parameter>
      </vdl:mapping>
    </vdl:new>
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>site</string>
  <vdl:getdatasetprovenanceid var="{site}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="swift#mapper#17045">
        <vdl:new type="string" dbgname="swift#mapper#17045" waitfor="" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>swift#mapper#17045</string>
  <vdl:getdatasetprovenanceid var="{swift#mapper#17045}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="swift#mapper#17047">
        <vdl:new type="string" dbgname="swift#mapper#17047" waitfor="" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>swift#mapper#17047</string>
  <vdl:getdatasetprovenanceid var="{swift#mapper#17047}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="swift#mapper#17048">
        <vdl:new type="string" dbgname="swift#mapper#17048" waitfor="" />
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>swift#mapper#17048</string>
  <vdl:getdatasetprovenanceid var="{swift#mapper#17048}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="sgt_var">
    <vdl:new type="Sgt" dbgname="sgt_var">
      <vdl:mapping descriptor="ext">
        <vdl:parameter name="exec"><vdl:new type="string"
value="getsgtvar.rb" /></vdl:parameter>
        <vdl:parameter name="r"><variable>run_id</variable></vdl:parameter>
        <vdl:parameter
name="s"><variable>swift#mapper#17047</variable></vdl:parameter>
        <vdl:parameter name="l"><vdl:new type="string"
value="gsiftp://gridftp.ranger.tacc.teragrid.org//work/01035/tg802895/science/cybershake/data/SgtFiles"
/></vdl:parameter>
        <vdl:parameter name="input" value="true" />
      </vdl:mapping>
    </vdl:new>
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>sgt_var</string>
  <vdl:getdatasetprovenanceid var="{sgt_var}" />
  <string>{#thread}</string>
  </parameterlog>
  <set name="rups">
    <vdl:new type="Rupture[]" dbgname="rups" waitfor="88015">
      <vdl:mapping descriptor="concurrent_mapper">
        <vdl:parameter
name="prefix">rups-5337caea-ae3a-4282-9907-fba959b1c801</vdl:parameter>
      </vdl:mapping>
    </vdl:new>
  </set>
  <parameterlog>
  <string>intermediate</string>
  <string>rups</string>
  <vdl:getdatasetprovenanceid var="{rups}" />
  <string>{#thread}</string>
  </parameterlog>
  <restartLog>
  	<vdl:mains>
		<vdl:startprogressticker />
		<vdl:mainp>
		    <parallel>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>num_time_steps</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#int#3000</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{num_time_steps}" closeID="88005" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>spectra_period1</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#string#17040</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{spectra_period1}" closeID="88006" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>filter_highhz</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#float#17041</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{filter_highhz}" closeID="88007" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>simulation_timeskip</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#float#17042</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{simulation_timeskip}"
closeID="88008" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>run_id</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#int#664</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{run_id}" closeID="88009" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>agg_size</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#int#60</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{agg_size}" closeID="88010" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>loc_size</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#int#20</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{loc_size}" closeID="88011" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>datadir</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#string#17043</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{datadir}" closeID="88012" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>datadir2</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#string#17044</variable>
		               </argument>
		             </vdl:setfieldvalue>
		            <partialCloseDataset var="{datadir2}" closeID="88013" />
		        </sequential>
		        <sequential>
		          <get_site>
		            <parallel>
		              <variable>site</variable>
		              <variable>run_id</variable>
		            </parallel>
		          </get_site>
		            <partialCloseDataset var="{site}" closeID="88014" />
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>swift#mapper#17045</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#string#17046</variable>
		               </argument>
		             </vdl:setfieldvalue>
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>swift#mapper#17047</variable>
		               </argument>
		               <argument name="value">
		                 <getfield>
		                   <argument name="var"><variable>site</variable></argument>
		                   <argument name="path">name</argument>
		                 </getfield>
		               </argument>
		             </vdl:setfieldvalue>
		        </sequential>
		        <sequential>
		             <vdl:setfieldvalue>
		               <argument name="var">
		                 <variable>swift#mapper#17048</variable>
		               </argument>
		               <argument name="value">
		                 <variable>swift#string#17049</variable>
		               </argument>
		             </vdl:setfieldvalue>
		        </sequential>
		        <sequential>
		          <get_ruptures>
		            <parallel>
		              <variable>rups</variable>
		              <variable>run_id</variable>
		              <variable>site</variable>
		            </parallel>
		          </get_ruptures>
		            <partialCloseDataset var="{rups}" closeID="88015" />
		        </sequential>
		        <sequential>
		          <vdl:tparallelFor name="$">
		            <getarrayiterator><variable>rups</variable></getarrayiterator>
		            <set names="$$, rup">
		              <each items="{$}"/>
		            </set>
		          	<log level="debug" message="FOREACH_IT_START line=176
thread={#thread}"/>
		          <log level="debug"><string>SCOPE thread={#thread}</string></log>

		              <set name="loc_sub">
		                    <vdl:new type="string" dbgname="loc_sub"
waitfor="88016" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>loc_sub</string>
		              <vdl:getdatasetprovenanceid var="{loc_sub}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17050">
		                    <vdl:new type="string"
dbgname="swift#mapper#17050" waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17050</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17050}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17052">
		                    <vdl:new type="string"
dbgname="swift#mapper#17052" waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17052</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17052}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17053">
		                    <vdl:new type="int" dbgname="swift#mapper#17053"
waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17053</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17053}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17054">
		                    <vdl:new type="int" dbgname="swift#mapper#17054"
waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17054</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17054}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="sub">
		                <vdl:new type="Sgt" dbgname="sub">
		                  <vdl:mapping descriptor="ext">
		                    <vdl:parameter name="exec"><vdl:new
type="string" value="getsub.rb" /></vdl:parameter>
		                    <vdl:parameter
name="l"><variable>loc_sub</variable></vdl:parameter>
		                    <vdl:parameter
name="n"><variable>swift#mapper#17052</variable></vdl:parameter>
		                    <vdl:parameter
name="s"><variable>swift#mapper#17053</variable></vdl:parameter>
		                    <vdl:parameter
name="r"><variable>swift#mapper#17054</variable></vdl:parameter>
		                    <vdl:parameter name="input" value="true" />
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>sub</string>
		              <vdl:getdatasetprovenanceid var="{sub}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="var_str">
		                <vdl:new type="string[]" dbgname="var_str" waitfor="88017">
		                  <vdl:mapping descriptor="concurrent_mapper">
		                    <vdl:parameter
name="prefix">var_str-0be56efa-17ab-4185-bdfd-00a384289008</vdl:parameter>
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>var_str</string>
		              <vdl:getdatasetprovenanceid var="{var_str}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="vars">
		                <vdl:new type="Variation[]" dbgname="vars">
		                  <vdl:mapping descriptor="array_mapper">
		                    <vdl:parameter
name="files"><variable>var_str</variable></vdl:parameter>
		                    <vdl:parameter name="input" value="true" />
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>vars</string>
		              <vdl:getdatasetprovenanceid var="{vars}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="seis_str">
		                <vdl:new type="string[]" dbgname="seis_str"
waitfor="88018 88022">
		                  <vdl:mapping descriptor="concurrent_mapper">
		                    <vdl:parameter
name="prefix">seis_str-6937efe3-c3df-416f-b7d3-0e47ea3a3eb8</vdl:parameter>
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>seis_str</string>
		              <vdl:getdatasetprovenanceid var="{seis_str}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="peak_str">
		                <vdl:new type="string[]" dbgname="peak_str"
waitfor="88019 88022">
		                  <vdl:mapping descriptor="concurrent_mapper">
		                    <vdl:parameter
name="prefix">peak_str-020c6ebf-2cba-4ac2-9eef-213d675682cc</vdl:parameter>
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>peak_str</string>
		              <vdl:getdatasetprovenanceid var="{peak_str}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17061">
		                    <vdl:new type="string"
dbgname="swift#mapper#17061" waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17061</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17061}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="seis">
		                <vdl:new type="Seismogram[]" dbgname="seis" waitfor="88023">
		                  <vdl:mapping descriptor="fixed_array_mapper">
		                    <vdl:parameter
name="files"><variable>swift#mapper#17061</variable></vdl:parameter>
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>seis</string>
		              <vdl:getdatasetprovenanceid var="{seis}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="swift#mapper#17062">
		                    <vdl:new type="string"
dbgname="swift#mapper#17062" waitfor="" />
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>swift#mapper#17062</string>
		              <vdl:getdatasetprovenanceid var="{swift#mapper#17062}" />
		              <string>{#thread}</string>
		              </parameterlog>
		              <set name="peak">
		                <vdl:new type="PeakValue[]" dbgname="peak" waitfor="88023">
		                  <vdl:mapping descriptor="fixed_array_mapper">
		                    <vdl:parameter
name="files"><variable>swift#mapper#17062</variable></vdl:parameter>
		                  </vdl:mapping>
		                </vdl:new>
		              </set>
		              <parameterlog>
		              <string>intermediate</string>
		              <string>peak</string>
		              <vdl:getdatasetprovenanceid var="{peak}" />
		              <string>{#thread}</string>
		              </parameterlog>
		                <parallel>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>loc_sub</variable>
		                           </argument>
		                           <argument name="value">
		                             <swiftscript:strcat>
		
<variable>datadir2</variable><variable>swift#string#17036</variable><getfield>
		                               <argument
name="var"><variable>site</variable></argument>
		                               <argument name="path">name</argument>
		
</getfield><variable>swift#string#17036</variable><getfield>
		                               <argument
name="var"><variable>rup</variable></argument>
		                               <argument name="path">source</argument>
		
</getfield><variable>swift#string#17036</variable><getfield>
		                               <argument
name="var"><variable>rup</variable></argument>
		                               <argument name="path">index</argument>
		                             </getfield>
		                             </swiftscript:strcat>
		                           </argument>
		                         </vdl:setfieldvalue>
		                        <partialCloseDataset var="{loc_sub}"
closeID="88016" />
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17050</variable>
		                           </argument>
		                           <argument name="value">
		                             <variable>swift#string#17051</variable>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17052</variable>
		                           </argument>
		                           <argument name="value">
		                             <getfield>
		                               <argument
name="var"><variable>site</variable></argument>
		                               <argument name="path">name</argument>
		                             </getfield>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17053</variable>
		                           </argument>
		                           <argument name="value">
		                             <getfield>
		                               <argument
name="var"><variable>rup</variable></argument>
		                               <argument name="path">source</argument>
		                             </getfield>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17054</variable>
		                           </argument>
		                           <argument name="value">
		                             <getfield>
		                               <argument
name="var"><variable>rup</variable></argument>
		                               <argument name="path">index</argument>
		                             </getfield>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                      <get_variations>
		                        <parallel>
		                          <variable>var_str</variable>
		                          <variable>site</variable>
		                          <variable>rup</variable>
		                          <variable>swift#string#17055</variable>
		                        </parallel>
		                      </get_variations>
		                        <partialCloseDataset var="{var_str}"
closeID="88017" />
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <vdl:getfieldsubscript>
		                               <argument
name="var"><variable>seis_str</variable></argument>
		                               <argument name="subscript"><vdlop:product>
		                               <vdl:new type="int" value="-1" />
		                               <variable>swift#int#1</variable>
		                             </vdlop:product></argument>
		                             </vdl:getfieldsubscript>
		                           </argument>
		                           <argument name="value">
		                             <variable>swift#string#17056</variable>
		                           </argument>
		                         </vdl:setfieldvalue>
		                        <partialCloseDataset var="{seis_str}"
closeID="88018" />
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <vdl:getfieldsubscript>
		                               <argument
name="var"><variable>peak_str</variable></argument>
		                               <argument name="subscript"><vdlop:product>
		                               <vdl:new type="int" value="-1" />
		                               <variable>swift#int#1</variable>
		                             </vdlop:product></argument>
		                             </vdl:getfieldsubscript>
		                           </argument>
		                           <argument name="value">
		                             <variable>swift#string#17056</variable>
		                           </argument>
		                         </vdl:setfieldvalue>
		                        <partialCloseDataset var="{peak_str}"
closeID="88019" />
		                    </sequential>
		                    <sequential>
		                      <vdl:tparallelFor name="$">
		
<getarrayiterator><variable>vars</variable></getarrayiterator>
		                        <set names="$$, var">
		                          <each items="{$}"/>
		                        </set>
		                          <set name="i">
		                            <vdl:new type="int" value="{$$}"/>
		                          </set>	<log level="debug"
message="FOREACH_IT_START line=191 thread={#thread}"/>
		                      <log level="debug"><string>SCOPE
thread={#thread}</string></log>

		                            <parallel>
		                                <sequential>
		                                     <vdl:setfieldvalue>
		                                       <argument name="var">
		                                         <vdl:getfieldsubscript>
		                                           <argument
name="var"><variable>seis_str</variable></argument>
		                                           <argument
name="subscript"><variable>i</variable></argument>
		                                         </vdl:getfieldsubscript>
		                                       </argument>
		                                       <argument name="value">
		                                         <swiftscript:strcat>
		                                          <vdl:getfieldsubscript>
		                                           <argument
name="var"><variable>seis_str</variable></argument>
		                                           <argument
name="subscript"><vdlop:subtraction>
		                                           <variable>i</variable>
		                                           <variable>swift#int#1</variable>
		                                         </vdlop:subtraction></argument>
		
</vdl:getfieldsubscript><variable>loc_sub</variable><variable>swift#string#17057</variable><getfield>
		                                           <argument
name="var"><variable>site</variable></argument>
		                                           <argument
name="path">name</argument>
		
</getfield><variable>swift#string#17033</variable><getfield>
		                                           <argument
name="var"><variable>rup</variable></argument>
		                                           <argument
name="path">source</argument>
		
</getfield><variable>swift#string#17033</variable><getfield>
		                                           <argument
name="var"><variable>rup</variable></argument>
		                                           <argument
name="path">index</argument>
		
</getfield><variable>swift#string#17033</variable><variable>i</variable><variable>swift#string#17058</variable>
		                                         </swiftscript:strcat>
		                                       </argument>
		                                     </vdl:setfieldvalue>
		                                </sequential>
		                                <sequential>
		                                     <vdl:setfieldvalue>
		                                       <argument name="var">
		                                         <vdl:getfieldsubscript>
		                                           <argument
name="var"><variable>peak_str</variable></argument>
		                                           <argument
name="subscript"><variable>i</variable></argument>
		                                         </vdl:getfieldsubscript>
		                                       </argument>
		                                       <argument name="value">
		                                         <swiftscript:strcat>
		                                          <vdl:getfieldsubscript>
		                                           <argument
name="var"><variable>peak_str</variable></argument>
		                                           <argument
name="subscript"><vdlop:subtraction>
		                                           <variable>i</variable>
		                                           <variable>swift#int#1</variable>
		                                         </vdlop:subtraction></argument>
		
</vdl:getfieldsubscript><variable>loc_sub</variable><variable>swift#string#17059</variable><getfield>
		                                           <argument
name="var"><variable>site</variable></argument>
		                                           <argument
name="path">name</argument>
		
</getfield><variable>swift#string#17033</variable><getfield>
		                                           <argument
name="var"><variable>rup</variable></argument>
		                                           <argument
name="path">source</argument>
		
</getfield><variable>swift#string#17033</variable><getfield>
		                                           <argument
name="var"><variable>rup</variable></argument>
		                                           <argument
name="path">index</argument>
		
</getfield><variable>swift#string#17033</variable><variable>i</variable><variable>swift#string#17060</variable>
		                                         </swiftscript:strcat>
		                                       </argument>
		                                     </vdl:setfieldvalue>
		                                </sequential>
		                            </parallel>
		                          <log level="debug" message="FOREACH_IT_END
line=191 thread={#thread}"/>
		                      </vdl:tparallelFor>
		                        <partialCloseDataset var="{peak_str}"
closeID="88022" />
		                        <partialCloseDataset var="{seis_str}"
closeID="88022" />
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17061</variable>
		                           </argument>
		                           <argument name="value">
		                             <vdl:getfieldsubscript>
		                               <argument
name="var"><variable>seis_str</variable></argument>
		                               <argument name="subscript"><vdlop:subtraction>
		                               <getfield>
		                                 <argument
name="var"><variable>rup</variable></argument>
		                                 <argument name="path">size</argument>
		                               </getfield>
		                               <variable>swift#int#1</variable>
		                             </vdlop:subtraction></argument>
		                             </vdl:getfieldsubscript>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                         <vdl:setfieldvalue>
		                           <argument name="var">
		                             <variable>swift#mapper#17062</variable>
		                           </argument>
		                           <argument name="value">
		                             <vdl:getfieldsubscript>
		                               <argument
name="var"><variable>peak_str</variable></argument>
		                               <argument name="subscript"><vdlop:subtraction>
		                               <getfield>
		                                 <argument
name="var"><variable>rup</variable></argument>
		                                 <argument name="path">size</argument>
		                               </getfield>
		                               <variable>swift#int#1</variable>
		                             </vdlop:subtraction></argument>
		                             </vdl:getfieldsubscript>
		                           </argument>
		                         </vdl:setfieldvalue>
		                    </sequential>
		                    <sequential>
		                      <if>
		                        <vdl:getfieldvalue><vdlop:le>
		                        <getfield>
		                          <argument
name="var"><variable>rup</variable></argument>
		                          <argument name="path">size</argument>
		                        </getfield>
		                        <variable>loc_size</variable>
		                      </vdlop:le></vdl:getfieldvalue>
		                        <then>
		                      <log level="debug"><string>SCOPE
thread={#thread}</string></log>


		                        </then>
		                        <else>
		                      <log level="debug"><string>SCOPE
thread={#thread}</string></log>

		                          <sequentialWithID>
		                              <sequential>
		                                <if>
		                                  <vdl:getfieldvalue><vdlop:le>
		                                  <getfield>
		                                    <argument
name="var"><variable>rup</variable></argument>
		                                    <argument name="path">size</argument>
		                                  </getfield>
		                                  <variable>agg_size</variable>
		                                </vdlop:le></vdl:getfieldvalue>
		                                  <then>
		                                <log level="debug"><string>SCOPE
thread={#thread}</string></log>

		                                    <sequentialWithID>
		                                        <sequential>
		                                          <seispeak_agg>
		                                            <parallel>
		                                              <variable>seis</variable>
		                                              <variable>peak</variable>
		                                              <variable>sub</variable>
		                                              <variable>vars</variable>
		                                              <variable>site</variable>
		                                              <getfield>
		                                                <argument
name="var"><variable>rup</variable></argument>
		                                                <argument
name="path">size</argument>
		                                              </getfield>
		                                            </parallel>
		                                          </seispeak_agg>
		                                        </sequential>
		                                    </sequentialWithID>
		                                  </then>
		                                  <else>
		                                <log level="debug"><string>SCOPE
thread={#thread}</string></log>
		                                    <set name="offs">
		                                      <vdl:new type="offset[]"
dbgname="offs" waitfor="88027">
		                                        <vdl:mapping
descriptor="concurrent_mapper">
		                                          <vdl:parameter
name="prefix">offs-43c154db-5039-4460-9eed-9e83d05326a6</vdl:parameter>
		                                        </vdl:mapping>
		                                      </vdl:new>
		                                    </set>
		                                    <parameterlog>
		                                    <string>intermediate</string>
		                                    <string>offs</string>
		                                    <vdl:getdatasetprovenanceid
var="{offs}" />
		                                    <string>{#thread}</string>
		                                    </parameterlog>
		                                    <parallel>
		                                        <sequential>
		                                          <mkoffset>
		                                            <parallel>
		                                              <variable>offs</variable>
		                                              <getfield>
		                                                <argument
name="var"><variable>rup</variable></argument>
		                                                <argument
name="path">size</argument>
		                                              </getfield>
		                                              <variable>agg_size</variable>
		                                            </parallel>
		                                          </mkoffset>
		                                            <partialCloseDataset
var="{offs}" closeID="88027" />
		                                        </sequential>
		                                        <sequential>
		                                          <vdl:tparallelFor name="$">
		
<getarrayiterator><variable>offs</variable></getarrayiterator>
		                                            <set names="$$, i">
		                                              <each items="{$}"/>
		                                            </set>
		                                          	<log level="debug"
message="FOREACH_IT_START line=216 thread={#thread}"/>
		                                          <log
level="debug"><string>SCOPE thread={#thread}</string></log>

		                                              <set name="var_offset">
		                                                <vdl:new
type="Variation[]" dbgname="var_offset" waitfor="88033">
		                                                  <vdl:mapping
descriptor="concurrent_mapper">
		                                                    <vdl:parameter
name="prefix">var_offset-a9ae00b0-1d92-4754-a13a-8d580fb03cc4</vdl:parameter>
		                                                  </vdl:mapping>
		                                                </vdl:new>
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		                                              <string>var_offset</string>
		
<vdl:getdatasetprovenanceid var="{var_offset}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="seis_str_off">
		                                                <vdl:new
type="string[]" dbgname="seis_str_off" waitfor="88028 88033">
		                                                  <vdl:mapping
descriptor="concurrent_mapper">
		                                                    <vdl:parameter
name="prefix">seis_str_off-5fa23a9b-9c02-4bba-b092-aa64606ee081</vdl:parameter>
		                                                  </vdl:mapping>
		                                                </vdl:new>
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		                                              <string>seis_str_off</string>
		
<vdl:getdatasetprovenanceid var="{seis_str_off}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="peak_str_off">
		                                                <vdl:new
type="string[]" dbgname="peak_str_off" waitfor="88029 88033">
		                                                  <vdl:mapping
descriptor="concurrent_mapper">
		                                                    <vdl:parameter
name="prefix">peak_str_off-8ec116fa-6b1a-4677-ae14-7927be4ee988</vdl:parameter>
		                                                  </vdl:mapping>
		                                                </vdl:new>
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		                                              <string>peak_str_off</string>
		
<vdl:getdatasetprovenanceid var="{peak_str_off}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="swift#mapper#17063">
		                                                    <vdl:new
type="string" dbgname="swift#mapper#17063" waitfor="" />
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		
<string>swift#mapper#17063</string>
		
<vdl:getdatasetprovenanceid var="{swift#mapper#17063}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="seis_off">
		                                                <vdl:new
type="Seismogram[]" dbgname="seis_off" waitfor="88034">
		                                                  <vdl:mapping
descriptor="fixed_array_mapper">
		                                                    <vdl:parameter
name="files"><variable>swift#mapper#17063</variable></vdl:parameter>
		                                                  </vdl:mapping>
		                                                </vdl:new>
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		                                              <string>seis_off</string>
		
<vdl:getdatasetprovenanceid var="{seis_off}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="swift#mapper#17064">
		                                                    <vdl:new
type="string" dbgname="swift#mapper#17064" waitfor="" />
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		
<string>swift#mapper#17064</string>
		
<vdl:getdatasetprovenanceid var="{swift#mapper#17064}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                              <set name="peak_off">
		                                                <vdl:new
type="PeakValue[]" dbgname="peak_off" waitfor="88035">
		                                                  <vdl:mapping
descriptor="fixed_array_mapper">
		                                                    <vdl:parameter
name="files"><variable>swift#mapper#17064</variable></vdl:parameter>
		                                                  </vdl:mapping>
		                                                </vdl:new>
		                                              </set>
		                                              <parameterlog>
		                                              <string>intermediate</string>
		                                              <string>peak_off</string>
		
<vdl:getdatasetprovenanceid var="{peak_off}" />
		                                              <string>{#thread}</string>
		                                              </parameterlog>
		                                                <parallel>
		                                                    <sequential>
		                                                         <vdl:setfieldvalue>
		                                                           <argument
name="var">
		
<vdl:getfieldsubscript>
		
<argument name="var"><variable>seis_str_off</variable></argument>
		
<argument name="subscript"><vdlop:product>
		
<vdl:new type="int" value="-1" />
		
<variable>swift#int#1</variable>
		
</vdlop:product></argument>
		
</vdl:getfieldsubscript>
		                                                           </argument>
		                                                           <argument
name="value">
		
<variable>swift#string#17056</variable>
		                                                           </argument>
		                                                         </vdl:setfieldvalue>
		
<partialCloseDataset var="{seis_str_off}" closeID="88028" />
		                                                    </sequential>
		                                                    <sequential>
		                                                         <vdl:setfieldvalue>
		                                                           <argument
name="var">
		
<vdl:getfieldsubscript>
		
<argument name="var"><variable>peak_str_off</variable></argument>
		
<argument name="subscript"><vdlop:product>
		
<vdl:new type="int" value="-1" />
		
<variable>swift#int#1</variable>
		
</vdlop:product></argument>
		
</vdl:getfieldsubscript>
		                                                           </argument>
		                                                           <argument
name="value">
		
<variable>swift#string#17056</variable>
		                                                           </argument>
		                                                         </vdl:setfieldvalue>
		
<partialCloseDataset var="{peak_str_off}" closeID="88029" />
		                                                    </sequential>
		                                                    <sequential>
		
<vdl:tparallelFor name="$">
		
<getarrayiterator><sequential>
		                                                       <set
name="swift#from"><getfield>
		                                                        <argument
name="var"><variable>i</variable></argument>
		                                                        <argument
name="path">off</argument>
		                                                      </getfield></set>
		                                                       <set
name="swift#to"><vdlop:subtraction>
		                                                        <vdlop:sum>
		                                                          <getfield>
		
<argument name="var"><variable>i</variable></argument>
		
<argument name="path">off</argument>
		                                                          </getfield>
		                                                          <getfield>
		
<argument name="var"><variable>i</variable></argument>
		
<argument name="path">size</argument>
		                                                          </getfield>
		                                                        </vdlop:sum>
		
<variable>swift#int#1</variable>
		
</vdlop:subtraction></set>
		                                                       <set
name="swift#rangeout">
		                                                        <vdl:range>
		                                                          <argument
name="from"><variable>swift#from</variable></argument>
		                                                          <argument
name="to"><variable>swift#to</variable></argument>
		                                                        </vdl:range>
		                                                       </set>
		
<if><equals><vdl:configProperty><string>provenance.log</string></vdl:configProperty><string>true</string></equals>
		                                                       <then>
		                                                       <log
level="info"><concat>
		
<string>ARRAYRANGE thread={#thread} array=</string>
		
<vdl:getdatasetprovenanceid var="{swift#rangeout}" />
		                                                          <string>
from=</string> <vdl:getdatasetprovenanceid var="{swift#from}" />
		                                                          <string>
to=</string> <vdl:getdatasetprovenanceid var="{swift#to}" />
		                                                          <string>
step=none</string>
		                                                       </concat></log>
		                                                       </then>
		                                                       </if>
		
<variable>swift#rangeout</variable>
		
</sequential></getarrayiterator>
		                                                        <set names="$$, j">
		                                                          <each items="{$}"/>
		                                                        </set>
		                                                      	<log
level="debug" message="FOREACH_IT_START line=222 thread={#thread}"/>
		                                                      <log
level="debug"><string>SCOPE thread={#thread}</string></log>

		                                                            <parallel>
		                                                                <sequential>
		
<vdl:setfieldvalue>
		
  <argument name="var">
		
    <vdl:getfieldsubscript>
		
      <argument name="var"><variable>var_offset</variable></argument>
		
      <argument name="subscript"><variable>j</variable></argument>
		
    </vdl:getfieldsubscript>
		
  </argument>
		
  <argument name="value">
		
    <vdl:getfieldsubscript>
		
      <argument name="var"><variable>vars</variable></argument>
		
      <argument name="subscript"><variable>j</variable></argument>
		
    </vdl:getfieldsubscript>
		
  </argument>
		
</vdl:setfieldvalue>
		                                                                </sequential>
		                                                                <sequential>
		
<vdl:setfieldvalue>
		
  <argument name="var">
		
    <vdl:getfieldsubscript>
		
      <argument
name="var"><variable>seis_str_off</variable></argument>
		
      <argument name="subscript"><vdlop:subtraction>
		
      <variable>j</variable>
		
      <getfield>
		
        <argument name="var"><variable>i</variable></argument>
		
        <argument name="path">off</argument>
		
      </getfield>
		
    </vdlop:subtraction></argument>
		
    </vdl:getfieldsubscript>
		
  </argument>
		
  <argument name="value">
		
    <swiftscript:strcat>
		
     <vdl:getfieldsubscript>
		
      <argument
name="var"><variable>seis_str_off</variable></argument>
		
      <argument name="subscript"><vdlop:subtraction>
		
      <vdlop:subtraction>
		
        <variable>j</variable>
		
        <getfield>
		
          <argument name="var"><variable>i</variable></argument>
		
          <argument name="path">off</argument>
		
        </getfield>
		
      </vdlop:subtraction>
		
      <variable>swift#int#1</variable>
		
    </vdlop:subtraction></argument>
		
    </vdl:getfieldsubscript><variable>loc_sub</variable><variable>swift#string#17057</variable><getfield>
		
      <argument name="var"><variable>site</variable></argument>
		
      <argument name="path">name</argument>
		
    </getfield><variable>swift#string#17033</variable><getfield>
		
      <argument name="var"><variable>rup</variable></argument>
		
      <argument name="path">source</argument>
		
    </getfield><variable>swift#string#17033</variable><getfield>
		
      <argument name="var"><variable>rup</variable></argument>
		
      <argument name="path">index</argument>
		
    </getfield><variable>swift#string#17033</variable><variable>j</variable><variable>swift#string#17058</variable>
		
    </swiftscript:strcat>
		
  </argument>
		
</vdl:setfieldvalue>
		                                                                </sequential>
		                                                                <sequential>
		
<vdl:setfieldvalue>
		
  <argument name="var">
		
    <vdl:getfieldsubscript>
		
      <argument
name="var"><variable>peak_str_off</variable></argument>
		
      <argument name="subscript"><vdlop:subtraction>
		
      <variable>j</variable>
		
      <getfield>
		
        <argument name="var"><variable>i</variable></argument>
		
        <argument name="path">off</argument>
		
      </getfield>
		
    </vdlop:subtraction></argument>
		
    </vdl:getfieldsubscript>
		
  </argument>
		
  <argument name="value">
		
    <swiftscript:strcat>
		
     <vdl:getfieldsubscript>
		
      <argument
name="var"><variable>peak_str_off</variable></argument>
		
      <argument name="subscript"><vdlop:subtraction>
		
      <vdlop:subtraction>
		
        <variable>j</variable>
		
        <getfield>
		
          <argument name="var"><variable>i</variable></argument>
		
          <argument name="path">off</argument>
		
        </getfield>
		
      </vdlop:subtraction>
		
      <variable>swift#int#1</variable>
		
    </vdlop:subtraction></argument>
		
    </vdl:getfieldsubscript><variable>loc_sub</variable><variable>swift#string#17059</variable><getfield>
		
      <argument name="var"><variable>site</variable></argument>
		
      <argument name="path">name</argument>
		
    </getfield><variable>swift#string#17033</variable><getfield>
		
      <argument name="var"><variable>rup</variable></argument>
		
      <argument name="path">source</argument>
		
    </getfield><variable>swift#string#17033</variable><getfield>
		
      <argument name="var"><variable>rup</variable></argument>
		
      <argument name="path">index</argument>
		
    </getfield><variable>swift#string#17033</variable><variable>j</variable><variable>swift#string#17060</variable>
		
    </swiftscript:strcat>
		
  </argument>
		
</vdl:setfieldvalue>
		                                                                </sequential>
		                                                            </parallel>
		                                                          <log
level="debug" message="FOREACH_IT_END line=222 thread={#thread}"/>
		                                                      </vdl:tparallelFor>
		
<partialCloseDataset var="{var_offset}" closeID="88033" />
		
<partialCloseDataset var="{peak_str_off}" closeID="88033" />
		
<partialCloseDataset var="{seis_str_off}" closeID="88033" />
		                                                    </sequential>
		                                                    <sequential>
		                                                         <vdl:setfieldvalue>
		                                                           <argument
name="var">
		
<variable>swift#mapper#17063</variable>
		                                                           </argument>
		                                                           <argument
name="value">
		
<vdl:getfieldsubscript>
		
<argument name="var"><variable>seis_str_off</variable></argument>
		
<argument name="subscript"><vdlop:subtraction>
		                                                               <getfield>
		
<argument name="var"><variable>i</variable></argument>
		
<argument name="path">size</argument>
		                                                               </getfield>
		
<variable>swift#int#1</variable>
		
</vdlop:subtraction></argument>
		
</vdl:getfieldsubscript>
		                                                           </argument>
		                                                         </vdl:setfieldvalue>
		                                                    </sequential>
		                                                    <sequential>
		                                                         <vdl:setfieldvalue>
		                                                           <argument
name="var">
		
<variable>swift#mapper#17064</variable>
		                                                           </argument>
		                                                           <argument
name="value">
		
<vdl:getfieldsubscript>
		
<argument name="var"><variable>peak_str_off</variable></argument>
		
<argument name="subscript"><vdlop:subtraction>
		                                                               <getfield>
		
<argument name="var"><variable>i</variable></argument>
		
<argument name="path">size</argument>
		                                                               </getfield>
		
<variable>swift#int#1</variable>
		
</vdlop:subtraction></argument>
		
</vdl:getfieldsubscript>
		                                                           </argument>
		                                                         </vdl:setfieldvalue>
		                                                    </sequential>
		                                                    <sequential>
		                                                      <seispeak_agg>
		                                                        <parallel>
		
<variable>seis_off</variable>
		
<variable>peak_off</variable>
		
<variable>sub</variable>
		
<variable>var_offset</variable>
		
<variable>site</variable>
		                                                          <getfield>
		
<argument name="var"><variable>i</variable></argument>
		
<argument name="path">size</argument>
		                                                          </getfield>
		                                                        </parallel>
		                                                      </seispeak_agg>
		
<partialCloseDataset var="{seis_off}" closeID="88034" />
		
<partialCloseDataset var="{peak_off}" closeID="88035" />
		                                                    </sequential>
		                                                </parallel>
		                                              <log level="debug"
message="FOREACH_IT_END line=216 thread={#thread}"/>
		                                          </vdl:tparallelFor>
		                                        </sequential>
		                                    </parallel>
		                                  </else>
		                                </if>
		                              </sequential>
		                          </sequentialWithID>
		                        </else>
		                      </if>
		                        <partialCloseDataset var="{seis}" closeID="88023" />
		                        <partialCloseDataset var="{peak}" closeID="88023" />
		                    </sequential>
		                </parallel>
		              <log level="debug" message="FOREACH_IT_END line=176
thread={#thread}"/>
		          </vdl:tparallelFor>
		        </sequential>
		    </parallel>
		</vdl:mainp>
		<vdl:stopprogressticker />
	</vdl:mains>
  </restartLog>
</project>

2011/5/12 Mihael Hategan <hategan at mcs.anl.gov>:
> And now the script please. Better yet, the .kml.
>
> On Thu, 2011-05-12 at 23:44 -0500, Allan Espinosa wrote:
>> Oops.  Here you go:
>>
>> 2011-05-12 23:43:39,269-0500 DEBUG Loader Max heap: 3817799680
>> 2011-05-12 23:43:39,270-0500 DEBUG Loader kmlversion is
>>
>> 2011/5/12 Mihael Hategan <hategan at mcs.anl.gov>:
>> > Me want log. Or a full stack trace otherwise.
>> >
>> > On Thu, 2011-05-12 at 23:35 -0500, Allan Espinosa wrote:
>> >> I now get this on my workflow.  This does not happen in the current
>> >> stable branch.  Maybe it really was bad
>> >>
>> >> $ ~/swift/trunk/bin/swift -config swift.properties -sites.file
>> >> condor_osg.xml  postproc.swift
>> >> Swift svn swift-r4468 cog-r3096
>> >>
>> >> RunID: 20110512-2330-vjqo3je6
>> >> Progress:  time: Thu, 12 May 2011 23:30:23 -0500
>> >> Unexpected VDL2FutureException checking inputs for dataset
>> >> org.griphyn.vdl.mapping.RootDataNode identifier
>> >> dataset:20110512-2330-cutxe93f:720000000077 type RuptureFile with no
>> >> value at dataset=file (closed)
>> >> Execution failed:
>> >>         Got a VDL2FutureException but all parameters should have their values
>> >>
>> >>
>> >> 2011/5/12 Mihael Hategan <hategan at mcs.anl.gov>:
>> >> > On Thu, 2011-05-12 at 14:06 -0700, Mihael Hategan wrote:
>> >> >
>> >> >> And it doesn't except that the toString() method may get an inconsistent
>> >> >> view of the listeners.
>> >> >>
>> >> >> I'm updating the code there and will commit a tentative fix in a bit.
>> >> >
>> >> > Done. swift r4467.
>> >> >
>> >> > Btw, are we running nightly tests?
>> >> >
>> >> >
>
>
>
>



-- 
Allan M. Espinosa <http://amespinosa.wordpress.com>
PhD student, Computer Science
University of Chicago <http://people.cs.uchicago.edu/~aespinosa>



More information about the Swift-user mailing list