diff --git a/examples/notebooks/viewer/viewer-in-ipykernel.ipynb b/examples/notebooks/viewer/viewer-in-ipykernel.ipynb deleted file mode 100644 index 71d61a904..000000000 --- a/examples/notebooks/viewer/viewer-in-ipykernel.ipynb +++ /dev/null @@ -1,148 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "204a2531-1f34-4b3c-8b46-2837d24b328b", - "metadata": {}, - "outputs": [], - "source": [ - "from xcube.core.store import new_data_store\n", - "from xcube.webapi.viewer import Viewer" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "8b49204e-d1c4-48bb-8eba-7ee2e9b2b9d6", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['cube-1-250-250.levels', 'S2L2A-HH-2020-08.zarr']" - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "store = new_data_store(\"file\", root=\"../../..\")\n", - "store.list_data_ids()" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "57f7f982-8e15-4f08-bc53-cafb01012ef3", - "metadata": {}, - "outputs": [], - "source": [ - "viewer = Viewer()" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "11ff443b-7a19-4fa6-bf82-1145d9dd3af0", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'816053cc-52ac-4d28-baf4-1ea2d5aacd61'" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "ds = store.open_data('S2L2A-HH-2020-08.zarr')\n", - "viewer.add_dataset(ds, title=\"Hamburg!\")" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "b4284d31-ed27-442e-9e5c-a866f3a1b811", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Server: http://localhost:8000\n", - "Viewer: http://localhost:8000/viewer/?serverUrl=http://localhost:8000\n" - ] - } - ], - "source": [ - "viewer.info()" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "bed48045-eb79-43ee-96c7-932a24d34126", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "