steve-ord / MWACUtils

More MWAC utilities - these repos will be merged in the near future
Other
0 stars 1 forks source link

Make make_beam independent of file names / directory structure #5

Closed robotopia closed 8 years ago

robotopia commented 8 years ago

Currently, the input files are globbed using an expected format ("[obsid]_[timestamp]_ch[rec_channel].dat"). In the (current) most recent development version, the obs_id, timestamps, and receiver channel number are inferred from options passed into it. make_beam should be agnostic of file naming conventions. Three options:

1) The call to make_beam includes a "format" string as an input option, and the files are found from that. 2) The files to be processed are passed directly onto the command line. 3) We revert to the original read-in-from-stdin & write-out-to-stdout model and leave it up to the wrapper script to push the required data through the pipe.

Implementing one or the other of these will make it possible, even easy, to set up a testing pipeline which is small enough to be shipped with the code, and which can be tested on any architecture.

robotopia commented 8 years ago

Transferring issues to my personal issue tracker