Changeset 0f89116 in flex_extract.git for Source/Python/Classes/ControlFile.py
- Timestamp:
- Dec 19, 2019, 8:07:12 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- a73c0f6
- Parents:
- 0d99607
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Classes/ControlFile.py
r44174de r0f89116 38 38 39 39 import os 40 import re41 40 import sys 42 import inspect43 41 44 42 # software specific classes and modules from flex_extract 43 #pylint: disable=wrong-import-position 45 44 sys.path.append('../') 46 45 import _config 47 from Mods.tools import my_error , silent_remove46 from Mods.tools import my_error 48 47 from Mods.checks import (check_grid, check_area, check_levels, check_purefc, 49 48 check_step, check_mail, check_queue, check_pathes, … … 53 52 check_logicals_type, check_len_type_time_step, 54 53 check_addpar, check_job_chunk, check_number) 54 #pylint: enable=wrong-import-position 55 55 56 56 # ------------------------------------------------------------------------------ … … 65 65 from the MARS archive for driving FLEXPART are set in a CONTROL file. 66 66 Some specific parameters like the start and end dates can be overwritten 67 by the command line parameters, but in gener el all parameters needed67 by the command line parameters, but in generall all parameters needed 68 68 for a complete set of fields for FLEXPART can be set in the CONTROL file. 69 69 … … 238 238 Default value is ['${USER}']. 239 239 240 grib2flexpart : int 0241 Switch to select generation of preprocessed FLEXPART files ".fp".242 If it is selected, the program grib2flexpart will try243 to convert the flex_extract output files into ".fp" format.244 245 240 ecstorage : int 246 241 Switch to select storage of FLEXPART ready output files … … 334 329 List of the names of logical switches which controls the flow 335 330 of the program. Default list is ['gauss', 'omega', 'omegadiff', 'eta', 336 'etadiff', 'dpdeta', 'cwc', 'wrf', ' grib2flexpart', 'ecstorage',331 'etadiff', 'dpdeta', 'cwc', 'wrf', 'ecstorage', 337 332 'ectrans', 'debug', 'request', 'public', 'purefc', 'rrint', 'doubleelda'] 338 333 ''' … … 400 395 self.mailfail = ['${USER}'] 401 396 self.mailops = ['${USER}'] 402 self.grib2flexpart = 0403 397 self.ecstorage = 0 404 398 self.ectrans = 0 … … 425 419 426 420 self.logicals = ['gauss', 'omega', 'omegadiff', 'eta', 'etadiff', 427 'dpdeta', 'cwc', 'wrf', ' grib2flexpart', 'ecstorage',421 'dpdeta', 'cwc', 'wrf', 'ecstorage', 428 422 'ectrans', 'debug', 'oper', 'request', 'public', 429 423 'purefc', 'rrint', 'doubleelda'] … … 602 596 603 597 self.outputdir, self.installdir = check_pathes(self.inputdir, 604 self.outputdir, self.installdir, self.flexextractdir) 598 self.outputdir, 599 self.installdir, 600 self.flexextractdir) 605 601 606 602 self.start_date, self.end_date = check_dates(self.start_date, … … 611 607 self.levelist, self.level = check_levels(self.levelist, self.level) 612 608 613 self.step = check_step(self.step , self.mailfail)609 self.step = check_step(self.step) 614 610 615 611 self.maxstep = check_maxstep(self.maxstep, self.step) … … 649 645 self.job_chunk = check_job_chunk(self.job_chunk) 650 646 651 self.number = check_number(self.number , self.mailfail)647 self.number = check_number(self.number) 652 648 653 649 return … … 695 691 696 692 return sorted(l) 697
Note: See TracChangeset
for help on using the changeset viewer.