Skip to content

rcoo files not copied over when combining data from multiple clean_dirs #49

@cdfassnacht

Description

@cdfassnacht

Hi, I'm trying to combine data from multiple epochs and the PAs of the imager was different in the two epochs. Since there are multiple epochs, I use theclean_dirs option when calling the combine function in kai/reduce/data.py. This works, but I got an exception because the different PAs meant that the code was looking for the *.rcoo files. These do not get copied over from the various clean_dirs. The *.coo files do get copied over:
` shutil.copy(source_clean_dir + 'c' + source_file_root + '.coo',
dest_clean_dir + 'c' + dest_file_root + '.coo')

`
but the *.rcoo files don't. It's each to hack the code to add the *.rcoo, but this should probably be fixed in the official version of the code.

All that being said, it is very possible that I just don't understand the multi-epoch, multi-PA combine correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions