-
Notifications
You must be signed in to change notification settings - Fork 0
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
agasc-supplement-tasks disposition failed #148
Comments
This error was caused by a wrong "latest" symlink in the output directory, caused by an unknown script failure. The exact sequence of events is not evident as first, so I will explain it below. This error happens after the dispositions are applied, when updating the magnitudes including the dispositions. The crucial aspect is that this magnitude update should run with the same arguments as the weekly update (which happens on Sundays). This specific error happens in update_supplement.py#L58: if 'last_obs_time' in star:
star['last_obs_time'] = CxoTime(star['last_obs_time']).cxcsec
else:
obs = cat.STARS_OBS[cat.STARS_OBS['agasc_id'] == star['agasc_id']]
if len(obs) == 0:
raise Exception(f"Can not guess last_obs_time for agasc_id={star['agasc_id']}")
star['last_obs_time'] = CxoTime(obs['mp_starcat_time']).max().cxcsec so the error actually means that the star was not found in The part that is not evident is that, in this case, star_obs_catalogs.load(args.stop) The final piece is that the args-file used is In this case, the processing script failed, for a yet unknown reason. This means that the symlink was not updated, and it was pointing to an earlier week, prior to the observation of the problematic star ( A few things could be fixed:
|
After running
agasc-supplement-tasks disposition
for this week (https://cxc.cfa.harvard.edu/mta/ASPECT/agasc/supplement_reports/weekly/2023:093/)The
obs_status.yml
file was:The text was updated successfully, but these errors were encountered: