Changeset c77630a in flex_extract.git for Source/Python/Classes/MarsRetrieval.py


Ignore:
Timestamp:
Aug 13, 2019, 12:32:22 PM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
0690a6c
Parents:
33a4ccc
Message:

BUGFIX: for python3-eccodes the file openings need to be in binary mode! added binary marker in filemode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Classes/MarsRetrieval.py

    r44174de rc77630a  
    488488            del attrs[key]
    489489
    490         attrs['ppengine'] = 'emos'
     490#        attrs['ppengine'] = 'emos'
    491491
    492492        # MARS request via Python script
     
    520520                request_str = request_str + ',' + key + '=' + str(value)
    521521            request_str += ',target="' + target + '"'
    522             p = subprocess.Popen(['mars', '-e'],
     522            p = subprocess.Popen(['mars'], #'-e'],
    523523                                 stdin=subprocess.PIPE,
    524524                                 stdout=subprocess.PIPE,
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG