DDD raw frame file transfer » History » Version 1
Anchi Cheng, 06/08/2012 09:45 AM
1 | 1 | Anchi Cheng | h1. DDD raw frame file transfer |
---|---|---|---|
2 | |||
3 | # Mount the decamera computer D:\\RawFrames\DE12 on a computer that has direct access to the network drive you store Leginon data and Leginon. |
||
4 | |||
5 | For example: |
||
6 | <pre> |
||
7 | mount //decamera/DE12 /your_base_directory/dde |
||
8 | </pre> |
||
9 | |||
10 | # Start rawtransfer script in the background |
||
11 | |||
12 | It is currently set up to check every 30 seconds if any new files have been stored on the Direct Electron PC shared folder. If it finds new files, it will check the database to see if they are connected to a Leginon image. If it is from Leginon, then it will rsync the folder to the rawdata folder for that session. The name of the folder will be something like: 11nov28_00001sq_00001_hl_00001_en.frames (based on the same name as the Leginon mrc image). Then it will remove the original folder. It looks like it can copy one frame per second, but this could vary depending on network traffic. |
||
13 | |||
14 | The script is in leginon directory. Use a command like this: |
||
15 | <pre>RAW_FRAMES_PATH=/your_base_directory/dde nohup $PYTHONSITEPKG/leginon/rawtransfer.py > rawtransfer.log &</pre> |