My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Increase notebook downsample limit from 50k to 200k pixels

Gives roughly 2x resolution in each dimension for the PCA
and classification overlays.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2 -2
+1 -1
site/notebooks/interactive_map.mld
··· 118 118 let mat_full, h_full, w_full, geo_bbox = Geotessera_jsoo.fetch_mosaic ~year:2024 b in 119 119 Widget.update ~id:"status" 120 120 (status_view (Printf.sprintf "Fetched %d×%d mosaic. Downsampling..." h_full w_full)); 121 - let mat, h, w = downsample_mosaic mat_full ~h:h_full ~w:w_full ~max_pixels:50_000 in 121 + let mat, h, w = downsample_mosaic mat_full ~h:h_full ~w:w_full ~max_pixels:200_000 in 122 122 mosaic := Some (mat, h, w); 123 123 let bounds = Leaflet_map.{ 124 124 south = geo_bbox.Geotessera.min_lat;
+1 -1
site/notebooks/interactive_map_zarr.mld
··· 117 117 let* (mat_full, h_full, w_full, geo_bounds) = 118 118 Tessera_zarr.fetch_region ~progress ~store bbox in 119 119 progress (Printf.sprintf "Fetched %d×%d. Downsampling..." h_full w_full); 120 - let (mat, h, w) = downsample mat_full ~h:h_full ~w:w_full ~max_pixels:50_000 in 120 + let (mat, h, w) = downsample mat_full ~h:h_full ~w:w_full ~max_pixels:200_000 in 121 121 let bounds = Leaflet_map.{ 122 122 south = geo_bounds.Geotessera.min_lat; 123 123 north = geo_bounds.Geotessera.max_lat;