Make Radar a child class of DatabaseTable

This commit is contained in:
XANTRONIX Industrial 2025-02-14 15:43:11 -05:00
parent bee6c8f5fd
commit bb58abf01b

View file

@ -1,6 +1,7 @@
import csv
import re
from nexrad.db import DatabaseTable
from nexrad.coord import Coord, COORD_SYSTEM
"""
@ -40,7 +41,7 @@ def parse(text: str):
RADAR_RANGE = 230000
class Radar():
class Radar(DatabaseTable):
__slots__ = (
'call', 'wban', 'name', 'coord', 'site_elevation', 'tower_height',
)