Changeset 90a1ca0 in flex_extract.git for source/python/mods/prepare_flexpart.py


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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