celestia-galmon/celestia-galmon

32 lines
1.0 KiB
Python
Executable File

#!/usr/bin/python3
"""
celestia-galmon
Retrieve Galmon GNSS data and feed it to Celestia for visualization.
Copyright (C) 2022, Jeff Moe, jebba.
Authors: Jeff Moe
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
# Usage:
# celestia-galmon
# Example:
# ./celestia-galmon > /usr/share/celestia/extras-standard/galmon/galmon.foo
import os
import json
import simplejson as json