Changeset 5606fc9 in flex_extract.git for Source/Python/Mods/checks.py
- Timestamp:
- Jul 27, 2022, 3:15:02 PM (22 months ago)
- Branches:
- dev
- Children:
- b6ea29e
- Parents:
- 5adaf8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Mods/checks.py
r0a75335 r5606fc9 120 120 121 121 Checks the format of the four area components wether it is on 122 the order of 1000 or 1. 123 Also checks wether area was already set on command line, 122 the order of 1000 or 1. 123 Also checks wether area was already set on command line, 124 124 then the four components are overwritten. 125 125 Convert to correct format of the order of magnitude "1" and sets the … … 453 453 def check_queue(queue, gateway, destination, ecuid, ecgid): 454 454 '''Check if the necessary ECMWF parameters are set if the queue is 455 one of the QUEUES_LIST (in _config).455 one of the QUEUES_LIST_ALL (in _config). 456 456 457 457 Parameters … … 479 479 480 480 ''' 481 if queue in _config.QUEUES_LIST and \481 if queue in _config.QUEUES_LIST_ALL and \ 482 482 (not ecuid or not ecgid): 483 483 raise ValueError('\nEnvironment variables ECUID ' … … 485 485 'Please check for existence of file "ECMWF_ENV" ' 486 486 'in the run directory!') 487 elif queue in _config.QUEUES_LIST and \488 487 elif queue in _config.QUEUES_LIST_ALL and \ 488 (not gateway or not destination): 489 489 print('WARNING: Parameters GATEWAY and DESTINATION were ' 490 490 'not properly set for working on ECMWF server. \n'
Note: See TracChangeset
for help on using the changeset viewer.