midgard.parsers.vlbi_source_names

A parser for reading IVS source names translation table

VlbiSourceNamesParser

VlbiSourceNamesParser(file_path:Union[str, pathlib.Path], encoding:Union[str, NoneType]=None, logger:Union[Callable[[str], NoneType], NoneType]=<built-in function print>) -> None

A parser for reading IVS source names translation table

See https://vlbi.gsfc.nasa.gov/output for an example of a IVS source name file

VlbiSourceNamesParser.setup_parser()

setup_parser(self) -> Dict[str, Any]

Set up information needed for the parser

This should return a dictionary with all parameters needed by np.genfromtxt to do the actual parsing.

Returns:

Parameters needed by np.genfromtxt to parse the input file.

VlbiSourceNamesParser.structure_data()

structure_data(self) -> None

Structure raw array data into the self.data dictionary

Using the IVS name as key.