From f09bb398ce5749531e34fb64a1a0f45232561129 Mon Sep 17 00:00:00 2001 From: Gregor Decristoforo Date: Wed, 23 Oct 2024 16:27:21 +0200 Subject: [PATCH] Update content/xarray.rst Co-authored-by: Marijn van Vliet --- content/xarray.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/xarray.rst b/content/xarray.rst index 669859c9..e505f2b1 100644 --- a/content/xarray.rst +++ b/content/xarray.rst @@ -99,7 +99,8 @@ The following image shows the structure of this particular Xarray Dataset: Accessing and manipulating data in Xarray ----------------------------------------- -We can select a Data variable from the dataset using a dictionary-like syntax: :: +An xarray ``Dataset`` typically consists of multiple ``DataArrays``. Our example dataset has 7 of them (``u-component_of_wind_isobaric``, ``LambertConformal_Projection``, ``lat``, ``lon``, `Geopotential_height_isobaric``, ``v-component_of_wind_isobaric``, ``Temperature_isobaric``). +We can select a single ``DataArray`` from the dataset using a dictionary-like syntax: :: >>> temperature_data = ds['Temperature_isobaric'] >>> temperature_data