Skip to content

How does one query telstate? #4

@sjperkins

Description

@sjperkins

I've been digging through telstate and katdal to try and figure this out.

AFAICT katdal sets up a sensor cache and usually extracts scan information from self.sensors.get("Antennas/array/activity") or perhaps self.sensors.get(f"Antennas/{ref_ant}/activity") if there is a reference antenna. The resultant scans have the expected labels such a "slew", "track" etc.

I can't figure this out from the raw telstate though. I've looked in places like "obs_label", "obs_activity", "mxxx_activity", but the activity seem to just have "stop" in them. There seems to be an expansion occurring in SensorCache using data from locations I don't know about.

@ludwigschwardt can you give insight here?

I guess I could cut n paste the katdal SensorCache code into xarray-kat, not sure if this is necessary or overkill.

Metadata

Metadata

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