Skip to content

Commit

Permalink
Update chlor a
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jul 1, 2024
1 parent d308bab commit fc6ef82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maplibre/chlor_a.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>chlor_a_june_2024</title>
<title>Chlorophyll-a</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css"/>
Expand All @@ -26,7 +26,7 @@

// ...
(() => {
var data = {"mapOptions": {"bearing": 0, "center": [0, 20], "pitch": 0, "style": {"version": 8, "sources": {"satellite": {"type": "raster", "tiles": ["https://api.maptiler.com/tiles/satellite-v2/{z}/{x}/{y}.jpg?key=zHkOvEKXRU94s1PSxs7w"], "tileSize": 256, "attribution": "&copy; MapTiler", "maxzoom": 19}, "terrainSource": {"type": "raster-dem", "url": "https://api.maptiler.com/tiles/terrain-rgb-v2/tiles.json?key=zHkOvEKXRU94s1PSxs7w", "tileSize": 256}, "hillshadeSource": {"type": "raster-dem", "url": "https://api.maptiler.com/tiles/terrain-rgb-v2/tiles.json?key=zHkOvEKXRU94s1PSxs7w", "tileSize": 256}}, "layers": [{"id": "satellite", "type": "raster", "source": "satellite"}, {"id": "hills", "type": "hillshade", "source": "hillshadeSource", "layout": {"visibility": "visible"}, "paint": {"hillshade-shadow-color": "#473B24"}}], "terrain": {"source": "terrainSource", "exaggeration": 1.0}}, "zoom": 1, "height": "600px"}, "calls": [["addControl", ["NavigationControl", {"showCompass": true, "showZoom": true, "visualizePitch": false}, "top-right"]], ["addControl", ["FullscreenControl", {}, "top-right"]], ["addControl", ["ScaleControl", {"unit": "metric"}, "bottom-left"]], ["addLayer", [{"id": "COG_zqw", "type": "raster", "source": {"attribution": "", "tileSize": 256, "tiles": ["https://titiler.xyz/cog/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?colormap_name=jet&nodata=nan&vmin=0&vmax=25&url=https%3A%2F%2Fgithub.com%2Fopengeos%2Fdatasets%2Freleases%2Fdownload%2Fhypercoast%2Fchlor_a_june_2024.tif&bidx=1&rescale=-1.439704179763794%2C0.5702213644981384"], "type": "raster"}}, null]], ["setLayoutProperty", ["COG_zqw", "visibility", "visible"]], ["setPaintProperty", ["COG_zqw", "raster-opacity", 1.0]], ["fitBounds", [[[-179.9999969495141, -90.00000457806081], [180.00001220830316, 89.99999694866628]]]]]};
var data = {"mapOptions": {"bearing": 0, "center": [0, 20], "pitch": 0, "style": {"version": 8, "sources": {"satellite": {"type": "raster", "tiles": ["https://api.maptiler.com/tiles/satellite-v2/{z}/{x}/{y}.jpg?key=zHkOvEKXRU94s1PSxs7w"], "tileSize": 256, "attribution": "&copy; MapTiler", "maxzoom": 19}, "terrainSource": {"type": "raster-dem", "url": "https://api.maptiler.com/tiles/terrain-rgb-v2/tiles.json?key=zHkOvEKXRU94s1PSxs7w", "tileSize": 256}, "hillshadeSource": {"type": "raster-dem", "url": "https://api.maptiler.com/tiles/terrain-rgb-v2/tiles.json?key=zHkOvEKXRU94s1PSxs7w", "tileSize": 256}}, "layers": [{"id": "satellite", "type": "raster", "source": "satellite"}, {"id": "hills", "type": "hillshade", "source": "hillshadeSource", "layout": {"visibility": "visible"}, "paint": {"hillshade-shadow-color": "#473B24"}}], "terrain": {"source": "terrainSource", "exaggeration": 1.0}}, "zoom": 1, "height": "600px"}, "calls": [["addControl", ["NavigationControl", {"showCompass": true, "showZoom": true, "visualizePitch": false}, "top-right"]], ["addControl", ["FullscreenControl", {}, "top-right"]], ["addControl", ["ScaleControl", {"unit": "metric"}, "bottom-left"]], ["addControl", ["LayerSwitcherControl", {"layerIds": ["Chlorophyll-a"], "theme": "default", "cssText": "padding: 5px; border: 1px solid darkgrey; border-radius: 4px;"}, "top-left"]], ["addControl", ["Inf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uvvGKlPzg4mFatWkVpaWnUq1cvmjNnjsP1Vq5cSY888gipVCrq27cvrVu3zkqmM39NJhMNHDiQ1q5da1WnoqKCOI6jU6dOCTq++uorIiKqqakhAHTkyBG7z6RfvHiRHn74Yerfvz8plUqKjIykzz77zK68mX379tHIkSNJqVTSLbfcQhMmTKBLly4REVFLSws9/fTT5O/vTwqFgpKSkujgwYNCXXO///jjjxQfH09KpZISExPp+PHjVjYKCwspPj6eFAoF+fn50X333SeUtba2UkZGBvXr14+8vb0pISHB6uUg+fn55OvrS0VFRTR48GBSqVSUkpJCf/zxBxERZWZm2v4OOu3atUvos02bNtGoUaNIoVDQ+++/32U/paWlddBXU1Pj8hzLysqiefPmkVqtpqCgIHr77bc7HY+CggK67bbbrPLMtouKiigmJoa8vLxo9OjRdP78edq2bRsNHjyYfHx86OGHH6ampiah3pUrV2jmzJnk7e1NgYGB9Nprr9GoUaNoyZIlVvo/+ugjGjZsmFu2xOjduze9++67Vnlz586l2bNn260DIqKGhgbiOI5eeumlTg0QtS2U22+/nT777DPSarW0ePFiUqvV1NDQYNUg88AdOnSIJBIJrVy5kk6cOEH5+fmkVCqFV80RtQ1cr169aO3ataTVakmr1Tpcz8fHh7Kzs+nEiRO0bt064nmeduzY4bC/WVlZFBERYdXGZ555hkaOHGmlw5ngcObMGVq7di0dOXKEqqurBb8OHDhgt86RI0dIoVDQokWLqKysjI4ePUrr16+nP//8k4iIFi9eTP369aNt27ZRZWUlpaWlUe/evTv0+9133027d++myspKuueee2jEiBGCje+++454nqcXX3yRjh07RmVlZZSVlSWUz5w5k0aMGEF79uyhU6dO0dq1a0mhUNDJkyeJqC04yGQyGjduHJWUlNDhw4dpyJAhNHPmTCIi+ueff+ihhx6iiRMn0rlz5+jcuXPU2toq9JlGo6GCggI6ffo0nT17tst+unz5MiUmJtLChQsFfQaDweU5duutt1Jubi5ptVrKzs4miURCVVVVdsdkyZIlNHHiRKs8s+3hw4fTvn37qLS0lEJDQ2nUqFE0YcIEKi0tp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Q6p64a7LFixQrExcUhJSUFycnJCAwM7PLrWlhYGHbs2IFff/0VCQkJSExMRGFhofAzAKtXr8b999+P2bNnIy4uDqdOncL333+P3r17O+xXcnIyNm/ejG+++QYxMTEYM2YMiouLhfL8/HzMmTMH6enpCA8Px7Rp01BcXCy8lNURFi5ciPDwcAwbNgz+/v745Zdf7Mo60k/Lli0Dz/OIiIiAv7+/6P0IV+dYV0RFRWHYsGH44osv3NIDtL3nMTExEffeey/GjRuHpKQkDBkyRLinUVhYiClTpgjj7Q7nz5/H7NmzER4ejrFjx6K4uBhFRUUYP368IHP27Fns378f8+bNs69I9DblTUJwcDDl5OR4RNe+fftIKpVSfX29R/QxegZbt26lIUOG2L2j7yqNjY3k6+srPHsQFRVFmzZt8qiNzli2bBktXLiwUxn3w9RNTmtrK+rq6rBixQo89NBDCAgI6G6XGDcQkydPhlarxdmzZ526grLlyJEjOH78OBISEvD3339j5cqVAIDU1FTodDrcf//9wn+7rgd9+vTp+mvXdQpU1wRPXDnk5+eTRCKhuLg4OnPmjGccYzBsKC0tpbi4OFKpVNS7d28aN26c8DzDjQp7+zSDwRCFvc+BwWCIwoIDg8EQhQUHBoMhCgsODAZDFBYcGAyGKCw4MBgMUVhwYDAYorDgwGAwRPk/r1ceQl7clqEAAAAASUVORK5CYII=\">", "cssText": "font-size: 20px; color: black;\n font-weight: normal; padding: 5px;\n background-color: white; border-radius: 5px;"}, "bottom-right"]], ["addLayer", [{"id": "Chlorophyll-a", "type": "raster", "source": {"attribution": "", "tileSize": 256, "tiles": ["https://titiler.xyz/cog/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?colormap_name=jet&vmin=0&vmax=20&nodata=nan&url=https%3A%2F%2Fgithub.com%2Fopengeos%2Fdatasets%2Freleases%2Fdownload%2Fhypercoast%2Fchlor_a_june_2024.tif&bidx=1&rescale=-1.439704179763794%2C0.5702213644981384"], "type": "raster"}}, null]], ["setLayoutProperty", ["Chlorophyll-a", "visibility", "visible"]], ["setPaintProperty", ["Chlorophyll-a", "raster-opacity", 1.0]], ["fitBounds", [[[-179.9999969495141, -90.00000457806081], [180.00001220830316, 89.99999694866628]]]]]};
pymaplibregl(data);
})();
</script>
Expand Down

0 comments on commit fc6ef82

Please sign in to comment.