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


Ignore:
Timestamp:
Sep 27, 2018, 12:31:47 PM (23 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, dev, feature/makefiles, origin/task/language-editing, task/language-editing
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/get_mars_data.py

    r25b14be r4971f63  
    7979
    8080    args = get_cmdline_arguments()
    81 
    82     try:
    83         c = ControlFile(args.controlfile)
    84     except IOError:
    85         print('Could not read CONTROL file "' + args.controlfile + '"')
    86         print('Either it does not exist or its syntax is wrong.')
    87         print('Try "' + sys.argv[0].split('/')[-1] + \
    88               ' -h" to print usage information')
    89         sys.exit(1)
     81    c = ControlFile(args.controlfile)
    9082
    9183    env_parameter = read_ecenv(_config.PATH_ECMWF_ENV)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG