Skip to content

Commit e30acc8

Browse files
Update notebooks for latest pangeo env (#126)
* 'epsg:6933' must be either a valid crs or ... error * Use hvplot 0.8.4 in downsample example * 'out_epsg not found...' error in timeseries-rioxarray-stackstac * Fix with epsg argument * Update and rerun quickstart notebooks --------- Co-authored-by: Aimee Barciauskas <[email protected]>
1 parent 1fe8a1d commit e30acc8

10 files changed

+4625
-8049
lines changed

notebooks/quickstarts/download-assets.ipynb

+437-360
Large diffs are not rendered by default.

notebooks/quickstarts/downsample-zarr.ipynb

+921-1,879
Large diffs are not rendered by default.

notebooks/quickstarts/hls-visualization.ipynb

+63-45
Large diffs are not rendered by default.

notebooks/quickstarts/intake.ipynb

+558-1,641
Large diffs are not rendered by default.

notebooks/quickstarts/no2-map-plot.ipynb

+18-17
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
},
157157
{
158158
"cell_type": "code",
159-
"execution_count": 6,
159+
"execution_count": 4,
160160
"id": "b5eb7467",
161161
"metadata": {},
162162
"outputs": [
@@ -166,7 +166,7 @@
166166
"1"
167167
]
168168
},
169-
"execution_count": 6,
169+
"execution_count": 4,
170170
"metadata": {},
171171
"output_type": "execute_result"
172172
}
@@ -194,7 +194,7 @@
194194
},
195195
{
196196
"cell_type": "code",
197-
"execution_count": 7,
197+
"execution_count": 5,
198198
"id": "79a63492-b9be-4278-85f8-5464fcd9d142",
199199
"metadata": {
200200
"tags": []
@@ -270,7 +270,7 @@
270270
" 'https://stac-extensions.github.io/raster/v1.1.0/schema.json']}"
271271
]
272272
},
273-
"execution_count": 7,
273+
"execution_count": 5,
274274
"metadata": {},
275275
"output_type": "execute_result"
276276
}
@@ -282,7 +282,7 @@
282282
},
283283
{
284284
"cell_type": "code",
285-
"execution_count": 8,
285+
"execution_count": 6,
286286
"id": "7bc42fff",
287287
"metadata": {},
288288
"outputs": [],
@@ -303,7 +303,7 @@
303303
},
304304
{
305305
"cell_type": "code",
306-
"execution_count": 10,
306+
"execution_count": 7,
307307
"id": "71acb916",
308308
"metadata": {},
309309
"outputs": [
@@ -320,7 +320,7 @@
320320
" 'center': [0.0, 0.0, 0]}"
321321
]
322322
},
323-
"execution_count": 10,
323+
"execution_count": 7,
324324
"metadata": {},
325325
"output_type": "execute_result"
326326
}
@@ -345,7 +345,7 @@
345345
},
346346
{
347347
"cell_type": "code",
348-
"execution_count": 11,
348+
"execution_count": 8,
349349
"id": "b4792eed",
350350
"metadata": {},
351351
"outputs": [
@@ -379,7 +379,7 @@
379379
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
380380
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
381381
" &lt;style&gt;\n",
382-
" #map_b760f5d56c6e116deffd4c09b180e7c2 {\n",
382+
" #map_d6d24d9418bc4927c0c9b16b8ec3e0d0 {\n",
383383
" position: relative;\n",
384384
" width: 100.0%;\n",
385385
" height: 100.0%;\n",
@@ -393,14 +393,14 @@
393393
"&lt;body&gt;\n",
394394
" \n",
395395
" \n",
396-
" &lt;div class=&quot;folium-map&quot; id=&quot;map_b760f5d56c6e116deffd4c09b180e7c2&quot; &gt;&lt;/div&gt;\n",
396+
" &lt;div class=&quot;folium-map&quot; id=&quot;map_d6d24d9418bc4927c0c9b16b8ec3e0d0&quot; &gt;&lt;/div&gt;\n",
397397
" \n",
398398
"&lt;/body&gt;\n",
399399
"&lt;script&gt;\n",
400400
" \n",
401401
" \n",
402-
" var map_b760f5d56c6e116deffd4c09b180e7c2 = L.map(\n",
403-
" &quot;map_b760f5d56c6e116deffd4c09b180e7c2&quot;,\n",
402+
" var map_d6d24d9418bc4927c0c9b16b8ec3e0d0 = L.map(\n",
403+
" &quot;map_d6d24d9418bc4927c0c9b16b8ec3e0d0&quot;,\n",
404404
" {\n",
405405
" center: [0.0, 0.0],\n",
406406
" crs: L.CRS.EPSG3857,\n",
@@ -414,29 +414,30 @@
414414
"\n",
415415
" \n",
416416
" \n",
417-
" var tile_layer_8bcaf12e8a9ebcbfd6f653010cb98f18 = L.tileLayer(\n",
417+
" var tile_layer_e5ffbe8b54d72b5725e8d2fa0f87104c = L.tileLayer(\n",
418418
" &quot;https://staging-raster.delta-backend.com/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=no2-monthly\\u0026item=OMI_trno2_0.10x0.10_202101_Col3_V4.nc\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=rdbu_r\\u0026rescale=-4107596126486528.0%2C35781585143857150&quot;,\n",
419-
" {&quot;attribution&quot;: &quot;VEDA&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 18, &quot;maxZoom&quot;: 18, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
419+
" {&quot;attribution&quot;: &quot;VEDA&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 18, &quot;maxZoom&quot;: 18, &quot;minZoom&quot;: 3, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
420420
" );\n",
421421
" \n",
422422
" \n",
423-
" tile_layer_8bcaf12e8a9ebcbfd6f653010cb98f18.addTo(map_b760f5d56c6e116deffd4c09b180e7c2);\n",
423+
" tile_layer_e5ffbe8b54d72b5725e8d2fa0f87104c.addTo(map_d6d24d9418bc4927c0c9b16b8ec3e0d0);\n",
424424
" \n",
425425
"&lt;/script&gt;\n",
426426
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
427427
],
428428
"text/plain": [
429-
"<folium.folium.Map at 0x7fcac62cb650>"
429+
"<folium.folium.Map at 0x7fc3574bfe10>"
430430
]
431431
},
432-
"execution_count": 11,
432+
"execution_count": 8,
433433
"metadata": {},
434434
"output_type": "execute_result"
435435
}
436436
],
437437
"source": [
438438
"folium.Map(\n",
439439
" tiles=tiles[\"tiles\"][0],\n",
440+
" min_zoom=3,\n",
440441
" attr=\"VEDA\",\n",
441442
")"
442443
]

notebooks/quickstarts/open-and-plot.ipynb

+562-1,600
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)