Skip to content
Snippets Groups Projects
Commit f3198f7a authored by alex's avatar alex
Browse files

Resolve "Option for custom temporary directory for WSClean instead of /tmp"

parent 9ead9ff1
No related branches found
No related tags found
1 merge request!150Resolve "Option for custom temporary directory for WSClean instead of /tmp"
Pipeline #47857 failed
...@@ -307,6 +307,7 @@ A comprehensive explanation of the baseline selection syntax can be found `here` ...@@ -307,6 +307,7 @@ A comprehensive explanation of the baseline selection syntax can be found `here`
- ``aoflag_reorder``: make aoflagger reorder the measurement set before running the detection. This prevents that aoflagger will use its memory reading mode, which is faster but uses more memory (default: false, see the `AOFlagger manual`_`) - ``aoflag_reorder``: make aoflagger reorder the measurement set before running the detection. This prevents that aoflagger will use its memory reading mode, which is faster but uses more memory (default: false, see the `AOFlagger manual`_`)
- ``aoflag_chunksize``: this will split the set into intervals with the given maximum size, and flag each interval independently. This lowers the amount of memory required (default: 2000) - ``aoflag_chunksize``: this will split the set into intervals with the given maximum size, and flag each interval independently. This lowers the amount of memory required (default: 2000)
- ``aoflag_freqconcat``: concatenate all subbands on-the-fly before performing flagging. Disable if you use time-chunked input data (see ``chunkduration``) (default: true) - ``aoflag_freqconcat``: concatenate all subbands on-the-fly before performing flagging. Disable if you use time-chunked input data (see ``chunkduration``) (default: true)
- ``wsclean_tmpdir``: Set the temporary directory of ``wsclean`` used when reordering files (default: ``/tmp``). CAUTION: This directory needs to be visible for LINC, in particular if you use Docker or Singularity.
*Skymodel directory* *Skymodel directory*
......
...@@ -163,6 +163,8 @@ inputs: ...@@ -163,6 +163,8 @@ inputs:
- id: chunkduration - id: chunkduration
type: float? type: float?
default: 0.0 default: 0.0
- id: wsclean_tmpdir
type: string?
outputs: outputs:
- id: calibrated_data - id: calibrated_data
outputSource: outputSource:
...@@ -293,6 +295,8 @@ steps: ...@@ -293,6 +295,8 @@ steps:
source: selfcal source: selfcal
- id: chunkduration - id: chunkduration
source: chunkduration source: chunkduration
- id: wsclean_tmpdir
source: wsclean_tmpdir
out: out:
- id: logfiles - id: logfiles
- id: msout - id: msout
......
...@@ -164,6 +164,8 @@ inputs: ...@@ -164,6 +164,8 @@ inputs:
- id: chunkduration - id: chunkduration
type: float? type: float?
default: 3600.0 default: 3600.0
- id: wsclean_tmpdir
type: string?
outputs: outputs:
- id: calibrated_data - id: calibrated_data
outputSource: outputSource:
...@@ -294,6 +296,8 @@ steps: ...@@ -294,6 +296,8 @@ steps:
source: selfcal source: selfcal
- id: chunkduration - id: chunkduration
source: chunkduration source: chunkduration
- id: wsclean_tmpdir
source: wsclean_tmpdir
out: out:
- id: logfiles - id: logfiles
- id: msout - id: msout
......
...@@ -163,6 +163,8 @@ inputs: ...@@ -163,6 +163,8 @@ inputs:
- id: chunkduration - id: chunkduration
type: float? type: float?
default: 0.0 default: 0.0
- id: wsclean_tmpdir
type: string?
outputs: outputs:
- id: inspection - id: inspection
outputSource: outputSource:
...@@ -396,6 +398,8 @@ steps: ...@@ -396,6 +398,8 @@ steps:
source: gsmcal/out_refant source: gsmcal/out_refant
- id: targetname - id: targetname
source: get_targetname/targetname source: get_targetname/targetname
- id: wsclean_tmpdir
source: wsclean_tmpdir
out: out:
- id: msout - id: msout
- id: solutions - id: solutions
......
...@@ -60,6 +60,9 @@ inputs: ...@@ -60,6 +60,9 @@ inputs:
- id: targetname - id: targetname
type: string? type: string?
default: 'pointing' default: 'pointing'
- id: wsclean_tmpdir
type: string?
default: '/tmp'
outputs: outputs:
- id: msout - id: msout
outputSource: outputSource:
...@@ -303,7 +306,7 @@ steps: ...@@ -303,7 +306,7 @@ steps:
- id: maxuvw-m - id: maxuvw-m
default: 20000 default: 20000
- id: tempdir - id: tempdir
default: '/tmp/' source: wsclean_tmpdir
- id: image_name - id: image_name
source: targetname source: targetname
out: out:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment