- Timestamp:
- Mar 10, 2019, 4:49:27 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- a32e042
- Parents:
- d727af2
- Location:
- source/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/classes/ControlFile.py
r79729d5 r90a1ca0 330 330 coupled with analysis data. Default value is 0. 331 331 332 rrint : int332 rrint : int 333 333 Switch to select between old precipitation disaggregation method (0) 334 334 or the new IA3 disaggegration method (1). Default value is 0. 335 336 doubleelda : int 337 Switch to select the calculation of extra ensemble members for the 338 ELDA stream. It doubles the amount of retrieved ensemble members. 335 339 336 340 logicals : list of str … … 338 342 of the program. Default list is ['gauss', 'omega', 'omegadiff', 'eta', 339 343 'etadiff', 'dpdeta', 'cwc', 'wrf', 'grib2flexpart', 'ecstorage', 340 'ectrans', 'debug', 'request', 'public', 'purefc', 'rrint' ]344 'ectrans', 'debug', 'request', 'public', 'purefc', 'rrint', 'doubleelda'] 341 345 ''' 342 346 … … 425 429 self.purefc = 0 426 430 self.rrint = 0 431 self.doubleelda = 0 427 432 428 433 self.logicals = ['gauss', 'omega', 'omegadiff', 'eta', 'etadiff', 429 434 'dpdeta', 'cwc', 'wrf', 'grib2flexpart', 'ecstorage', 430 435 'ectrans', 'debug', 'oper', 'request', 'public', 431 'purefc', 'rrint' ]436 'purefc', 'rrint', 'doubleelda'] 432 437 433 438 self._read_controlfile() -
source/python/mods/prepare_flexpart.py
r79729d5 r90a1ca0 71 71 inspect.getfile(inspect.currentframe()))) + '/../') 72 72 import _config 73 from .checks import check_ppid73 from mods.checks import check_ppid 74 74 from classes.UioFiles import UioFiles 75 75 from classes.ControlFile import ControlFile 76 from .tools import (setup_controldata, clean_up, get_cmdline_args,77 read_ecenv, make_dir)76 from mods.tools import (setup_controldata, clean_up, get_cmdline_args, 77 read_ecenv, make_dir, normal_exit) 78 78 from classes.EcFlexpart import EcFlexpart 79 79 … … 163 163 flexpart = EcFlexpart(c, fluxes=False) 164 164 flexpart.create(inputfiles, c) 165 if c.stream.lower() == 'elda' :165 if c.stream.lower() == 'elda' and c.doubleelda: 166 166 flexpart.calc_extra_elda(c.inputdir, c.prefix) 167 167 flexpart.process_output(c)
Note: See TracChangeset
for help on using the changeset viewer.