Skip to content

Commit f3432c4

Browse files
committed
rm unnecessary funcs
1 parent aa92a25 commit f3432c4

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

ultraplot/tests/test_geographic.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -698,22 +698,6 @@ def test_geo_with_panels():
698698
time = np.arange(2000, 2005)
699699
lon_grid, lat_grid = np.meshgrid(lon, lat)
700700

701-
# Generate mock "Mean (%)" and "Variability (%)" data
702-
def generate_mean_pattern():
703-
base = 30 * np.exp(-(lat_grid**2) / 1600)
704-
sub_n = 25 * np.exp(-((lat_grid - 25) ** 2) / 225)
705-
sub_s = 25 * np.exp(-((lat_grid + 25) ** 2) / 225)
706-
land_effect = (
707-
15 * np.sin(4 * np.pi * lon_grid / 180) * np.cos(2 * np.pi * lat_grid / 180)
708-
)
709-
return base + sub_n + sub_s + land_effect
710-
711-
def generate_variability_pattern():
712-
base = 15 * np.exp(-((np.abs(lat_grid) - 45) ** 2) / 400)
713-
ocean = 10 * np.sin(2 * np.pi * lon_grid / 180) * np.cos(np.pi * lat_grid / 180)
714-
seasonal = 8 * np.exp(-((np.abs(lat_grid) - 60) ** 2) / 625)
715-
return base + np.abs(ocean) + seasonal
716-
717701
# Zoomed region elevation (Asia region)
718702
lat_zoom = np.linspace(0, 60, 60)
719703
lon_zoom = np.linspace(60, 180, 120)

0 commit comments

Comments
 (0)