Changeset 4971f63 in flex_extract.git for source/python/mods/prepare_flexpart.py


Ignore:
Timestamp:
Sep 27, 2018, 12:31:47 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
82b624a
Parents:
25b14be
Message:

eliminated some redundancy and exchanged CONTROL2 with the config-filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/mods/prepare_flexpart.py

    r25b14be r4971f63  
    8989
    9090    args = get_cmdline_arguments()
    91 
    92     try:
    93         c = ControlFile(args.controlfile)
    94     except IOError:
    95         print('Could not read CONTROL file "' + args.controlfile + '"')
    96         print('Either it does not exist or its syntax is wrong.')
    97         print('Try "' + sys.argv[0].split('/')[-1] + \
    98               ' -h" to print usage information')
    99         sys.exit(1)
     91    c = ControlFile(args.controlfile)
    10092
    10193    env_parameter = read_ecenv(_config.PATH_ECMWF_ENV)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG