Skip to content

TDM Tag "Flow" is unclear #33

@calcuttj

Description

@calcuttj

I'm unsure how tags flow (and are intended to flow) through TDM-style graphs. This is an issue in general, but also particularly if I want to save as hdf5 in one shot after converting from TDM to Frame.

Here's what I see. I convert from TDM to IFrame, and try to save to HDF5

[11:16:16.142] D [  spng  ] <TdmToFrame:tpc0> call=0 output frame: frame: ident=100 time=-249898 tick=500 with 2560 traces.  frame tags:[ ] 1 tagged trace sets:[ "":2560 [0] ] cmm:[ ] 
[11:16:16.142] D [  hio   ] <HDF5FrameTap:test-asdf.h5> HDF5FrameTap: see frame #100 with 2560 traces with frame tags: and trace tags: "" looking for tags: "" 
[11:16:16.142] W [  hio   ] <HDF5FrameTap:test-asdf.h5> no traces for tag: ""

It looks like TdmToFrame sees (and extracts) the traces with tag "" (empty)

the HDF5FrameTap is configured to look for that same tag (it also 'sees' it in the frame as shown in the second line above). However, it doesn't actually find it (third line).

I chalk this up to some peculiarity in the way Aux::tagged_traces matches tags -- Looking at it now I can see there's a method called "untagged_traces". I can dig into that as well, but I still think the TDM tagging is an issue.

Anyways, I want to change the tags coming out of my SPNG-subgraph (into TdmToFrame) -- however this is what I can't figure out. Here's what I can figure out:

  1. The TdmToFrame node in test_subgraphs.jsonnet, looks for traces tagged 'signal'. This is by default, but I've recently added a commit that makes it configurable. (Main subgraph: here)
  2. Through applyroi_views that subgraph eventually configures Rebaseliner. Within that cfg is the only reference to "signal" as a tag that I see immediately.

I've stopped digging here. Does that line tag the tensor as 'signal'? It's hard to tell from within Rebaseline(r). There are outward calls to other methods regarding the cfg that I could follow, but I don't see those in other places where I might want to retag something I.e. in spng/Reduce.

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