{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "-jAYlxeKxvAJ" }, "source": [ "# GraphCast\n", "\n", "This colab lets you run several versions of GraphCast.\n", "\n", "The model weights, normalization statistics, and example inputs are available on [Google Cloud Bucket](https://console.cloud.google.com/storage/browser/dm_graphcast).\n", "\n", "A Colab runtime with TPU/GPU acceleration will substantially speed up generating predictions and computing the loss/gradients. If you're using a CPU-only runtime, you can switch using the menu \"Runtime > Change runtime type\"." ] }, { "cell_type": "markdown", "metadata": { "id": "IIWlNRupdI2i" }, "source": [ ">
Copyright 2023 DeepMind Technologies Limited.
\n", ">Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
\n", ">Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
" ] }, { "cell_type": "markdown", "metadata": { "id": "yMbbXFl4msJw" }, "source": [ "# Installation and Initialization\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "cellView": "form", "id": "-W4K9skv9vh-" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple\n", "Collecting google-cloud\n", " Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ba/b1/7c54d1950e7808df06642274e677dbcedba57f75307adf2e5ad8d39e5e0e/google_cloud-0.34.0-py2.py3-none-any.whl (1.8 kB)\n", "Installing collected packages: google-cloud\n", "Successfully installed google-cloud-0.34.0\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n" ] } ], "source": [ "# @title Pip install graphcast and dependencies\n", "\n", "# %pip install --upgrade https://github.com/deepmind/graphcast/archive/master.zip\n", "# %pip install -e .\n", "# %pip install google-cloud" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "cellView": "form", "id": "MA5087Vb29z2" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple\n", "Collecting shapely\n", " Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/81/77/e1475695606a8305c9ad5f5132d911abe8ed1655a6f5c817a69bdd2b5324/shapely-2.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.5/2.5 MB\u001b[0m \u001b[31m939.9 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m:01\u001b[0m00:01\u001b[0m\n", "\u001b[?25hRequirement already satisfied: numpy<3,>=1.14 in /usr/local/lib/python3.10/site-packages (from shapely) (1.26.4)\n", "Installing collected packages: shapely\n", "Successfully installed shapely-2.0.4\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0m" ] } ], "source": [ "# @title Workaround for cartopy crashes\n", "\n", "# Workaround for cartopy crashes due to the shapely installed by default in\n", "# google colab kernel (https://github.com/anitagraser/movingpandas/issues/81):\n", "# !pip uninstall -y shapely\n", "# !pip install shapely --no-binary shapely\n", "# !pip install shapely" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "cellView": "form", "id": "Z_j8ej4Pyg1L" }, "outputs": [], "source": [ "# @title Imports\n", "\n", "import dataclasses\n", "import datetime\n", "import functools\n", "import math\n", "import re\n", "from typing import Optional\n", "\n", "import cartopy.crs as ccrs\n", "from google.cloud import storage\n", "from graphcast import autoregressive\n", "from graphcast import casting\n", "from graphcast import checkpoint\n", "from graphcast import data_utils\n", "from graphcast import graphcast\n", "from graphcast import normalization\n", "from graphcast import rollout\n", "from graphcast import xarray_jax\n", "from graphcast import xarray_tree\n", "from IPython.display import HTML\n", "import ipywidgets as widgets\n", "import haiku as hk\n", "import jax\n", "import matplotlib\n", "import matplotlib.pyplot as plt\n", "from matplotlib import animation\n", "import numpy as np\n", "import xarray\n", "\n", "\n", "def parse_file_parts(file_name):\n", " return dict(part.split(\"-\", 1) for part in file_name.split(\"_\"))\n" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "cellView": "form", "id": "4wagX1TL_f15" }, "outputs": [], "source": [ "# @title Authenticate with Google Cloud Storage\n", "\n", "gcs_client = storage.Client.create_anonymous_client()\n", "gcs_bucket = gcs_client.get_bucket(\"dm_graphcast\")" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "cellView": "form", "id": "5JUymx84dI2m" }, "outputs": [], "source": [ "# @title Plotting functions\n", "\n", "def select(\n", " data: xarray.Dataset,\n", " variable: str,\n", " level: Optional[int] = None,\n", " max_steps: Optional[int] = None\n", " ) -> xarray.Dataset:\n", " data = data[variable]\n", " if \"batch\" in data.dims:\n", " data = data.isel(batch=0)\n", " if max_steps is not None and \"time\" in data.sizes and max_steps < data.sizes[\"time\"]:\n", " data = data.isel(time=range(0, max_steps))\n", " if level is not None and \"level\" in data.coords:\n", " data = data.sel(level=level)\n", " return data\n", "\n", "def scale(\n", " data: xarray.Dataset,\n", " center: Optional[float] = None,\n", " robust: bool = False,\n", " ) -> tuple[xarray.Dataset, matplotlib.colors.Normalize, str]:\n", " vmin = np.nanpercentile(data, (2 if robust else 0))\n", " vmax = np.nanpercentile(data, (98 if robust else 100))\n", " if center is not None:\n", " diff = max(vmax - center, center - vmin)\n", " vmin = center - diff\n", " vmax = center + diff\n", " return (data, matplotlib.colors.Normalize(vmin, vmax),\n", " (\"RdBu_r\" if center is not None else \"viridis\"))\n", "\n", "def plot_data(\n", " data: dict[str, xarray.Dataset],\n", " fig_title: str,\n", " plot_size: float = 5,\n", " robust: bool = False,\n", " cols: int = 4\n", " ) -> tuple[xarray.Dataset, matplotlib.colors.Normalize, str]:\n", "\n", " first_data = next(iter(data.values()))[0]\n", " max_steps = first_data.sizes.get(\"time\", 1)\n", " assert all(max_steps == d.sizes.get(\"time\", 1) for d, _, _ in data.values())\n", "\n", " cols = min(cols, len(data))\n", " rows = math.ceil(len(data) / cols)\n", " figure = plt.figure(figsize=(plot_size * 2 * cols,\n", " plot_size * rows))\n", " figure.suptitle(fig_title, fontsize=16)\n", " figure.subplots_adjust(wspace=0, hspace=0)\n", " figure.tight_layout()\n", "\n", " images = []\n", " for i, (title, (plot_data, norm, cmap)) in enumerate(data.items()):\n", " ax = figure.add_subplot(rows, cols, i+1)\n", " ax.set_xticks([])\n", " ax.set_yticks([])\n", " ax.set_title(title)\n", " im = ax.imshow(\n", " plot_data.isel(time=0, missing_dims=\"ignore\"), norm=norm,\n", " origin=\"lower\", cmap=cmap)\n", " plt.colorbar(\n", " mappable=im,\n", " ax=ax,\n", " orientation=\"vertical\",\n", " pad=0.02,\n", " aspect=16,\n", " shrink=0.75,\n", " cmap=cmap,\n", " extend=(\"both\" if robust else \"neither\"))\n", " images.append(im)\n", "\n", " def update(frame):\n", " if \"time\" in first_data.dims:\n", " td = datetime.timedelta(microseconds=first_data[\"time\"][frame].item() / 1000)\n", " figure.suptitle(f\"{fig_title}, {td}\", fontsize=16)\n", " else:\n", " figure.suptitle(fig_title, fontsize=16)\n", " for im, (plot_data, norm, cmap) in zip(images, data.values()):\n", " im.set_data(plot_data.isel(time=frame, missing_dims=\"ignore\"))\n", "\n", " ani = animation.FuncAnimation(\n", " fig=figure, func=update, frames=max_steps, interval=250)\n", " plt.close(figure.number)\n", " return HTML(ani.to_jshtml())" ] }, { "cell_type": "markdown", "metadata": { "id": "WEtSV8HEkHtf" }, "source": [ "# Load the Data and initialize the model" ] }, { "cell_type": "markdown", "metadata": { "id": "G50ORsY_dI2n" }, "source": [ "## Load the model params\n", "\n", "Choose one of the two ways of getting model params:\n", "- **random**: You'll get random predictions, but you can change the model architecture, which may run faster or fit on your device.\n", "- **checkpoint**: You'll get sensible predictions, but are limited to the model architecture that it was trained with, which may not fit on your device. In particular generating gradients uses a lot of memory, so you'll need at least 25GB of ram (TPUv4 or A100).\n", "\n", "Checkpoints vary across a few axes:\n", "- The mesh size specifies the internal graph representation of the earth. Smaller meshes will run faster but will have worse outputs. The mesh size does not affect the number of parameters of the model.\n", "- The resolution and number of pressure levels must match the data. Lower resolution and fewer levels will run a bit faster. Data resolution only affects the encoder/decoder.\n", "- All our models predict precipitation. However, ERA5 includes precipitation, while HRES does not. Our models marked as \"ERA5\" take precipitation as input and expect ERA5 data as input, while model marked \"ERA5-HRES\" do not take precipitation as input and are specifically trained to take HRES-fc0 as input (see the data section below).\n", "\n", "We provide three pre-trained models.\n", "1. `GraphCast`, the high-resolution model used in the GraphCast paper (0.25 degree resolution, 37 pressure levels), trained on ERA5 data from 1979 to 2017,\n", "\n", "2. `GraphCast_small`, a smaller, low-resolution version of GraphCast (1 degree resolution, 13 pressure levels, and a smaller mesh), trained on ERA5 data from 1979 to 2015, useful to run a model with lower memory and compute constraints,\n", "\n", "3. `GraphCast_operational`, a high-resolution model (0.25 degree resolution, 13 pressure levels) pre-trained on ERA5 data from 1979 to 2017 and fine-tuned on HRES data from 2016 to 2021. This model can be initialized from HRES data (does not require precipitation inputs).\n" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "cellView": "form", "id": "KGaJ6V9MdI2n" }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "f53593ad9abe4650a489ef8cb51e1dae", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(Tab(children=(VBox(children=(IntSlider(value=4, description='Mesh size:', max=6, min=4), IntSli…" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# @title Choose the model\n", "\n", "params_file_options = [\n", " name for blob in gcs_bucket.list_blobs(prefix=\"params/\")\n", " if (name := blob.name.removeprefix(\"params/\"))] # Drop empty string.\n", "\n", "random_mesh_size = widgets.IntSlider(\n", " value=4, min=4, max=6, description=\"Mesh size:\")\n", "random_gnn_msg_steps = widgets.IntSlider(\n", " value=4, min=1, max=32, description=\"GNN message steps:\")\n", "random_latent_size = widgets.Dropdown(\n", " options=[int(2**i) for i in range(4, 10)], value=32,description=\"Latent size:\")\n", "random_levels = widgets.Dropdown(\n", " options=[13, 37], value=13, description=\"Pressure levels:\")\n", "\n", "\n", "params_file = widgets.Dropdown(\n", " options=params_file_options,\n", " description=\"Params file:\",\n", " layout={\"width\": \"max-content\"})\n", "\n", "source_tab = widgets.Tab([\n", " widgets.VBox([\n", " random_mesh_size,\n", " random_gnn_msg_steps,\n", " random_latent_size,\n", " random_levels,\n", " ]),\n", " params_file,\n", "])\n", "source_tab.set_title(0, \"Random\")\n", "source_tab.set_title(1, \"Checkpoint\")\n", "widgets.VBox([\n", " source_tab,\n", " widgets.Label(value=\"Run the next cell to load the model. Rerunning this cell clears your selection.\")\n", "])\n" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "cellView": "form", "id": "lYQgrPgPdI2n" }, "outputs": [ { "data": { "text/plain": [ "ModelConfig(resolution=0, mesh_size=4, latent_size=32, gnn_msg_steps=4, hidden_layers=1, radius_query_fraction_edge_length=0.6, mesh2grid_edge_normalization_factor=None)" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# @title Load the model\n", "\n", "source = source_tab.get_title(source_tab.selected_index)\n", "\n", "if source == \"Random\":\n", " params = None # Filled in below\n", " state = {}\n", " model_config = graphcast.ModelConfig(\n", " resolution=0,\n", " mesh_size=random_mesh_size.value,\n", " latent_size=random_latent_size.value,\n", " gnn_msg_steps=random_gnn_msg_steps.value,\n", " hidden_layers=1,\n", " radius_query_fraction_edge_length=0.6)\n", " task_config = graphcast.TaskConfig(\n", " input_variables=graphcast.TASK.input_variables,\n", " target_variables=graphcast.TASK.target_variables,\n", " forcing_variables=graphcast.TASK.forcing_variables,\n", " pressure_levels=graphcast.PRESSURE_LEVELS[random_levels.value],\n", " input_duration=graphcast.TASK.input_duration,\n", " )\n", "else:\n", " assert source == \"Checkpoint\"\n", " with gcs_bucket.blob(f\"params/{params_file.value}\").open(\"rb\") as f:\n", " ckpt = checkpoint.load(f, graphcast.CheckPoint)\n", " params = ckpt.params\n", " state = {}\n", "\n", " model_config = ckpt.model_config\n", " task_config = ckpt.task_config\n", " print(\"Model description:\\n\", ckpt.description, \"\\n\")\n", " print(\"Model license:\\n\", ckpt.license, \"\\n\")\n", "\n", "model_config" ] }, { "cell_type": "markdown", "metadata": { "id": "rQWk0RRuCjDN" }, "source": [ "## Load the example data\n", "\n", "Several example datasets are available, varying across a few axes:\n", "- **Source**: fake, era5, hres\n", "- **Resolution**: 0.25deg, 1deg, 6deg\n", "- **Levels**: 13, 37\n", "- **Steps**: How many timesteps are included\n", "\n", "Not all combinations are available.\n", "- Higher resolution is only available for fewer steps due to the memory requirements of loading them.\n", "- HRES is only available in 0.25 deg, with 13 pressure levels.\n", "\n", "The data resolution must match the model that is loaded.\n", "\n", "Some transformations were done from the base datasets:\n", "- We accumulated precipitation over 6 hours instead of the default 1 hour.\n", "- For HRES data, each time step corresponds to the HRES forecast at leadtime 0, essentially providing an \"initialisation\" from HRES. See HRES-fc0 in the GraphCast paper for further description. Note that a 6h accumulation of precipitation is not available from HRES, so our model taking HRES inputs does not depend on precipitation. However, because our models predict precipitation, we include the ERA5 precipitation in the example data so it can serve as an illustrative example of ground truth.\n", "- We include ERA5 `toa_incident_solar_radiation` in the data. Our model uses the radiation at -6h, 0h and +6h as a forcing term for each 1-step prediction. If the radiation is missing from the data (e.g. in an operational setting), it will be computed using a custom implementation that produces values similar to those in ERA5." ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "cellView": "form", "id": "-DJzie5me2-H" }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "22332b0431b847f8ada65f20642c873d", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(Dropdown(description='Dataset file:', layout=Layout(width='max-content'), options=(('source: er…" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# @title Get and filter the list of available example datasets\n", "\n", "dataset_file_options = [\n", " name for blob in gcs_bucket.list_blobs(prefix=\"dataset/\")\n", " if (name := blob.name.removeprefix(\"dataset/\"))] # Drop empty string.\n", "\n", "def data_valid_for_model(\n", " file_name: str, model_config: graphcast.ModelConfig, task_config: graphcast.TaskConfig):\n", " file_parts = parse_file_parts(file_name.removesuffix(\".nc\"))\n", " return (\n", " model_config.resolution in (0, float(file_parts[\"res\"])) and\n", " len(task_config.pressure_levels) == int(file_parts[\"levels\"]) and\n", " (\n", " (\"total_precipitation_6hr\" in task_config.input_variables and\n", " file_parts[\"source\"] in (\"era5\", \"fake\")) or\n", " (\"total_precipitation_6hr\" not in task_config.input_variables and\n", " file_parts[\"source\"] in (\"hres\", \"fake\"))\n", " )\n", " )\n", "\n", "\n", "dataset_file = widgets.Dropdown(\n", " options=[\n", " (\", \".join([f\"{k}: {v}\" for k, v in parse_file_parts(option.removesuffix(\".nc\")).items()]), option)\n", " for option in dataset_file_options\n", " if data_valid_for_model(option, model_config, task_config)\n", " ],\n", " description=\"Dataset file:\",\n", " layout={\"width\": \"max-content\"})\n", "widgets.VBox([\n", " dataset_file,\n", " widgets.Label(value=\"Run the next cell to load the dataset. Rerunning this cell clears your selection and refilters the datasets that match your model.\")\n", "])" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "cellView": "form", "id": "Yz-ekISoJxeZ" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "source: era5, date: 2022-01-01, res: 0.25, levels: 13, steps: 01\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/tmp/ipykernel_105311/4169645414.py:10: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n", " assert example_batch.dims[\"time\"] >= 3 # 2 for input, >=1 for targets\n" ] }, { "data": { "text/html": [ "<xarray.Dataset> Size: 1GB\n",
"Dimensions: (lon: 1440, lat: 721, level: 13, time: 3,\n",
" batch: 1)\n",
"Coordinates:\n",
" * lon (lon) float32 6kB 0.0 0.25 0.5 ... 359.5 359.8\n",
" * lat (lat) float32 3kB -90.0 -89.75 ... 89.75 90.0\n",
" * level (level) int32 52B 50 100 150 ... 850 925 1000\n",
" * time (time) timedelta64[ns] 24B 00:00:00 ... 12:...\n",
" datetime (batch, time) datetime64[ns] 24B 2022-01-01...\n",
"Dimensions without coordinates: batch\n",
"Data variables: (12/14)\n",
" geopotential_at_surface (lat, lon) float32 4MB 2.735e+04 ... -0.07617\n",
" land_sea_mask (lat, lon) float32 4MB 1.0 1.0 1.0 ... 0.0 0.0\n",
" 2m_temperature (batch, time, lat, lon) float32 12MB 250.7 ...\n",
" mean_sea_level_pressure (batch, time, lat, lon) float32 12MB 9.931e...\n",
" 10m_v_component_of_wind (batch, time, lat, lon) float32 12MB -0.439...\n",
" 10m_u_component_of_wind (batch, time, lat, lon) float32 12MB 1.309 ...\n",
" ... ...\n",
" temperature (batch, time, level, lat, lon) float32 162MB ...\n",
" geopotential (batch, time, level, lat, lon) float32 162MB ...\n",
" u_component_of_wind (batch, time, level, lat, lon) float32 162MB ...\n",
" v_component_of_wind (batch, time, level, lat, lon) float32 162MB ...\n",
" vertical_velocity (batch, time, level, lat, lon) float32 162MB ...\n",
" specific_humidity (batch, time, level, lat, lon) float32 162MB ...<xarray.Dataset> Size: 345MB\n",
"Dimensions: (time: 1, batch: 1, lat: 721, lon: 1440, level: 13)\n",
"Coordinates:\n",
" * lon (lon) float32 6kB 0.0 0.25 0.5 ... 359.5 359.8\n",
" * lat (lat) float32 3kB -90.0 -89.75 -89.5 ... 89.75 90.0\n",
" * level (level) int32 52B 50 100 150 200 ... 850 925 1000\n",
" * time (time) timedelta64[ns] 8B 06:00:00\n",
"Dimensions without coordinates: batch\n",
"Data variables:\n",
" 10m_u_component_of_wind (time, batch, lat, lon) float32 4MB 3.331 ... -1...\n",
" 10m_v_component_of_wind (time, batch, lat, lon) float32 4MB -3.348 ... -...\n",
" 2m_temperature (time, batch, lat, lon) float32 4MB 250.1 ... 247.0\n",
" geopotential (time, batch, level, lat, lon) float32 54MB 1.98...\n",
" mean_sea_level_pressure (time, batch, lat, lon) float32 4MB 9.978e+04 .....\n",
" specific_humidity (time, batch, level, lat, lon) float32 54MB 2.90...\n",
" temperature (time, batch, level, lat, lon) float32 54MB 237....\n",
" total_precipitation_6hr (time, batch, lat, lon) float32 4MB -0.003528 .....\n",
" u_component_of_wind (time, batch, level, lat, lon) float32 54MB 1.42...\n",
" v_component_of_wind (time, batch, level, lat, lon) float32 54MB -3.2...\n",
" vertical_velocity (time, batch, level, lat, lon) float32 54MB -0.0...<xarray.Dataset> Size: 345MB\n",
"Dimensions: (time: 1, batch: 1, lat: 721, lon: 1440, level: 13)\n",
"Coordinates:\n",
" * time (time) timedelta64[ns] 8B 06:00:00\n",
" * lon (lon) float32 6kB 0.0 0.25 0.5 ... 359.5 359.8\n",
" * lat (lat) float32 3kB -90.0 -89.75 -89.5 ... 89.75 90.0\n",
" * level (level) int32 52B 50 100 150 200 ... 850 925 1000\n",
"Dimensions without coordinates: batch\n",
"Data variables:\n",
" 10m_u_component_of_wind (time, batch, lat, lon) float32 4MB xarray_jax.J...\n",
" 10m_v_component_of_wind (time, batch, lat, lon) float32 4MB xarray_jax.J...\n",
" 2m_temperature (time, batch, lat, lon) float32 4MB xarray_jax.J...\n",
" geopotential (time, batch, level, lat, lon) float32 54MB xarr...\n",
" mean_sea_level_pressure (time, batch, lat, lon) float32 4MB xarray_jax.J...\n",
" specific_humidity (time, batch, level, lat, lon) float32 54MB xarr...\n",
" temperature (time, batch, level, lat, lon) float32 54MB xarr...\n",
" total_precipitation_6hr (time, batch, lat, lon) float32 4MB xarray_jax.J...\n",
" u_component_of_wind (time, batch, level, lat, lon) float32 54MB xarr...\n",
" v_component_of_wind (time, batch, level, lat, lon) float32 54MB xarr...\n",
" vertical_velocity (time, batch, level, lat, lon) float32 54MB xarr...