lofar-astron/prefactor

working_directory filepath differs from saved state

Closed this issue · 0 comments

Hi, I have been processing core data through the calibrator and target pipelines with prefactor on CEP3 and am now trying to run the Pre-Facet-Image parset.

Initially there was a step which failed with the error below, and I think this might have been because until now I had defined the working_directory filepath in the config file as .../working_directory/ . This seems to have caused a double forward slash to appear in filename directories created in the working directory which broke the fits reader.

+ >>> CFITSIO reported error when performing IO on file '/data/scratch/jrigney/working_directory//Pre-Facet-Image/fullband-0000-beam-I.fits':could not open the named file (failed to find or open the following file: (ffopen)/data/scratch/jrigney/working_directory//Pre-Facet-Image/fullband-0000-beam-I.fits)

This file is in the directory that CFITSIO is looking in. I corrected the filepath in the config to remove the trailing forward slash and now the error

Input working_directory (/data/scratch/jrigney/working_directory) differs from saved state (/data/scratch/jrigney/working_directory/)

has appeared. I was wondering if there is a way of adjusting the saved state working directory to look in the corrected working_directory without rerunning the calibrator and target pipelines?

I may have misinterpreted the error so perhaps something else has broken instead but I think I have narrowed it down to this.