source code</span>
</summary>
<pre><code class="python">def run(
    self,
    dates,
    vertical=0,
    model_top=10000.0,
    cdir=&#34;/home/geoschem/hysplit/trajectories/ncep/all/control/&#34;,
):
    self.dates = dates
    os.chdir(self.workpath)
    for date in self.dates:
        start_time = self.get_hydate(date)
        outfile = (
            self.outdir
            + self.met_type
            + &#34;.&#34;
            + str(self.height)
            + &#34;.&#34;
            + self.get_out_date(d