-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotter.py
More file actions
50 lines (45 loc) · 1.18 KB
/
plotter.py
File metadata and controls
50 lines (45 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- coding: utf-8 -*-
"""
plotter.py
----------
Main Assembler for the StormPlotter.
Uses a Mixin architecture to keep files small and focused.
"""
from config import EARTH_R_KM, SURFACE_PRESSURE_HPA
from plotter_base import (
StormPlotterBase,
_CONE_DOMAIN_FRACTION,
_FIG_HEIGHT_BASE,
_FIG_HEIGHT_Z_THRESHOLD,
_FIG_HEIGHT_Z_STRETCH,
)
# Import the specialized Plotting Mixins
from plotter_cartesian import CartesianMixin, add_flight_tracks
from plotter_storm_relative import StormRelativeMixin
from plotter_radial_height import RadialHeightMixin
from plotter_histogram import HistogramMixin
from plotter_scatter import ScatterMixin
class StormPlotter(
CartesianMixin,
StormRelativeMixin,
RadialHeightMixin,
HistogramMixin,
ScatterMixin,
StormPlotterBase
):
"""
Unified StormPlotter.
Inherits all plotting capabilities from the modular mixin classes,
and core data/state management from StormPlotterBase.
"""
pass
__all__ = [
"StormPlotter",
"add_flight_tracks",
"_CONE_DOMAIN_FRACTION",
"SURFACE_PRESSURE_HPA",
"_FIG_HEIGHT_BASE",
"_FIG_HEIGHT_Z_THRESHOLD",
"_FIG_HEIGHT_Z_STRETCH",
"EARTH_R_KM",
]