Skip to content

Commit d7fdf7f

Browse files
authored
Feat: Plot Point Lobos on map (#23)
1 parent 6334353 commit d7fdf7f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

wavey/__main__.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,20 @@
3030
BREAKWATER_LAT_IDX = 91 # 36.61132
3131
BREAKWATER_LON_IDX = 55 # 238.10899
3232

33+
# Location of Point Lobos
34+
LOBOS_LAT = 36.5228
35+
LOBOS_LON = 238.0598
36+
# Closest grid point with forecast data
37+
LOBOS_LAT_IDX = 71 # 36.52092
38+
LOBOS_LON_IDX = 46 # 238.05843
39+
3340
# Location of Monastery Beach
3441
MONASTERY_LAT = 36.5260
3542
MONASTERY_LON = 238.0722
3643
# Closest grid point with forecast data
3744
MONASTERY_LAT_IDX = 72 # 36.52544
3845
MONASTERY_LON_IDX = 48 # 238.06966
3946

40-
# Location of Point Lobos
41-
LOBOS_LAT = 36.5228
42-
LOBOS_LON = 238.0598
43-
4447
DPI = 100
4548
"""Matplotlib figure dpi."""
4649

@@ -241,8 +244,8 @@ def main(
241244
draw_arrows_stride=1,
242245
)
243246
ax_mon.plot(MONASTERY_LON, MONASTERY_LAT, "ro")
244-
# ax_mon.plot(LOBOS_LON, LOBOS_LAT, "ro")
245-
ax_mon.set_title("Monastery")
247+
ax_mon.plot(LOBOS_LON, LOBOS_LAT, "ro")
248+
ax_mon.set_title("Pt. Lobos & Monastery")
246249

247250
plt.tight_layout()
248251
plt.colorbar(map_main.img, orientation="vertical", label="(ft)", shrink=0.8)

0 commit comments

Comments
 (0)