Changeset b6ea29e in flex_extract.git for Source/Python/Mods/tools.py
- Timestamp:
- Jul 28, 2022, 10:34:17 AM (22 months ago)
- Branches:
- dev
- Children:
- 373b74e
- Parents:
- 5606fc9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Mods/tools.py
r75db9b0 rb6ea29e 651 651 return 652 652 653 def put_file_to_ecserver(ecd, filename , target, ecuid, ecgid):653 def put_file_to_ecserver(ecd, filename): 654 654 '''Uses the ecaccess-file-put command to send a file to the ECMWF servers. 655 655 … … 668 668 The name of the file to send to the ECMWF server. 669 669 670 target : str671 The target queue where the file should be sent to.672 673 ecuid : str674 The user id on ECMWF server.675 676 ecgid : str677 The group id on ECMWF server.678 679 670 Return 680 671 ------ … … 684 675 try: 685 676 subprocess.check_output(['ecaccess-file-put', 686 ecd + '/' + filename, 687 target + ':/home/ms/' + 688 ecgid + '/' + ecuid + 689 '/' + filename], 677 ecd + '/' + filename], 690 678 stderr=subprocess.STDOUT) 691 679 except subprocess.CalledProcessError as e:
Note: See TracChangeset
for help on using the changeset viewer.