File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -698,22 +698,6 @@ def test_geo_with_panels():
698
698
time = np .arange (2000 , 2005 )
699
699
lon_grid , lat_grid = np .meshgrid (lon , lat )
700
700
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
-
717
701
# Zoomed region elevation (Asia region)
718
702
lat_zoom = np .linspace (0 , 60 , 60 )
719
703
lon_zoom = np .linspace (60 , 180 , 120 )
You can’t perform that action at this time.
0 commit comments