Changeset 90a1ca0 in flex_extract.git


Ignore:
Timestamp:
Mar 10, 2019, 4:49:27 PM (7 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
a32e042
Parents:
d727af2
Message:

added switch to select for calculation of extra synthesized ensembles from ELDA stream or not

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • run/control/CONTROL.documentation

    rab3f841 r90a1ca0  
    2323#===============================================================================
    2424# GENERAL SECTION:
    25 # Specific storage, notifcication and data transfer settings.
     25# Specific storage, notification and data transfer settings.
    2626# Selection of ECMWF access interface and extra output options.
    2727#-------------------------------------------------------------------------------
     
    112112CWC 0
    113113WRF 0
     114DOUBLEELDA 0
    114115ADDPAR None
    115116
  • run/control/CONTROL_ZAMG_SYNTH_ELDA

    rab3f841 r90a1ca0  
    99STREAM ELDA
    1010PREFIX EL
    11 UPPER 30.
    12 LOWER 10.
    13 LEFT -10.
    14 RIGHT 10.
    15 NUMBER 0/to/25
     11UPPER 5.
     12LOWER -5.
     13LEFT -2.
     14RIGHT 2.
     15NUMBER 0/to/2
    1616GRID 1.
    1717RESOL 159
    1818ETA 1
    19 CWC 1
    20 LEVELIST 130/TO/137
     19LEVELIST 135/TO/137
    2120ADDPAR 186/187/188/235/139/39/134
    2221ECTRANS 1
     22RRINT 1
     23DOUBLEELDA 0
  • source/python/classes/ControlFile.py

    r79729d5 r90a1ca0  
    330330        coupled with analysis data. Default value is 0.
    331331
    332     rrint: int
     332    rrint : int
    333333        Switch to select between old precipitation disaggregation method (0)
    334334        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.
    335339
    336340    logicals : list of str
     
    338342        of the program. Default list is ['gauss', 'omega', 'omegadiff', 'eta',
    339343        'etadiff', 'dpdeta', 'cwc', 'wrf', 'grib2flexpart', 'ecstorage',
    340         'ectrans', 'debug', 'request', 'public', 'purefc', 'rrint']
     344        'ectrans', 'debug', 'request', 'public', 'purefc', 'rrint', 'doubleelda']
    341345    '''
    342346
     
    425429        self.purefc = 0
    426430        self.rrint = 0
     431        self.doubleelda = 0
    427432
    428433        self.logicals = ['gauss', 'omega', 'omegadiff', 'eta', 'etadiff',
    429434                         'dpdeta', 'cwc', 'wrf', 'grib2flexpart', 'ecstorage',
    430435                         'ectrans', 'debug', 'oper', 'request', 'public',
    431                          'purefc', 'rrint']
     436                         'purefc', 'rrint', 'doubleelda']
    432437
    433438        self._read_controlfile()
  • source/python/mods/prepare_flexpart.py

    r79729d5 r90a1ca0  
    7171    inspect.getfile(inspect.currentframe()))) + '/../')
    7272import _config
    73 from .checks import check_ppid
     73from mods.checks import check_ppid
    7474from classes.UioFiles import UioFiles
    7575from classes.ControlFile import ControlFile
    76 from .tools import (setup_controldata, clean_up, get_cmdline_args,
    77                    read_ecenv, make_dir)
     76from mods.tools import (setup_controldata, clean_up, get_cmdline_args,
     77                        read_ecenv, make_dir, normal_exit)
    7878from classes.EcFlexpart import EcFlexpart
    7979
     
    163163    flexpart = EcFlexpart(c, fluxes=False)
    164164    flexpart.create(inputfiles, c)
    165     if c.stream.lower() == 'elda':
     165    if c.stream.lower() == 'elda' and c.doubleelda:
    166166        flexpart.calc_extra_elda(c.inputdir, c.prefix)
    167167    flexpart.process_output(c)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG