-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update alert packet for renaming of dipole classification flags
- Loading branch information
Showing
11 changed files
with
2,648 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"namespace": "lsst.v7_2", | ||
"type": "record", | ||
"name": "alert", | ||
"doc": "Rubin Avro alert schema v7.2", | ||
"fields": [ | ||
{"name": "alertId", "type": "long", "doc": "unique alert identifer"}, | ||
{"name": "diaSource", "type": "lsst.v7_2.diaSource"}, | ||
{"name": "prvDiaSources", "type": ["null", { | ||
"type": "array", | ||
"items": "lsst.v7_2.diaSource"}], "default": null}, | ||
{"name": "prvDiaForcedSources", "type": ["null", { | ||
"type": "array", | ||
"items": "lsst.v7_2.diaForcedSource"}], "default": null}, | ||
{"name": "prvDiaNondetectionLimits", "type": ["null", { | ||
"type": "array", | ||
"items": "lsst.v7_2.diaNondetectionLimit"}], "default": null}, | ||
{"name": "diaObject", "type": ["null", "lsst.v7_2.diaObject"], "default": null}, | ||
{"name": "ssObject", "type": ["null", "lsst.v7_2.ssObject"], "default": null}, | ||
{"name": "cutoutDifference", "type": ["null", "bytes"], "default": null}, | ||
{"name": "cutoutScience", "type": ["null", "bytes"], "default": null}, | ||
{"name": "cutoutTemplate", "type": ["null", "bytes"], "default": null} | ||
] | ||
} |
69 changes: 69 additions & 0 deletions
69
python/lsst/alert/packet/schema/7/2/lsst.v7_2.diaForcedSource.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"type": "record", | ||
"namespace": "lsst.v7_2", | ||
"name": "diaForcedSource", | ||
"fields": [ | ||
{ | ||
"doc": "Unique id.", | ||
"name": "diaForcedSourceId", | ||
"type": "long" | ||
}, | ||
{ | ||
"doc": "Id of the DiaObject that this DiaForcedSource was associated with.", | ||
"name": "diaObjectId", | ||
"type": "long" | ||
}, | ||
{ | ||
"doc": "Right ascension coordinate of the position of the DiaObject at time radecMjdTai.", | ||
"name": "ra", | ||
"type": "double" | ||
}, | ||
{ | ||
"doc": "Declination coordinate of the position of the DiaObject at time radecMjdTai.", | ||
"name": "dec", | ||
"type": "double" | ||
}, | ||
{ | ||
"doc": "Id of the visit where this forcedSource was measured.", | ||
"name": "visit", | ||
"type": "long" | ||
}, | ||
{ | ||
"doc": "Id of the detector where this forcedSource was measured. Datatype short instead of byte because of DB concerns about unsigned bytes.", | ||
"name": "detector", | ||
"type": "int" | ||
}, | ||
{ | ||
"default": null, | ||
"doc": "Point Source model flux.", | ||
"name": "psfFlux", | ||
"type": [ | ||
"null", | ||
"float" | ||
] | ||
}, | ||
{ | ||
"default": null, | ||
"doc": "Uncertainty of psfFlux.", | ||
"name": "psfFluxErr", | ||
"type": [ | ||
"null", | ||
"float" | ||
] | ||
}, | ||
{ | ||
"doc": "Effective mid-visit time for this diaForcedSource, expressed as Modified Julian Date, International Atomic Time.", | ||
"name": "midpointMjdTai", | ||
"type": "double" | ||
}, | ||
{ | ||
"default": null, | ||
"doc": "Filter band this source was observed with.", | ||
"name": "band", | ||
"type": [ | ||
"null", | ||
"string" | ||
] | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
python/lsst/alert/packet/schema/7/2/lsst.v7_2.diaNondetectionLimit.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "lsst.v7_2", | ||
"name": "diaNondetectionLimit", | ||
"type": "record", | ||
"fields": [ | ||
{"name": "ccdVisitId", "type": "long"}, | ||
{"name": "midpointMjdTai", "type": "double"}, | ||
{"name": "band", "type": "string"}, | ||
{"name": "diaNoise", "type": "float"} | ||
] | ||
} |
Oops, something went wrong.