From 94c883a1feca55e7f076d9323245936a3e876ee6 Mon Sep 17 00:00:00 2001 From: Matthew Siegfried Date: Thu, 19 Sep 2024 16:05:53 +0000 Subject: [PATCH 1/4] update toc; make pip quietttt --- book/_toc.yml | 1 + .../IS2_ATL15_surface_height_anomalies.ipynb | 160 ++++-------------- 2 files changed, 35 insertions(+), 126 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index dcf625e..7f34912 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -40,6 +40,7 @@ parts: sections: - file: tutorials/cryocloud_demo/CryoCloud_demo - file: tutorials/IS2_cloud_Landsat_integration + - file: \tutorials/ICESat2_ATL15_dhdt/ICESat2_ATL15_dhdt - file: tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies - file: external/ICESAT2_ATL10-h5coro_large_scale_time_series - file: tutorials/NASA-Earthdata-Cloud-Access/index diff --git a/book/tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies.ipynb b/book/tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies.ipynb index 0c8df80..7135e12 100644 --- a/book/tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies.ipynb +++ b/book/tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies.ipynb @@ -55,112 +55,20 @@ "name": "stdout", "output_type": "stream", "text": [ - "Requirement already satisfied: openpyxl in /srv/conda/envs/notebook/lib/python3.11/site-packages (3.1.5)\n", - "Requirement already satisfied: et-xmlfile in /srv/conda/envs/notebook/lib/python3.11/site-packages (from openpyxl) (1.1.0)\n", "Note: you may need to restart the kernel to use updated packages.\n", - "Requirement already satisfied: icepyx in /srv/conda/envs/notebook/lib/python3.11/site-packages (1.2.0)\n", - "Requirement already satisfied: backoff in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2.2.1)\n", - "Requirement already satisfied: dask[dataframe] in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2024.8.0)\n", - "Requirement already satisfied: datashader in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (0.16.3)\n", - "Requirement already satisfied: earthaccess>=0.5.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (0.10.0)\n", - "Requirement already satisfied: fiona in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (1.9.6)\n", - "Requirement already satisfied: geopandas in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (1.0.1)\n", - "Requirement already satisfied: h5netcdf in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (1.3.0)\n", - "Requirement already satisfied: h5py in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (3.11.0)\n", - "Requirement already satisfied: holoviews in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (1.18.3)\n", - "Requirement already satisfied: hvplot in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (0.10.0)\n", - "Requirement already satisfied: matplotlib in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (3.9.1)\n", - "Requirement already satisfied: numpy in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (1.26.4)\n", - "Requirement already satisfied: requests in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2.32.3)\n", - "Requirement already satisfied: s3fs in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2024.6.1)\n", - "Requirement already satisfied: shapely in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2.0.5)\n", - "Requirement already satisfied: xarray in /srv/conda/envs/notebook/lib/python3.11/site-packages (from icepyx) (2024.7.0)\n", - "Requirement already satisfied: fsspec>=2022.11 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (2024.6.1)\n", - "Requirement already satisfied: importlib-resources>=6.3.2 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (6.4.0)\n", - "Requirement already satisfied: multimethod>=1.8 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (1.12)\n", - "Requirement already satisfied: pqdm>=0.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (0.2.0)\n", - "Requirement already satisfied: python-cmr>=0.10.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (0.11.0)\n", - "Requirement already satisfied: tinynetrc<2.0.0,>=1.3.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (1.3.1)\n", - "Requirement already satisfied: typing_extensions>=4.10.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from earthaccess>=0.5.1->icepyx) (4.12.2)\n", - "Requirement already satisfied: charset-normalizer<4,>=2 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from requests->icepyx) (3.3.2)\n", - "Requirement already satisfied: idna<4,>=2.5 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from requests->icepyx) (3.7)\n", - "Requirement already satisfied: urllib3<3,>=1.21.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from requests->icepyx) (1.26.19)\n", - "Requirement already satisfied: certifi>=2017.4.17 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from requests->icepyx) (2024.7.4)\n", - "Requirement already satisfied: aiobotocore<3.0.0,>=2.5.4 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from s3fs->icepyx) (2.13.2)\n", - "Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from s3fs->icepyx) (3.10.3)\n", - "Requirement already satisfied: click>=8.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (8.1.7)\n", - "Requirement already satisfied: cloudpickle>=1.5.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (3.0.0)\n", - "Requirement already satisfied: packaging>=20.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (24.1)\n", - "Requirement already satisfied: partd>=1.4.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (1.4.2)\n", - "Requirement already satisfied: pyyaml>=5.3.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (6.0.2)\n", - "Requirement already satisfied: toolz>=0.10.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (0.12.1)\n", - "Requirement already satisfied: importlib-metadata>=4.13.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (8.0.0)\n", - "Requirement already satisfied: pandas>=2.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (2.2.2)\n", - "Requirement already satisfied: dask-expr<1.2,>=1.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask[dataframe]->icepyx) (1.1.10)\n", - "Requirement already satisfied: colorcet in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (3.1.0)\n", - "Requirement already satisfied: multipledispatch in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (0.6.0)\n", - "Requirement already satisfied: numba in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (0.60.0)\n", - "Requirement already satisfied: param in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (1.13.0)\n", - "Requirement already satisfied: pillow in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (10.2.0)\n", - "Requirement already satisfied: pyct in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (0.5.0)\n", - "Requirement already satisfied: scipy in /srv/conda/envs/notebook/lib/python3.11/site-packages (from datashader->icepyx) (1.14.0)\n", - "Requirement already satisfied: attrs>=19.2.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from fiona->icepyx) (23.2.0)\n", - "Requirement already satisfied: click-plugins>=1.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from fiona->icepyx) (1.1.1)\n", - "Requirement already satisfied: cligj>=0.5 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from fiona->icepyx) (0.7.2)\n", - "Requirement already satisfied: six in /srv/conda/envs/notebook/lib/python3.11/site-packages (from fiona->icepyx) (1.16.0)\n", - "Requirement already satisfied: pyogrio>=0.7.2 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from geopandas->icepyx) (0.9.0)\n", - "Requirement already satisfied: pyproj>=3.3.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from geopandas->icepyx) (3.6.1)\n", - "Requirement already satisfied: pyviz-comms>=0.7.4 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from holoviews->icepyx) (3.0.3)\n", - "Requirement already satisfied: panel>=1.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from holoviews->icepyx) (1.2.3)\n", - "Requirement already satisfied: bokeh>=1.0.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from hvplot->icepyx) (3.2.2)\n", - "Requirement already satisfied: contourpy>=1.0.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (1.2.1)\n", - "Requirement already satisfied: cycler>=0.10 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (0.12.1)\n", - "Requirement already satisfied: fonttools>=4.22.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (4.53.1)\n", - "Requirement already satisfied: kiwisolver>=1.3.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (1.4.5)\n", - "Requirement already satisfied: pyparsing>=2.3.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (3.1.2)\n", - "Requirement already satisfied: python-dateutil>=2.7 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from matplotlib->icepyx) (2.8.2)\n", - "Requirement already satisfied: botocore<1.34.132,>=1.34.70 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiobotocore<3.0.0,>=2.5.4->s3fs->icepyx) (1.34.131)\n", - "Requirement already satisfied: wrapt<2.0.0,>=1.10.10 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiobotocore<3.0.0,>=2.5.4->s3fs->icepyx) (1.16.0)\n", - "Requirement already satisfied: aioitertools<1.0.0,>=0.5.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiobotocore<3.0.0,>=2.5.4->s3fs->icepyx) (0.11.0)\n", - "Requirement already satisfied: aiohappyeyeballs>=2.3.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->s3fs->icepyx) (2.3.6)\n", - "Requirement already satisfied: aiosignal>=1.1.2 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->s3fs->icepyx) (1.3.1)\n", - "Requirement already satisfied: frozenlist>=1.1.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->s3fs->icepyx) (1.4.1)\n", - "Requirement already satisfied: multidict<7.0,>=4.5 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->s3fs->icepyx) (6.0.5)\n", - "Requirement already satisfied: yarl<2.0,>=1.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->s3fs->icepyx) (1.9.4)\n", - "Requirement already satisfied: Jinja2>=2.9 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from bokeh>=1.0.0->hvplot->icepyx) (3.1.4)\n", - "Requirement already satisfied: tornado>=5.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from bokeh>=1.0.0->hvplot->icepyx) (6.4.1)\n", - "Requirement already satisfied: xyzservices>=2021.09.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from bokeh>=1.0.0->hvplot->icepyx) (2024.6.0)\n", - "Requirement already satisfied: pyarrow>=7.0.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from dask-expr<1.2,>=1.1->dask[dataframe]->icepyx) (17.0.0)\n", - "Requirement already satisfied: zipp>=0.5 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from importlib-metadata>=4.13.0->dask[dataframe]->icepyx) (3.19.2)\n", - "Requirement already satisfied: pytz>=2020.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from pandas>=2.0->dask[dataframe]->icepyx) (2024.1)\n", - "Requirement already satisfied: tzdata>=2022.7 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from pandas>=2.0->dask[dataframe]->icepyx) (2024.1)\n", - "Requirement already satisfied: markdown in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (3.6)\n", - "Requirement already satisfied: markdown-it-py in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (3.0.0)\n", - "Requirement already satisfied: linkify-it-py in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (2.0.3)\n", - "Requirement already satisfied: mdit-py-plugins in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (0.4.1)\n", - "Requirement already satisfied: tqdm>=4.48.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (4.66.5)\n", - "Requirement already satisfied: bleach in /srv/conda/envs/notebook/lib/python3.11/site-packages (from panel>=1.0->holoviews->icepyx) (6.1.0)\n", - "Requirement already satisfied: locket in /srv/conda/envs/notebook/lib/python3.11/site-packages (from partd>=1.4.0->dask[dataframe]->icepyx) (1.0.0)\n", - "Requirement already satisfied: bounded-pool-executor in /srv/conda/envs/notebook/lib/python3.11/site-packages (from pqdm>=0.1->earthaccess>=0.5.1->icepyx) (0.0.3)\n", - "Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from numba->datashader->icepyx) (0.43.0)\n", - "Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from botocore<1.34.132,>=1.34.70->aiobotocore<3.0.0,>=2.5.4->s3fs->icepyx) (1.0.1)\n", - "Requirement already satisfied: MarkupSafe>=2.0 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from Jinja2>=2.9->bokeh>=1.0.0->hvplot->icepyx) (2.1.5)\n", - "Requirement already satisfied: webencodings in /srv/conda/envs/notebook/lib/python3.11/site-packages (from bleach->panel>=1.0->holoviews->icepyx) (0.5.1)\n", - "Requirement already satisfied: uc-micro-py in /srv/conda/envs/notebook/lib/python3.11/site-packages (from linkify-it-py->panel>=1.0->holoviews->icepyx) (1.0.3)\n", - "Requirement already satisfied: mdurl~=0.1 in /srv/conda/envs/notebook/lib/python3.11/site-packages (from markdown-it-py->panel>=1.0->holoviews->icepyx) (0.1.2)\n", "Note: you may need to restart the kernel to use updated packages.\n" ] } ], "source": [ "# Pip install libraries that are not pre-installed\n", - "%pip install openpyxl # Needed for pandas read_excel\n", - "%pip install icepyx" + "%pip install openpyxl --quiet # Needed for pandas read_excel\n", + "%pip install icepyx --quiet" ] }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "id": "1a2db536-38fa-40b2-b01e-6f2f97881789", "metadata": { "tags": [] @@ -2000,7 +1908,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "e6b5e1dfdaa84f5f9dfced6c28dcdb40", + "model_id": "33e474a180934e9d9194ea0e1daf93d8", "version_major": 2, "version_minor": 0 }, @@ -3005,11 +2913,11 @@ "application/vnd.holoviews_exec.v0+json": "", "text/html": [ "
\n", - "
\n", + "
\n", "
\n", "