Skip to content

agasc-supplement-tasks disposition failed #148

@taldcroft

Description

@taldcroft

After running agasc-supplement-tasks disposition for this week (https://cxc.cfa.harvard.edu/mta/ASPECT/agasc/supplement_reports/weekly/2023:093/)

WARNING - 'agasc-update-magnitudes --log-level debug --output-dir /proj/sot/ska3/flight/data/agasc/rc --report --obs-status-file /proj/sot/ska3/flight/data/agasc/rc/obs_status.yml --args-file /proj/sot/ska3/flight/data/agasc/rc/supplement_reports/weekly/latest/call_args.yml' returned non-zero status: 256
/proj/sot/ska3/flight/lib/python3.10/site-packages/kadi/commands/commands_v1.py:11: FutureWarning: kadi commands v1 is deprecated, use v2 instead
  warnings.warn("kadi commands v1 is deprecated, use v2 instead", FutureWarning)
Traceback (most recent call last):
  File "/proj/sot/ska3/flight/bin/agasc-update-magnitudes", line 33, in <module>
    sys.exit(load_entry_point('agasc==4.14.1', 'console_scripts', 'agasc-update-magnitudes')())
  File "/proj/sot/ska3/flight/lib/python3.10/site-packages/agasc/scripts/update_mag_supplement.py", line 129, in main
    agasc_ids += update_supplement.update(args)
  File "/proj/sot/ska3/flight/lib/python3.10/site-packages/agasc/scripts/update_supplement.py", line 228, in update
    status = parse_args(
  File "/proj/sot/ska3/flight/lib/python3.10/site-packages/agasc/scripts/update_supplement.py", line 163, in parse_args
    status = _sanitize_args(status)
  File "/proj/sot/ska3/flight/lib/python3.10/site-packages/agasc/scripts/update_supplement.py", line 58, in _sanitize_args
    raise Exception(f"Can not guess last_obs_time for agasc_id={star['agasc_id']}")
Exception: Can not guess last_obs_time for agasc_id=648684104

The obs_status.yml file was:

ska3-aca-kady% cat obs_status.yml
# See https://sot.github.io/agasc/supplement.html for detailed guidance.
#
# After reviewing and updating this file, run as `aca`:
#   agasc-supplement-tasks disposition
# Check the diffs at:
#   https://cxc.cfa.harvard.edu/mta/ASPECT/agasc/supplement/agasc_supplement_diff.html
# After reviewing the post-disposition email with diffs, run as `aca`:
#   agasc-supplement-tasks schedule-promotion
#
# Replace BAD_STAR_CODE with one of the following bad star codes:
#  9: Bad star added based on automated magnitude processing. Magnitude is a lower bound, set to MAXMAG.
# 10: Bad star added manually due to bad position (bad catalog position or high or missing proper motion)
# 11: Bad star added based on automated magnitude processing. Magnitude is an upper bound.
# 12: Bad star added based on automated magnitude processing. Magnitude set manually.
# 13: Bad star added based on automated magnitude processing. Star shows variability not captured in VAR.
# See also: https://github.com/sot/agasc/wiki/Add-bad-star-to-AGASC-supplement-manually
bad:
  648684104: 9
#
# Mags below assume that the star is not detected and uses the star max mag.
# Edit accordingly if this is not the case.
mags:
  - agasc_id: 648684104
    mag_aca: 11.203
    mag_aca_err: 0.1
#
# status: 0 = star-obs is OK and mag data should be used => REMOVE the mags entry
#         1 = star-obs is bad/unreliable => use mags values above
# comments: see the Rubric in https://sot.github.io/agasc/supplement.html
#   Most commonly:
#     "Never acquired" (status=1)
#     "Almost never acquired" (status=0 or 1, depending on data quality)
#     "Faint star" (status=0)
obs:
  - mp_starcat_time: 2023:083:04:49:53.926
    obsid: 44715
    status: 1
    agasc_id: [648684104]
    comments: Never acquired

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions