Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target name not accepted by ddcal worker #1548

Open
Dakalo12 opened this issue Nov 7, 2023 · 2 comments
Open

Target name not accepted by ddcal worker #1548

Dakalo12 opened this issue Nov 7, 2023 · 2 comments
Labels

Comments

@Dakalo12
Copy link

Dakalo12 commented Nov 7, 2023

The ddcal worker is not accepting the target name. It replaces an underscore with a dash, then gives the KeyError.

Output from the log file:

INFO: Converting SIF file to temporary sandbox...

INFO: Cleaning up image...

2023-11-05 21:19:10 CARACal.Stimela.ddf_image-J1142_7_p_1527 INFO: job complete at 2023-11-05 21:19:10.322475 after 6:39:05.129036
2023-11-05 21:19:10 CARACal.Stimela.ddcal INFO: Saving pipeline information in .last_ddcal.json
2023-11-05 21:19:10 CARACal.Stimela.ddcal INFO: Recipe executed successfully
2023-11-05 21:19:10 CARACal ERROR: 'J1142_7_p_1527' [KeyError]
2023-11-05 21:19:10 CARACal INFO: More information can be found in the logfile at output/logs-20231105-071940/log-caracal.txt
2023-11-05 21:19:10 CARACal INFO: You are running version 1.0.6-479-g51b1efd1
2023-11-05 21:19:10 CARACal ERROR: Traceback (most recent call last):
2023-11-05 21:19:10 CARACal ERROR: File "/scratch3/users/dakalo/caracal/caracal/caracal/main.py", line 189, in __run
2023-11-05 21:19:10 CARACal ERROR: pipeline.run_workers()
2023-11-05 21:19:10 CARACal ERROR: File "/scratch3/users/dakalo/caracal/caracal/caracal/workers/worker_administrator.py", line 436, in run_workers
2023-11-05 21:19:10 CARACal ERROR: worker.worker(self, recipe, config)
2023-11-05 21:19:10 CARACal ERROR: File "/scratch3/users/dakalo/caracal/caracal/caracal/utils/requires.py", line 25, in inner_func
2023-11-05 21:19:10 CARACal ERROR: return func(*args, **kw)
2023-11-05 21:19:10 CARACal ERROR: File "/scratch3/users/dakalo/caracal/caracal/caracal/workers/ddcal_worker.py", line 431, in worker
2023-11-05 21:19:10 CARACal ERROR: dagga(field)
2023-11-05 21:19:10 CARACal ERROR: File "/scratch3/users/dakalo/caracal/caracal/caracal/workers/ddcal_worker.py", line 249, in dagga
2023-11-05 21:19:10 CARACal ERROR: sources_to_tag = de_dict[field.replace("_", "-")]
2023-11-05 21:19:10 CARACal ERROR: KeyError: 'J1142_7_p_1527'
2023-11-05 21:19:10 CARACal INFO: exiting with error code 1

log-caracal.txt

@KshitijT
Copy link
Collaborator

KshitijT commented Nov 7, 2023

@Dakalo12 this is a known issue, unfortunately. The bug is being fixed, but a quicker solution to save time is to just change the field name in the MS file and rerun.

@Dakalo12
Copy link
Author

Dakalo12 commented Nov 7, 2023

@KshitijT I am a beginner in data reduction, so I do not know how to edit the field name in the MS file. May you please guide me on how to go about it?

I have tried with CASA, but it is failing to find the FILED_NAME column in the MS file; it says the column FIELD_NAME does not exist.

@Athanaseus Athanaseus added the bug label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants