Index: Documentation/html/_modules/submit.html
===================================================================
--- Documentation/html/_modules/submit.html	(revision 6931f619b7c5d1d97ad8d890d856f96211da5866)
+++ Documentation/html/_modules/submit.html	(revision 08c90911f8a1c5051fd7421321897fe5517f12d9)
@@ -183,7 +183,10 @@
 <span class="c1">#        - splitted submit function to use genshi templates for the</span>
 <span class="c1">#          job script and avoid code duplication</span>
+<span class="c1">#    June 2020 - Anne Philipp</span>
+<span class="c1">#        - changed finale job_file to filename from config file</span>
+<span class="c1">#          instead of generating from the template filename</span>
 <span class="c1">#</span>
 <span class="c1"># @License:</span>
-<span class="c1">#    (C) Copyright 2014-2019.</span>
+<span class="c1">#    (C) Copyright 2014-2020.</span>
 <span class="c1">#    Anne Philipp, Leopold Haimberger</span>
 <span class="c1">#</span>
@@ -234,6 +237,4 @@
 <span class="kn">from</span> <span class="nn">Mods.get_mars_data</span> <span class="kn">import</span> <span class="n">get_mars_data</span>
 <span class="kn">from</span> <span class="nn">Mods.prepare_flexpart</span> <span class="kn">import</span> <span class="n">prepare_flexpart</span>
-<span class="c1">#from Classes.ControlFile import ControlFile</span>
-
 
 <span class="c1"># ------------------------------------------------------------------------------</span>
@@ -291,5 +292,5 @@
 <span class="sd">        module and variable settings for the ECMWF environment as well as</span>
 <span class="sd">        the job call and mail report instructions.</span>
-<span class="sd">        Default is &quot;job.temp&quot;.</span>
+<span class="sd">        Default is _config.TEMPFILE_JOB.</span>
 
 <span class="sd">    c : ControlFile</span>
@@ -313,5 +314,5 @@
 
         <span class="n">job_file</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">_config</span><span class="o">.</span><span class="n">PATH_JOBSCRIPTS</span><span class="p">,</span>
-                                <span class="n">jtemplate</span><span class="p">[:</span><span class="o">-</span><span class="mi">5</span><span class="p">]</span> <span class="o">+</span> <span class="s1">&#39;.ksh&#39;</span><span class="p">)</span>
+                                <span class="n">_config</span><span class="o">.</span><span class="n">FILE_JOB_OD</span><span class="p">)</span>
 
         <span class="c1"># divide time periode into specified number of job chunks</span>
@@ -351,5 +352,5 @@
 
         <span class="n">job_file</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">_config</span><span class="o">.</span><span class="n">PATH_JOBSCRIPTS</span><span class="p">,</span>
-                                <span class="n">jtemplate</span><span class="p">[:</span><span class="o">-</span><span class="mi">5</span><span class="p">]</span> <span class="o">+</span> <span class="s1">&#39;oper.ksh&#39;</span><span class="p">)</span>
+                                <span class="n">_config</span><span class="o">.</span><span class="n">FILE_JOB_OP</span><span class="p">)</span>
 
         <span class="n">c</span><span class="o">.</span><span class="n">start_date</span> <span class="o">=</span> <span class="s1">&#39;$</span><span class="si">{MSJ_YEAR}</span><span class="s1">$</span><span class="si">{MSJ_MONTH}</span><span class="s1">$</span><span class="si">{MSJ_DAY}</span><span class="s1">&#39;</span>
@@ -376,9 +377,9 @@
 <span class="sd">    ----------</span>
 <span class="sd">    jtemplate : str</span>
-<span class="sd">        Job template file from sub-directory &quot;_templates&quot; for</span>
+<span class="sd">        Job template file from sub-directory &quot;Templates&quot; for</span>
 <span class="sd">        submission to ECMWF. It contains all necessary</span>
 <span class="sd">        module and variable settings for the ECMWF environment as well as</span>
 <span class="sd">        the job call and mail report instructions.</span>
-<span class="sd">        Default is &quot;job.temp&quot;.</span>
+<span class="sd">        Default is _config.TEMPFILE_JOB.</span>
 
 <span class="sd">    job_file : str</span>
