From 214dae9194095743dde5ae2bd0d759a65cbeee5b Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Aug 2024 09:22:32 +0000 Subject: [PATCH 1/2] Fix cell --- docs/example.ipynb | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/docs/example.ipynb b/docs/example.ipynb index 422df91..27d31af 100644 --- a/docs/example.ipynb +++ b/docs/example.ipynb @@ -11,23 +11,13 @@ "\n", "## Downloading the Data\n", "\n", - "To begin with, register an account with the [CDS](https://cds.climate.copernicus.eu/) and create `$HOME/.cdsapirc` with the following content:" - ] - }, - { - "cell_type": "raw", - "id": "90c1c149-f332-4a6a-8f30-71dc165d5bd9", - "metadata": {}, - "source": [ + "To begin with, register an account with the [Climate Data Store](https://cds.climate.copernicus.eu/) and create `$HOME/.cdsapirc` with the following content:\n", + "\n", + "```\n", "url: https://cds.climate.copernicus.eu/api/v2\n", - "key: :" - ] - }, - { - "cell_type": "markdown", - "id": "b78325dd-6ce5-4698-8291-323702db9f7b", - "metadata": {}, - "source": [ + "key: :\n", + "```\n", + "\n", "You can find your UID and API key on your account page.\n", "\n", "We now download the ERA5 data." From 89918c7bd752bfea578182c3be2a597f1958a5a8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Aug 2024 09:23:56 +0000 Subject: [PATCH 2/2] Fix typo --- docs/example.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/example.ipynb b/docs/example.ipynb index 27d31af..081f119 100644 --- a/docs/example.ipynb +++ b/docs/example.ipynb @@ -190,7 +190,7 @@ " metadata=Metadata(\n", " lat=torch.from_numpy(surf_vars_ds.latitude.values),\n", " lon=torch.from_numpy(surf_vars_ds.longitude.values),\n", - " # Converting to `datetime64[s]` ensure that the output of `tolist()` gives\n", + " # Converting to `datetime64[s]` ensures that the output of `tolist()` gives\n", " # `datetime.datetime`s. Note that this needs to be a tuple of length one:\n", " # one value for every batch element.\n", " time=(surf_vars_ds.time.values.astype(\"datetime64[s]\").tolist()[i],),\n",