reorganization + multicast works on Linux!

This commit is contained in:
2025-10-20 22:35:35 -05:00
parent 28e56feef1
commit 0db078dbe4
28 changed files with 65 additions and 82 deletions

View File

@@ -0,0 +1 @@
# This file makes it to where the sys.path.append tomfoolery doesn't have to exist

View File

@@ -1,11 +1,11 @@
import asyncio
import aiohttp
import aiofiles
import logging, coloredlogs
from py2Lib import bit
import logging
from datetime import datetime
from os import path, listdir, remove
import util.bit
# Open the config file and make it accessible via "cfg"
import json
@@ -13,7 +13,6 @@ with open("config.json", "r") as file:
cfg = json.load(file)
l = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG")
async def getValidTimestamps(radarType:str) -> list:
times = []
@@ -48,7 +47,6 @@ async def getValidTimestamps(radarType:str) -> list:
return times
async def downloadRadarFrames(radarType:str, timestamps: list) -> list:
url_root = None
imagesToSend = []
if (radarType == "satrad"):

View File

@@ -7,7 +7,7 @@ import aiohttp
import json
import time as epochTime
import requests
import logging,coloredlogs
import logging
from os import path, mkdir, listdir, remove, cpu_count
from shutil import rmtree
@@ -19,7 +19,6 @@ from wand.color import Color
radarType = "Radar-US"
l = logging.getLogger(__name__)
coloredlogs.install()
upperLeftX,upperLeftY,lowerRightX,lowerRightY = 0,0,0,0
xStart,xEnd,yStart,yEnd = 0,0,0,0