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

Warnings from unnecessary re-running of processing when an archive is reloaded #249

Open
DavidT3 opened this issue Apr 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DavidT3
Copy link
Owner

DavidT3 commented Apr 10, 2024

The reloading of archives is working well, but unfortunately some of the processing functions don't yet realise that they don't need to do anything when they've already been run before the archive was reloaded.

XMM-Newton Pointed - Generating calibration files: 100%|████████████████████████| 1/1 [00:18<00:00, 18.25s/it]
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:397: UserWarning: The process_success property already has an entry for cif_build under xmm_pointed, no change will be made.
obs_archive.process_success = (sas_func.name, success_flags)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:401: UserWarning: The process_logs property already has an entry for cif_build under xmm_pointed, no change will be made.
obs_archive.process_logs = (sas_func.name, process_stdouts)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:402: UserWarning: The process_extra_info property already has an entry for cif_build under xmm_pointed, no change will be made.
obs_archive.process_extra_info = (sas_func.name, process_einfo)
XMM-Newton Pointed - Finding PN/MOS soft-proton flares: 100%|███████████████████| 6/6 [00:15<00:00, 2.53s/it]
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:397: UserWarning: The process_success property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.process_success = (sas_func.name, success_flags)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:398: UserWarning: The process_errors property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.process_errors = (sas_func.name, process_parsed_stderrs)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:399: UserWarning: The process_warnings property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.process_warnings = (sas_func.name, process_parsed_stderr_warns)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:400: UserWarning: The raw_process_errors property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.raw_process_errors = (sas_func.name, process_raw_stderrs)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:401: UserWarning: The process_logs property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.process_logs = (sas_func.name, process_stdouts)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:402: UserWarning: The process_extra_info property already has an entry for espfilt under xmm_pointed, no change will be made.
obs_archive.process_extra_info = (sas_func.name, process_einfo)
XMM-Newton Pointed - Generating cleaned PN/MOS event lists: 100%|███████████████| 5/5 [00:02<00:00, 1.95it/s]
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:397: UserWarning: The process_success property already has an entry for cleaned_evt_lists under xmm_pointed, no change will be made.
obs_archive.process_success = (sas_func.name, success_flags)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:401: UserWarning: The process_logs property already has an entry for cleaned_evt_lists under xmm_pointed, no change will be made.
obs_archive.process_logs = (sas_func.name, process_stdouts)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:402: UserWarning: The process_extra_info property already has an entry for cleaned_evt_lists under xmm_pointed, no change will be made.
obs_archive.process_extra_info = (sas_func.name, process_einfo)
XMM-Newton Pointed - Generating final PN/MOS event lists: 100%|████████████████| 5/5 [00:00<00:00, 105.13it/s]
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:397: UserWarning: The process_success property already has an entry for merge_subexposures under xmm_pointed, no change will be made.
obs_archive.process_success = (sas_func.name, success_flags)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:401: UserWarning: The process_logs property already has an entry for merge_subexposures under xmm_pointed, no change will be made.
obs_archive.process_logs = (sas_func.name, process_stdouts)
/Users/dt237/code/DAXA/daxa/process/xmm/_common.py:402: UserWarning: The process_extra_info property already has an entry for merge_subexposures under xmm_pointed, no change will be made.
obs_archive.process_extra_info = (sas_func.name, process_einfo)
/Users/dt237/code/DAXA/daxa/process/_cleanup.py:79: UserWarning: The final_process_success property already has an entry for 0201903501 under xmm_pointed, no change will be made.
arch.final_process_success = final_judgement
/Users/dt237/code/DAXA/daxa/process/_cleanup.py:79: UserWarning: The final_process_success property already has an entry for 0502671101 under xmm_pointed, no change will be made.
arch.final_process_success = final_judgement
/Users/dt237/code/DAXA/daxa/process/_cleanup.py:79: UserWarning: The final_process_success property already has an entry for 0861080501 under xmm_pointed, no change will be made.

@DavidT3 DavidT3 added the bug Something isn't working label Apr 10, 2024
@DavidT3 DavidT3 self-assigned this Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant