From bb38fa142714eee0a831a405c532b32dbea106b4 Mon Sep 17 00:00:00 2001 From: ayushnag <35325113+ayushnag@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:50:52 -0500 Subject: [PATCH] update docs dependencies --- docs/tutorials/dmrpp-virtualizarr.ipynb | 2 +- mkdocs.yml | 1 + pyproject.toml | 4 +++- uv.lock | 6 ++++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/dmrpp-virtualizarr.ipynb b/docs/tutorials/dmrpp-virtualizarr.ipynb index e32de6da..fe643c31 100644 --- a/docs/tutorials/dmrpp-virtualizarr.ipynb +++ b/docs/tutorials/dmrpp-virtualizarr.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Creating cloud optimized reference files with earthaccess and virtualizarr\n", + "# Cloud optimized access to NASA data with earthaccess and virtualizarr\n", "This notebook will focus on the usage of `earthaccess.open_virtual_dataset` and `earthaccess.open_virtual_mfdataset` to create cloud optimized reference files for the data stored in the cloud.\n", "\n", "All of the examples in this tutorial load data over https (`access=\"indirect\"`). However, there is a **significant** speed improvement when using these functions in-cloud and enabling `access=\"direct\"`. For example, using managed cloud JupyterHubs like NASA VEDA or 2i2c Openscapes. This is because the data is streamed directly from cloud storage to cloud compute.\n", diff --git a/mkdocs.yml b/mkdocs.yml index 1eb56098..a3d9007d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -89,6 +89,7 @@ nav: - "Search and access of restricted datasets": "tutorials/restricted-datasets.ipynb" - "Reproducing NASA sea level rise infographic": "tutorials/SSL.ipynb" - "Accessing and visualizing EMIT data with a few lines of code": "tutorials/emit-earthaccess.ipynb" + - "Cloud optimized access to NASA data with earthaccess and virtualizarr": "tutorials/dmrpp-virtualizarr.ipynb" - USER REFERENCE: - API: - "Search and Access": "user-reference/api/api.md" diff --git a/pyproject.toml b/pyproject.toml index 6e227789..6cff16e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,8 @@ kerchunk = [ "xarray", ] virtualizarr = [ - "virtualizarr >=1.2.0" + "virtualizarr >=1.2.0", + "zarr", ] dev = [ "bump-my-version >=0.10.0", @@ -119,6 +120,7 @@ docs = [ # See https://github.com/danielfrg/mkdocs-jupyter/issues/197 "lxml-html-clean >=0.1.1", "dask>=2024.8.0", + "earthaccess[virtualizarr]", "cftime>=1.6.4", ] diff --git a/uv.lock b/uv.lock index 6e6acce3..d094ba04 100644 --- a/uv.lock +++ b/uv.lock @@ -841,8 +841,10 @@ docs = [ { name = "pygments" }, { name = "pymdown-extensions" }, { name = "pyproj" }, + { name = "virtualizarr" }, { name = "widgetsnbextension" }, { name = "xarray" }, + { name = "zarr" }, ] kerchunk = [ { name = "dask" }, @@ -870,9 +872,11 @@ test = [ { name = "vcrpy" }, { name = "virtualizarr" }, { name = "xarray" }, + { name = "zarr" }, ] virtualizarr = [ { name = "virtualizarr" }, + { name = "zarr" }, ] [package.metadata] @@ -882,6 +886,7 @@ requires-dist = [ { name = "dask", marker = "extra == 'docs'", specifier = ">=2024.8.0" }, { name = "dask", marker = "extra == 'kerchunk'" }, { name = "earthaccess", extras = ["kerchunk"], marker = "extra == 'test'" }, + { name = "earthaccess", extras = ["virtualizarr"], marker = "extra == 'docs'" }, { name = "earthaccess", extras = ["virtualizarr"], marker = "extra == 'test'" }, { name = "fsspec", specifier = ">=2022.11" }, { name = "h5netcdf", marker = "extra == 'docs'", specifier = ">=0.11" }, @@ -929,6 +934,7 @@ requires-dist = [ { name = "widgetsnbextension", marker = "extra == 'docs'", specifier = ">=3.6.0" }, { name = "xarray", marker = "extra == 'docs'", specifier = ">=2023.1" }, { name = "xarray", marker = "extra == 'kerchunk'" }, + { name = "zarr", marker = "extra == 'virtualizarr'" }, ] [[package]]