Changeset a916e8f in flex_extract.git for Source/Python/submit.py
- Timestamp:
- Jun 11, 2020, 11:14:56 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 3a54479
- Parents:
- 0c8c068
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/submit.py
r5f67883 ra916e8f 21 21 # - splitted submit function to use genshi templates for the 22 22 # 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 23 26 # 24 27 # @License: … … 72 75 from Mods.get_mars_data import get_mars_data 73 76 from Mods.prepare_flexpart import prepare_flexpart 74 #from Classes.ControlFile import ControlFile75 76 77 77 78 # ------------------------------------------------------------------------------ … … 151 152 152 153 job_file = os.path.join(_config.PATH_JOBSCRIPTS, 153 jtemplate[:-5] + '.ksh')154 _config.FILE_JOB_OD) 154 155 155 156 # divide time periode into specified number of job chunks … … 189 190 190 191 job_file = os.path.join(_config.PATH_JOBSCRIPTS, 191 jtemplate[:-5] + 'oper.ksh')192 _config.FILE_JOB_OP) 192 193 193 194 c.start_date = '${MSJ_YEAR}${MSJ_MONTH}${MSJ_DAY}' … … 214 215 ---------- 215 216 jtemplate : str 216 Job template file from sub-directory " _templates" for217 Job template file from sub-directory "Templates" for 217 218 submission to ECMWF. It contains all necessary 218 219 module and variable settings for the ECMWF environment as well as
Note: See TracChangeset
for help on using the changeset viewer.