Skip to content

Commit

Permalink
moved wind_components to air
Browse files Browse the repository at this point in the history
  • Loading branch information
jmineau committed Aug 13, 2024
1 parent 34a384d commit 087a6b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lair/utils/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def seasonalPlot(data: pd.DataFrame, param: str='CH4', units: str='ppm', ax: plt
plt.Axes
Axis with the plot
"""
# TODO need to add a year or int x formatter
colors = {'DJF': '#e7298a',
'MAM': '#1b9e77',
'JJA': '#d95f02',
Expand Down Expand Up @@ -449,6 +450,7 @@ def windvectorPlot(data: pd.DataFrame, wd: str='WD', ws: str='WS',
plt.Axes
Axis with the plot
"""
from lair.air.air import wind_components
if ax is None:
fig, ax = plt.subplots()

Expand Down

0 comments on commit 087a6b5

Please sign in to comment.