Skip to content

v0.3.17

Choose a tag to compare

@hernandezc1 hernandezc1 released this 02 Sep 00:30
· 9 commits to main since this release
0615c13

[v0.3.17] - 2025-09-01

Added

  • schemas/lsst/8/0/
    • lsst.v8_0.alert.avsc
    • lsst.v8_0.diaForcedSources.avsc
    • lsst.v8_0.diaSource.avsc
    • lsst.v8_0.diaObject.avsc
    • lsst.v8_0.ssSource.avsc
    • lsst.v8_0.MPCORB.avsc
  • schemas/lsst/9/0/
    • lsst.v9_0.alert.avsc
    • lsst.v9_0.diaForcedSources.avsc
    • lsst.v9_0.diaSource.avsc
    • lsst.v9_0.diaObject.avsc
    • lsst.v9_0.ssSource.avsc
    • lsst.v9_0.MPCORB.avsc
  • sample_alerts/lsst/
    • lsst.v8_0.avro
    • lsst.v9_0.avro

Changed

  • schemas/maps/lsst.yml
    • updated field name: ssObject -> ssSource
    • the mapping for the field objectid is now a dict[list] type
  • pittgoogle/schema.py
    • added v8_0 and v9_0 to the list of supported schema versions for LSST alerts
    • the _name_in_bucket function uses the ssObjectId instead of the diaObjectId when the value of
      diaObjectId is null (each diaSource will be associated with either a diaObject OR ssObject)
    • _clean_for_json converts datetime.datetime objects to timestamp
  • tests/test_alert.py
    • unit test for name_in_bucket has been updated to reflect the new pathname
  • tests/test_schema.py
    • updated the JSON serialization test in test_sample_alertsto handle type mismatches
  • tests/load_data.py
    • updated field names to accomodate the latest LSST alert schema version (v9_0)
  • pittgoogle/alert.py
    • The get and get_key functions support fields that are list[dict] types
    • healpix9, healpix19, and healpix29 explicitly return int types

Removed

  • alertid and ssobjectid from pittgoogle/alert.py, tests/test_alert.py, and all schema maps