Changeset a916e8f in flex_extract.git for Source/Python/submit.py


Ignore:
Timestamp:
Jun 11, 2020, 11:14:56 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
3a54479
Parents:
0c8c068
Message:

ECMWF server output directory renamed; reformulate dapoly formula; changed template filenames; make use of config jobscript names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/submit.py

    r5f67883 ra916e8f  
    2121#        - splitted submit function to use genshi templates for the
    2222#          job script and avoid code duplication
     23#    June 2020 - Anne Philipp
     24#        - changed finale job_file to filename from config file
     25#          instead of generating from the template filename
    2326#
    2427# @License:
     
    7275from Mods.get_mars_data import get_mars_data
    7376from Mods.prepare_flexpart import prepare_flexpart
    74 #from Classes.ControlFile import ControlFile
    75 
    7677
    7778# ------------------------------------------------------------------------------
     
    151152
    152153        job_file = os.path.join(_config.PATH_JOBSCRIPTS,
    153                                 jtemplate[:-5] + '.ksh')
     154                                _config.FILE_JOB_OD)
    154155
    155156        # divide time periode into specified number of job chunks
     
    189190
    190191        job_file = os.path.join(_config.PATH_JOBSCRIPTS,
    191                                 jtemplate[:-5] + 'oper.ksh')
     192                                _config.FILE_JOB_OP)
    192193
    193194        c.start_date = '${MSJ_YEAR}${MSJ_MONTH}${MSJ_DAY}'
     
    214215    ----------
    215216    jtemplate : str
    216         Job template file from sub-directory "_templates" for
     217        Job template file from sub-directory "Templates" for
    217218        submission to ECMWF. It contains all necessary
    218219        module and variable settings for the ECMWF environment as well as
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG