Changeset b957ef7 in flex_extract.git


Ignore:
Timestamp:
Jul 29, 2019, 10:09:59 AM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
4ef5ba9
Parents:
8bcf3ec
Message:

python2 downgrade/ manually select EMOSLIB instead of MIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/classes/MarsRetrieval.py

    ra32e042 rb957ef7  
    1 #!/usr/bin/env python3
     1#!/usr/bin/env python
    22# -*- coding: utf-8 -*-
    33#*******************************************************************************
     
    3232# MODULES
    3333# ------------------------------------------------------------------------------
     34from __future__ import print_function
     35
    3436import os
    3537import sys
     
    483485        for key in empty_keys:
    484486            del attrs[key]
     487
     488        attrs['ppengine'] = 'emos'
    485489
    486490        # MARS request via Python script
     
    514518                request_str = request_str + ',' + key + '=' + str(value)
    515519            request_str += ',target="' + target + '"'
    516             p = subprocess.Popen(['mars'],
     520            p = subprocess.Popen(['mars', '-e'],
    517521                                 stdin=subprocess.PIPE,
    518522                                 stdout=subprocess.PIPE,
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG