{"id":16148860,"url":"https://github.com/attron/utdfgo","last_synced_at":"2025-10-14T00:13:39.284Z","repository":{"id":57547704,"uuid":"194786130","full_name":"ATTron/utdfgo","owner":"ATTron","description":"Spacecraft UTDF File/Packet Reader and Decoder Written in Golang","archived":false,"fork":false,"pushed_at":"2021-05-18T22:35:50.000Z","size":7409,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:42:17.197Z","etag":null,"topics":["astronomy","decoder","go","golang","nasa","reader","returns-antenna","space","spacecraft","utdf-packets"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ATTron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-02T04:06:34.000Z","updated_at":"2023-11-27T01:04:01.000Z","dependencies_parsed_at":"2022-09-26T22:20:22.804Z","dependency_job_id":null,"html_url":"https://github.com/ATTron/utdfgo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ATTron/utdfgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATTron%2Futdfgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATTron%2Futdfgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATTron%2Futdfgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATTron%2Futdfgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ATTron","download_url":"https://codeload.github.com/ATTron/utdfgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATTron%2Futdfgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017381,"owners_count":26086052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","decoder","go","golang","nasa","reader","returns-antenna","space","spacecraft","utdf-packets"],"created_at":"2024-10-10T00:35:07.347Z","updated_at":"2025-10-14T00:13:39.269Z","avatar_url":"https://github.com/ATTron.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UTDF-GO\n[![Go Report Card](https://goreportcard.com/badge/github.com/attron/utdfgo)](https://goreportcard.com/report/github.com/attron/utdfgo)\nUTDFGO is a UTDF Spacecraft Packet Decoder Written In Golang\n\n# USAGE\n------------------------------------------------------------------\n```\n    go get \"github.com/ATTron/utdfgo\"\n```\n## Using utdfgo in GO programs\n```\n    import \"github.com/ATTron/utdfgo\"\n\n    . . .\n\n    utdf, err := utdfgo.Run(filename)\n    if err != nil {\n      check(err)\n    }\n    for _, p := range utdf {\n        // run functions on p\n        p.GetYear()\n    }\n```\nYou can run the extraction functions with the returned utdf struct\n\n# Functions\n\n## Getting Started\n#### Run(filename string)\nreturns an array of utdf packets from the file given\n\n------------------------------------------------------------------\n## Time Based Functions\n#### GetYear()\nreturns the year\ntaken from byte 6\n#### GetSeconds()\nreturns the seconds of year\ntaken from bytes 11:14\n#### GetMicroseconds()\nreturns microseconds of seconds\ntaken from bytes 15:18\n#### GetEpoch()\nreturns a UTC epoch\nbuilt from other time functions\n#### GetTimestamps()\nreturns all time information for given utdf packet\n\n------------------------------------------------------------------\n## Angle Based Functions\n#### GetAzimuth()\nreturns azimuth\ntaken from bytes 19:22\n#### GetElevation()\nreturns elevation\ntaken from bytes 23:26\n\n------------------------------------------------------------------\n## Range + Doppler Based Functions\n#### GetRangeDelay()\nreturns range delay hi and lo\n#### GetRange()\nreturns calculated range of spacecraft\n#### GetDopplerDelay()\nreturns doppler delay hi and lo\n#### GetDoppler()\nreturns calculated doppler count\n\n------------------------------------------------------------------\n## Misc Functions\n#### GetAGC()\nreturns spacecraft AGC\ntaken from bytes 39:40\n#### GetTransmitFreq()\nreturns transmission frequency\ntaken from bytes 41:44\n#### GetAntennaType()\nreturns antenna type\ntaken from byte 45\n#### GetPADID()\nreturns antenna padid\ntaken from byte 46\n#### GetRecieveAntennaType()\nreturns recieve antenna type\ntaken from byte 47\n#### GetRecievePADID()\nreturns recieve antenna padid\ntaken from byte 48\n#### GetSystemMode()\nreturn system mode\ntaken from bytes 49:50\n#### GetDataValidation()\nreturn data validity\ntaken from byte 51\n#### GetFrequencyBand()\nreturn frequency band\ntaken from byte 52\n#### GetTrackingInfo()\nreturn tracking type and data\ntaken from bytes 53:54\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattron%2Futdfgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fattron%2Futdfgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattron%2Futdfgo/lists"}