From 513714a77446f0ad27a5ccb9269401e503d9c888 Mon Sep 17 00:00:00 2001 From: Negin Sobhani Date: Fri, 14 Jun 2024 10:21:30 -0600 Subject: [PATCH] adding some minor edits --- .../03_intro_to_interactive_viz_hvplot.ipynb | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/notebooks/03_intro_to_interactive_viz_hvplot.ipynb b/notebooks/03_intro_to_interactive_viz_hvplot.ipynb index c2eba42..7a236e7 100644 --- a/notebooks/03_intro_to_interactive_viz_hvplot.ipynb +++ b/notebooks/03_intro_to_interactive_viz_hvplot.ipynb @@ -5,7 +5,9 @@ "id": "e5b8ce18-19f4-4535-b764-684402d18275", "metadata": {}, "source": [ - "# Creating a Basic Interactive Dashboard with `hvPlot` and `Panel`" + "\"Project \n", + "\n", + "# Creating a Basic Interactive Dashboard with `hvPlot`" ] }, { @@ -15,12 +17,12 @@ "source": [ "## Overview\n", "\n", - "Interactive visualuzation is ...\n", + "ERA-5 Dataset is available from NCAR RDA in netcdf format. A subset of this dataset is processed into Zarr format and available from NCAR RDA endpoints. To learn how you can create Zarr files from NCAR RDA netcdf files, please see [this notebook](./05_data_preprocessing.ipynb).\n", + "\n", "\n", "By the end of this notebook, you should be able to:\n", - "* Understand the necessecity for interactive plots and the challenges associated with them\n", - "* Use `hvPlot` to generate basic interactive plots with `Xarray`\n", - "* Create an interactive dashboard for visualuzing geoscience datasets using `Panel` and `hvPlot`" + "* Understand the importance for interactive plots and the challenges associated with them\n", + "* Use `hvPlot` to generate basic interactive plots with `Xarray`" ] }, { @@ -56,9 +58,6 @@ "outputs": [], "source": [ "import xarray as xr\n", - "\n", - "import panel as pn\n", - "\n", "import holoviews as hv\n", "from holoviews import opts\n", "\n", @@ -72,7 +71,7 @@ "source": [ "## Data\n", "\n", - "As was discussed in the Data Aquisition ... " + "As we mentioned above a subset of NCAR RDA data is available in Zarr format. " ] }, { @@ -87,10 +86,7 @@ "rda_url = 'https://data.rda.ucar.edu/'\n", "annual_means = rda_url + 'pythia_era5_24/annual_means/'\n", "xrds = xr.open_dataset(annual_means + \"temp_2m_annual_1940_2023.zarr\", engine= 'zarr')\n", - "xrds.load()\n", - "\n", - "xrds['VAR_2T_ANOM_FROM_1940'] = xrds['VAR_2T'] - xrds['VAR_2T'][0]\n", - "xrds" + "xrds.load()\n" ] }, { @@ -553,7 +549,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.10.13" } }, "nbformat": 4,