dsgp4.omm.dumps#
- dsgp4.omm.dumps(omms, file_format='json')#
This function takes an OMM object (or a TLE object, or a list of them, or the corresponding dictionaries of OMM fields), and returns the corresponding text in the requested format.
Parameters:#
omms (
dsgp4.omm.OMM,dsgp4.tle.TLE,dict,list): OMM data to be written file_format (str): format of the output, either ‘json’, ‘xml’, ‘kvn’ or ‘csv’Returns:#
str: OMM data in the requested format