This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
information_for_astronomers:user_guide:cont_pipeline [2019/04/04 15:45] imyserlis created |
information_for_astronomers:user_guide:cont_pipeline [2019/04/04 15:53] (current) imyserlis |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Effelsberg continuum data reduction pipeline (eff_cont.py) ====== | ====== Effelsberg continuum data reduction pipeline (eff_cont.py) ====== | ||
- | **This page is under construction** | + | ** This page is under construction ** |
== Quickstart guide == | == Quickstart guide == | ||
Line 15: | Line 15: | ||
- Run the reduction pipeline software with the correct options | - Run the reduction pipeline software with the correct options | ||
- | ''/opt(/effsoft)/ContPipeline/eff_cont.py --prj-id 73-18 --date 2019-04-04'' | + | <code> |
+ | /opt(/effsoft)/ContPipeline/eff_cont.py --prj-id 73-18 --date 2019-04-04 | ||
+ | </code> | ||
To see all options with a brief description call | To see all options with a brief description call | ||
- | ''/opt(/effsoft)/ContPipeline/eff_cont.py -h'' | + | <code> |
+ | /opt(/effsoft)/ContPipeline/eff_cont.py -h | ||
+ | </code> | ||
== Arguments and their options: == | == Arguments and their options: == | ||
Line 28: | Line 32: | ||
* the word ‘''scans''’: the program will search the local directory for an ascii file named ‘''scans''’ that contains the list of scans to be processed in the form. For example, if you want to process only the scans with numbers 4056, 4057, 4068 and 4069 the file ‘''scans''’ should look like this: | * the word ‘''scans''’: the program will search the local directory for an ascii file named ‘''scans''’ that contains the list of scans to be processed in the form. For example, if you want to process only the scans with numbers 4056, 4057, 4068 and 4069 the file ‘''scans''’ should look like this: | ||
+ | <code> | ||
4056 | 4056 | ||
4057 | 4057 | ||
4068 | 4068 | ||
4069 | 4069 | ||
+ | </code> | ||
If the argument “''--scan [opt]''” is not specified, the program will process all scans in the raw data directory (''/daten/mbfits'' or otherwise specified) | If the argument “''--scan [opt]''” is not specified, the program will process all scans in the raw data directory (''/daten/mbfits'' or otherwise specified) | ||
Line 39: | Line 44: | ||
- “''--prj-id [id1 id2 ...]''”, where ''[id1 id2 ...]'' is a list with project identifiers (either one or several). If the argument “''--prj-id [id1 id2 ...]''” is not specified, the program will process all scans in the raw data directory (''/daten/mbfits'' or otherwise specified) | - “''--prj-id [id1 id2 ...]''”, where ''[id1 id2 ...]'' is a list with project identifiers (either one or several). If the argument “''--prj-id [id1 id2 ...]''” is not specified, the program will process all scans in the raw data directory (''/daten/mbfits'' or otherwise specified) | ||
- “''--date [YYYY-MM-DD]''”, where ''[YYYY-MM-DD]'' is the date of the scans to be processed, as stated in the example above. To extend the range of dates, you can also use wild cards (e.g. ''*''), but in that case the date option should be called within quotes. For example, if you want to process all scans measured in April 2019, you should call: | - “''--date [YYYY-MM-DD]''”, where ''[YYYY-MM-DD]'' is the date of the scans to be processed, as stated in the example above. To extend the range of dates, you can also use wild cards (e.g. ''*''), but in that case the date option should be called within quotes. For example, if you want to process all scans measured in April 2019, you should call: | ||
- | + | <code> | |
- | ''/opt(/effsoft)/ContPipeline/eff_cont.py --date ‘2019-04-*’'' | + | /opt(/effsoft)/ContPipeline/eff_cont.py --date ‘2019-04-*’ |
+ | </code> | ||
You can use any combination of the above arguments. The program will search for the subset of scans that agree with all selections. For example, if you call | You can use any combination of the above arguments. The program will search for the subset of scans that agree with all selections. For example, if you call | ||
- | + | <code> | |
- | ''/opt(/effsoft)/ContPipeline/eff_cont.py --scan 3000-4000 --fdir /another/raw/data/folder —prj-id 73-18 65-18 --date ‘2019-04-*’'' | + | /opt(/effsoft)/ContPipeline/eff_cont.py --scan 3000-4000 --fdir /another/raw/data/folder —prj-id 73-18 65-18 --date ‘2019-04-*’ |
+ | </code> | ||
the program will search for scans that: | the program will search for scans that: | ||
* have scan numbers between 3000 and 4000 | * have scan numbers between 3000 and 4000 | ||
- | * their raw data are located in the directory /another/raw/data/folder | + | * their raw data are located in the directory ''/another/raw/data/folder'' |
* were measured for the experiments with identifiers 73-18 and 65-18 | * were measured for the experiments with identifiers 73-18 and 65-18 | ||
* were obtained within April 2019 | * were obtained within April 2019 | ||
Line 54: | Line 60: | ||
The search results will be printed on screen as follows: | The search results will be printed on screen as follows: | ||
- | ''List of scans to process: | + | <code> |
+ | List of scans to process: | ||
date______ scan prj-id__ febe________________ | date______ scan prj-id__ febe________________ | ||
2019-04-03 3000 73-18 S110mm-MULTICBE8k | 2019-04-03 3000 73-18 S110mm-MULTICBE8k | ||
Line 71: | Line 78: | ||
2019-04-04 4000 73-18 S28mm-ICPBE | 2019-04-04 4000 73-18 S28mm-ICPBE | ||
- | 93 files found, proceed? [y/n]: y'' | + | 93 files found, proceed? [y/n]: y |
+ | </code> | ||
If the displayed information corresponds to the data you want to process, respond with ‘''y''’ and press ''return (enter)'' to start the processing. Otherwise respond with ‘''n''’ and press ''return (enter)'' to exit the program. | If the displayed information corresponds to the data you want to process, respond with ‘''y''’ and press ''return (enter)'' to start the processing. Otherwise respond with ‘''n''’ and press ''return (enter)'' to exit the program. |