Changeset 1705 in rotdif for bin/run_rotdif_elmdock.py


Ignore:
Timestamp:
Aug 4, 2019, 3:26:06 PM (2 years ago)
Author:
yuexi
Message:

finish ellipsoid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/run_rotdif_elmdock.py

    r1653 r1705  
    3535   
    3636    UDP_IP = json_variables['_udphost']
    37     UDP_PORT = json_variables['_udpport']
     37    UDP_PORT = int(json_variables['_udpport'])
    3838    sock = socket.socket(socket.AF_INET, # Internet
    3939                         socket.SOCK_DGRAM) # UDP
     
    6666## UDP messaging ##################################################
    6767    UDP_IP = json_variables['_udphost']
    68     UDP_PORT = json_variables['_udpport']
     68    UDP_PORT = int(json_variables['_udpport'])
    6969    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    7070    socket_dict={}
     
    120120    ProcessRotdif = subprocess.Popen( ProcessToCallRotdif,stdout=slave_rotdif,stdin=PIPE,bufsize=0,close_fds=True)   
    121121    stdout_rotdif = os.fdopen(master_rotdif, 'r', 0)
    122     rotdif_log = open('elmdock_log.out','w')
    123     path_to_live_log = str(base_dir) + "/" + 'elmdock_log.out'
     122    rotdif_log = open('elmdock_results.out','w')
     123    path_to_live_log = str(base_dir) + "/" + 'elmdock_results.out'
    124124    error_string_md = ''
    125125    timeout = 30 # seconds
Note: See TracChangeset for help on using the changeset viewer.