How to get files from SAM on CLUED0
- Copy the file
get_file_to_clued0_cp.py into your working area on clued0
- Change the project_definition string to the desired SAM dataset definition
- You can choose the number of files to copy from the project definition in the max_file_amt string. The limit is 1000 files.
- Change the dir path on line 41 to your desired path.
stat = os.system(' cp -v %s /work/bayou-clued0/neeti/get_sam_files/mc_files_copy/%s' % (filename, baseName) )
- Please check that the string "version" is set to 1. Kin Yip is aware of this old version and in order to circumvent this problem until a new version is downloaded, use the following commands to run the file
- setup sam
- sam run project --workDir=/work/bayou-clued0/neeti/get_sam_files/mc_files_copy get_file_to_clued0_cp.py
- You then have the files copied in your area through sam-admin mail confirmation.
Some Tips:
Exit Status=0 means good :
Exit Status=1 means bad, BUT CHECK your stuff in any case.
Neeti Parashar
Last modified: Mon Feb 9 15:47:36 CST 2004