Make Radar a child class of DatabaseTable
This commit is contained in:
parent
bee6c8f5fd
commit
bb58abf01b
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue