Changeset f20af73 in flex_extract.git for source/python/classes/ControlFile.py


Ignore:
Timestamp:
Mar 8, 2019, 10:05:20 AM (9 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
82c2959
Parents:
b4a4777
Message:

added CDS API support for ERA5 instead of ECMWFAPI / refactored setup of CONTROL parameter because for local version it wanted to use not installed ECMWF_ENV file.

File:
1 edited

Legend:

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

    rae2756e rf20af73  
    318318        Default value is 0.
    319319
    320     ecapi : boolean
    321         Tells wether the ECMWF Web APi was able to load or not.
     320    ec_api : boolean
     321        Tells wether the ECMWF Web API was able to load or not.
     322        Default value is None.
     323
     324    cds_api : boolean
     325        Tells wether the CDS API was able to load or not.
    322326        Default value is None.
    323327
     
    417421        self.request = 0
    418422        self.public = 0
    419         self.ecapi = None
     423        self.ec_api = None
     424        self.cds_api = None
    420425        self.purefc = 0
    421426        self.rrint = 0
     
    481486                                data[1] = data[1][:i] + var + data[1][k+1:]
    482487                            else:
    483                                 my_error(self.mailfail,
    484                                          'Could not find variable '
     488                                my_error('Could not find variable '
    485489                                         + data[1][j+1:k] + ' while reading ' +
    486490                                         self.controlfile)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG