Open molnard89 opened 4 years ago
Following the recommendation of @KshitijT I changed the line
from params["thr"]
into params["thresh"]
, which is now the correct input for sharpener. This turned my NVSS issue into the same error as the one above using PYBDSM.
This line in Stimela: https://github.com/ratt-ru/Stimela/blob/master/stimela/cargo/cab/sharpener/src/run.py#L61
subprocess.check_call(shelx.split(_runc))
needs to read:
subprocess.check_call(shlex.split(_runc))
This is fixed in Stimela now; @molnard89 , do you still encounter this error? If not , please close this issue.
I'm trying to extract spectra towards continuum sources with sharpener, but I bumped into some issues.
Firstly, lines setting the input folder names had to be changed. So in lines
https://github.com/caracal-pipeline/caracal/blob/e9061386407eb8f282443f77f79a219fd3926174/caracal/workers/line_worker.py#L1152 and https://github.com/caracal-pipeline/caracal/blob/e9061386407eb8f282443f77f79a219fd3926174/caracal/workers/line_worker.py#L1167
pipeline.output
has to be removed, because the output folder path is already included inimage_cube_list[uu]).split('/')[:-1]
.With that done, I still get different errors when trying to use NVSS or PYBDSM-extracted source catalogues. With PYBDSM selected I get:
and with NVSS
I have a fresh installation of the latest caracal as of today. I implemented fixes locally for the first issue I mentioned, and will make it into a PR once the rest is sorted, but for now I'm pretty lost on how to proceed. Thanks!