Changeset 91e4dba in flex_extract.git


Ignore:
Timestamp:
Jul 29, 2019, 10:06:07 AM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
90809b7
Parents:
8ce3be6
Message:

python2 downgrade / minor adaptations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/_config.py

    r79729d5 r91e4dba  
    1 #!/usr/bin/env python3
     1#!/usr/bin/env python
    22# -*- coding: utf-8 -*-
    33#*******************************************************************************
     
    2828import sys
    2929import inspect
    30 import socket
     30import platform
     31
     32# ------------------------------------------------------------------------------
     33# PARAMETERS
     34# ------------------------------------------------------------------------------
    3135
    3236_VERSION_STR = '7.1'
    3337
    34 FLAG_ON_ECMWFSERVER = 'ecmwf' in socket.gethostname()
     38FLAG_ON_ECMWFSERVER = 'ecgb' in platform.node()
    3539
    3640QUEUES_LIST = ['ecgate', 'cca', 'ccb']
    3741
    38 INSTALL_TARGETS = ['local', 'ecgate', 'cca']
     42INSTALL_TARGETS = ['local', 'ecgate', 'cca', 'ccb']
    3943
    4044CDS_DATASET = 'reanalysis-era5-complete'
     
    9397PATH_TEST = os.path.join(PATH_FLEXEXTRACT_DIR, 'test')
    9498if os.getenv('CONTROL'):
    95     # this is only needed if gateway version with job script is used!
     99    # this is only needed if (gateway) version with job script is used!
    96100    # because job is directly submitted from SCRATCH and because the
    97101    # CONTROL file is stored there, the normal path is not valid.
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG