idia-astro/pipelines

Specify location of output MMS

Closed this issue · 4 comments

Right now, /path/to/ms is the same as /path/to/mms.

Can we specify a different location for the MMS? The original MS is in the write controlled /data/projects/... directory, and is too large to make a local copy.

So the location of the output MMS should be something that the user specifies, and this MMS is the target for the pipeline.

Hey Brad, this is a bug in all of the scripts in cal_scripts. It should remove the path and set the .mms to be in the directory from which you run the script, which is the same as the user choosing the location. And it should work for an input MMS too, as .replace('.ms', '.mms') will retain the extension as '.mms'. If this functionality sounds ok, I can make these fixes while Krishna is unavailable.

This is not necessarily true:

...which is the same as the user choosing the location.

The user may have their configs, raw data and output data in completely different directories.

However, your suggested fix is okay for the moment. Please go ahead and implement.

Sorry, just trying to work out how to point to the commit in which this is fixed. Just fixing it now.

Fixed in version a636b73