Should the Supernova
statistic have an associated tracer type in SACC?
#314
Replies: 11 comments 3 replies
-
There is already an issue in SACC (LSSTDESC/sacc#42) discussing this. That issue is still open. |
Beta Was this translation helpful? Give feedback.
-
just putting my two cents here : the SN tracer currently is miscellaneous type. Is it worth the effort to move it into a dedicated tracer type, given the fact I am not aware of which other probe is going to use the 'misc' type tracer, making it almost proprietary to SN. |
Beta Was this translation helpful? Give feedback.
-
I don't think we should reserve the misc tracer for supernovae, that just seems confusing for future usage. I would suggest having a new tracer, even if it's very simple, so that it signposts the meaning. |
Beta Was this translation helpful? Give feedback.
-
@am610 Hi Ayan, we have started using this discussion feature on github. It seems to be very handy in discussing the design prior to the implementation. So, we would like to suggest that you could put your first design ideas here so everyone can discuss them and contribute. Once we have a consensus plan we turn this into an issue (using github's feature: Create issue from discussion) and implement it. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, while this might need for brainstorming, I am suggesting below an initial outline, of what I think could be a good start. I am of the opinion to start with a simple design, where we create a new tracer type, very much replicating the (current) existing design. So the following modifications in Again, this is an overview and we can start discussing more. |
Beta Was this translation helpful? Give feedback.
-
When written to a table with
The |
Beta Was this translation helpful? Give feedback.
-
I'd recommend a single table. The MiscTracer is a bit of an outlier, being miscellaneous. A single table would reduce the overheads. |
Beta Was this translation helpful? Give feedback.
-
I am attempting to display a raw code block to show how it is implemented. Please check the code below and comment if you agree. The following is an example snippet for a single table in the
and below for multiple tables, one for each tracer instance,
or something similar. |
Beta Was this translation helpful? Give feedback.
-
@joezuntz please correct me if I’m wrong, but my understanding is that the |
Beta Was this translation helpful? Give feedback.
-
@am610 if you agree I think we can convert this discussion to an issue. Do you agree? |
Beta Was this translation helpful? Give feedback.
-
This is now being handled as issue #317 |
Beta Was this translation helpful? Give feedback.
-
Currently, the
Supernova
statistic uses a tracer of typesacc.tracers.MiscTracer
(see https://sacc.readthedocs.io/en/latest/tracers.html).Should it instead have a dedicated tracer type? It would seem that this would at the very least help prevent misconfigurations of programs, helping to avoid the reading of wrong tracers from the SACC data.
What would the features of this type be?
Would someone working with the
Supernova
statistic in analysis volunteer to take on implementing such a thing?Beta Was this translation helpful? Give feedback.
All reactions