{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "c6654f9c",
   "metadata": {},
   "outputs": [],
   "source": [
    "#conda create -n cptec python=3.10\n",
    "\n",
    "#conda activate cptec\n",
    "#conda install -c conda-forge xarray matplotlib pycurl cfgrib netcdf4 pynio xarray matplotlib pycurl cfgrib netcdf4 pynio dask ipywidgets scipy mpi4py esmpy\n",
    "\n",
    "#conda install -c anaconda ipykernel\n",
    "\n",
    "# Instalar o pacote wesmf\n",
    "#conda install -c conda-forge xesmf\n",
    "#pip install jupyter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "c1b51b57",
   "metadata": {},
   "outputs": [],
   "source": [
    "import cptecmodel.CPTEC_ETA as ETA\n",
    "import cptecmodel.CPTEC_WRF as WRF\n",
    "import cptecmodel.CPTEC_BAM as BAM\n",
    "# Adicionar o Pacote UTIL\n",
    "import cptecmodel.CPTEC_UTIL as cpt\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "b3d63701",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "#### Regional (ams_08km) #####\n",
      "\n",
      "Forecast data available for reading between 20230110 and 20230120.\n",
      "\n",
      "Surface variables: t2m, u10m, v10m, slp, psfc, precip\n",
      "                   terrain, sbcape, sbcin, pw.\n",
      "Level variables:   t, u, v, rh, g, omega.\n",
      "\n",
      "levels (hPa): 1020 1000 950 925 900 850 800 750 700 650 600 \n",
      "                 550 500 450 400 350 300 250 200 150 100 50.\n",
      "\n",
      "Frequency: hourly frequency [0,1,2,...,22,23].\n",
      "\n",
      "\n",
      "#### US National Weather Service - NCEP (WMC) (ams_07km) #####\n",
      "\n",
      "Forecast data available for reading between 20230110 and 20230120.\n",
      "\n",
      "Surface variables: t2m, u10m, v10m, slp, psfc, precip\n",
      "                   terrain, sbcape, sbcin, pw.\n",
      "Level variables:   t, u, v, rh, g, omega.\n",
      "\n",
      "levels (hPa): 1000 975 950 925 900 875 850 825 800 775 750 700 650\n",
      "              600 550 500 450 400 350 300 250 200 150 100 50.\n",
      "\n",
      "Frequency: hourly frequency [0,1,2,...,22,23].\n",
      "\n"
     ]
    }
   ],
   "source": [
    "# Inicializar os Modelos\n",
    "eta = ETA.model()\n",
    "wrf = WRF.model()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "45b0119d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on function regrid in module CPTEC_UTIL:\n",
      "\n",
      "regrid(source, target)\n",
      "    A função regrid muda a grade do arquivo fonte para a grade do arquivo destino\n",
      "    \n",
      "    Parametros\n",
      "    ------------------------------------------------------------------------------------------------------------       \n",
      "    source  : Xarray da grade fonte\n",
      "    target : Xarray da grade destino\n",
      "    ------------------------------------------------------------------------------------------------------------       \n",
      "    \n",
      "    regrid(source,target)\n",
      "    \n",
      "    ------------------------------------------------------------------------------------------------------------       \n",
      "    \n",
      "    Retorna um Xarray contendo com os dados do Fonte na grade de Destino\n",
      "    \n",
      "    ------------------------------------------------------------------------------------------------------------\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help(cpt.regrid)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "e2174c04",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Ler Dados do Eta\n",
    "data_eta = eta.load(date='2022111500', var='t2m', steps=3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "61f385d5",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
       "<defs>\n",
       "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
       "<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "</symbol>\n",
       "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
       "<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "</symbol>\n",
       "</defs>\n",
       "</svg>\n",
       "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
       " *\n",
       " */\n",
       "\n",
       ":root {\n",
       "  --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
       "  --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
       "  --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
       "  --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
       "  --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
       "  --xr-background-color: var(--jp-layout-color0, white);\n",
       "  --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
       "  --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
       "}\n",
       "\n",
       "html[theme=dark],\n",
       "body[data-theme=dark],\n",
       "body.vscode-dark {\n",
       "  --xr-font-color0: rgba(255, 255, 255, 1);\n",
       "  --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
       "  --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
       "  --xr-border-color: #1F1F1F;\n",
       "  --xr-disabled-color: #515151;\n",
       "  --xr-background-color: #111111;\n",
       "  --xr-background-color-row-even: #111111;\n",
       "  --xr-background-color-row-odd: #313131;\n",
       "}\n",
       "\n",
       ".xr-wrap {\n",
       "  display: block !important;\n",
       "  min-width: 300px;\n",
       "  max-width: 700px;\n",
       "}\n",
       "\n",
       ".xr-text-repr-fallback {\n",
       "  /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-header {\n",
       "  padding-top: 6px;\n",
       "  padding-bottom: 6px;\n",
       "  margin-bottom: 4px;\n",
       "  border-bottom: solid 1px var(--xr-border-color);\n",
       "}\n",
       "\n",
       ".xr-header > div,\n",
       ".xr-header > ul {\n",
       "  display: inline;\n",
       "  margin-top: 0;\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-obj-type,\n",
       ".xr-array-name {\n",
       "  margin-left: 2px;\n",
       "  margin-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-obj-type {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-sections {\n",
       "  padding-left: 0 !important;\n",
       "  display: grid;\n",
       "  grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
       "}\n",
       "\n",
       ".xr-section-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-section-item input {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-item input + label {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label {\n",
       "  cursor: pointer;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label:hover {\n",
       "  color: var(--xr-font-color0);\n",
       "}\n",
       "\n",
       ".xr-section-summary {\n",
       "  grid-column: 1;\n",
       "  color: var(--xr-font-color2);\n",
       "  font-weight: 500;\n",
       "}\n",
       "\n",
       ".xr-section-summary > span {\n",
       "  display: inline-block;\n",
       "  padding-left: 0.5em;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in + label:before {\n",
       "  display: inline-block;\n",
       "  content: '►';\n",
       "  font-size: 11px;\n",
       "  width: 15px;\n",
       "  text-align: center;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label:before {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label:before {\n",
       "  content: '▼';\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label > span {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-summary,\n",
       ".xr-section-inline-details {\n",
       "  padding-top: 4px;\n",
       "  padding-bottom: 4px;\n",
       "}\n",
       "\n",
       ".xr-section-inline-details {\n",
       "  grid-column: 2 / -1;\n",
       "}\n",
       "\n",
       ".xr-section-details {\n",
       "  display: none;\n",
       "  grid-column: 1 / -1;\n",
       "  margin-bottom: 5px;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked ~ .xr-section-details {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-array-wrap {\n",
       "  grid-column: 1 / -1;\n",
       "  display: grid;\n",
       "  grid-template-columns: 20px auto;\n",
       "}\n",
       "\n",
       ".xr-array-wrap > label {\n",
       "  grid-column: 1;\n",
       "  vertical-align: top;\n",
       "}\n",
       "\n",
       ".xr-preview {\n",
       "  color: var(--xr-font-color3);\n",
       "}\n",
       "\n",
       ".xr-array-preview,\n",
       ".xr-array-data {\n",
       "  padding: 0 5px !important;\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-array-data,\n",
       ".xr-array-in:checked ~ .xr-array-preview {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-array-in:checked ~ .xr-array-data,\n",
       ".xr-array-preview {\n",
       "  display: inline-block;\n",
       "}\n",
       "\n",
       ".xr-dim-list {\n",
       "  display: inline-block !important;\n",
       "  list-style: none;\n",
       "  padding: 0 !important;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list li {\n",
       "  display: inline-block;\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list:before {\n",
       "  content: '(';\n",
       "}\n",
       "\n",
       ".xr-dim-list:after {\n",
       "  content: ')';\n",
       "}\n",
       "\n",
       ".xr-dim-list li:not(:last-child):after {\n",
       "  content: ',';\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-has-index {\n",
       "  font-weight: bold;\n",
       "}\n",
       "\n",
       ".xr-var-list,\n",
       ".xr-var-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-var-item > div,\n",
       ".xr-var-item label,\n",
       ".xr-var-item > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-even);\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-var-item > .xr-var-name:hover span {\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-var-list > li:nth-child(odd) > div,\n",
       ".xr-var-list > li:nth-child(odd) > label,\n",
       ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-odd);\n",
       "}\n",
       "\n",
       ".xr-var-name {\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-var-dims {\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-var-dtype {\n",
       "  grid-column: 3;\n",
       "  text-align: right;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-preview {\n",
       "  grid-column: 4;\n",
       "}\n",
       "\n",
       ".xr-index-preview {\n",
       "  grid-column: 2 / 5;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-name,\n",
       ".xr-var-dims,\n",
       ".xr-var-dtype,\n",
       ".xr-preview,\n",
       ".xr-attrs dt {\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-var-name:hover,\n",
       ".xr-var-dims:hover,\n",
       ".xr-var-dtype:hover,\n",
       ".xr-attrs dt:hover {\n",
       "  overflow: visible;\n",
       "  width: auto;\n",
       "  z-index: 1;\n",
       "}\n",
       "\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  display: none;\n",
       "  background-color: var(--xr-background-color) !important;\n",
       "  padding-bottom: 5px !important;\n",
       "}\n",
       "\n",
       ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
       ".xr-var-data-in:checked ~ .xr-var-data,\n",
       ".xr-index-data-in:checked ~ .xr-index-data {\n",
       "  display: block;\n",
       "}\n",
       "\n",
       ".xr-var-data > table {\n",
       "  float: right;\n",
       "}\n",
       "\n",
       ".xr-var-name span,\n",
       ".xr-var-data,\n",
       ".xr-index-name div,\n",
       ".xr-index-data,\n",
       ".xr-attrs {\n",
       "  padding-left: 25px !important;\n",
       "}\n",
       "\n",
       ".xr-attrs,\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  grid-column: 1 / -1;\n",
       "}\n",
       "\n",
       "dl.xr-attrs {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  display: grid;\n",
       "  grid-template-columns: 125px auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt,\n",
       ".xr-attrs dd {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  float: left;\n",
       "  padding-right: 10px;\n",
       "  width: auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt {\n",
       "  font-weight: normal;\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-attrs dt:hover span {\n",
       "  display: inline-block;\n",
       "  background: var(--xr-background-color);\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-attrs dd {\n",
       "  grid-column: 2;\n",
       "  white-space: pre-wrap;\n",
       "  word-break: break-all;\n",
       "}\n",
       "\n",
       ".xr-icon-database,\n",
       ".xr-icon-file-text2,\n",
       ".xr-no-icon {\n",
       "  display: inline-block;\n",
       "  vertical-align: middle;\n",
       "  width: 1em;\n",
       "  height: 1.5em !important;\n",
       "  stroke-width: 0;\n",
       "  stroke: currentColor;\n",
       "  fill: currentColor;\n",
       "}\n",
       "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
       "Dimensions:    (time: 4, latitude: 931, longitude: 875)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -55.0 -54.92 -54.84 ... 19.24 19.32 19.4\n",
       "  * longitude  (longitude) float64 270.0 270.1 270.2 270.2 ... 339.8 339.8 339.9\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 5.288 5.288 ... 24.99 25.01\n",
       "Attributes:\n",
       "    center:   National Institute for Space Research - INPE\n",
       "    model:    Eta Regional (ams_08km)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-9f5cc958-42ef-4fef-b50b-351b19ef70f7' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-9f5cc958-42ef-4fef-b50b-351b19ef70f7' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 4</li><li><span class='xr-has-index'>latitude</span>: 931</li><li><span class='xr-has-index'>longitude</span>: 875</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-2d473b6a-ee5f-4cf8-9cee-08363e182230' class='xr-section-summary-in' type='checkbox'  checked><label for='section-2d473b6a-ee5f-4cf8-9cee-08363e182230' class='xr-section-summary' >Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>datetime64[ns]</div><div class='xr-var-preview xr-preview'>2022-11-15 ... 2022-11-15T03:00:00</div><input id='attrs-0c53acd0-66b1-4a94-af6c-9b8e12cc290c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0c53acd0-66b1-4a94-af6c-9b8e12cc290c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-03402b98-e8e5-4b96-a126-88b1c5e375ee' class='xr-var-data-in' type='checkbox'><label for='data-03402b98-e8e5-4b96-a126-88b1c5e375ee' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([&#x27;2022-11-15T00:00:00.000000000&#x27;, &#x27;2022-11-15T01:00:00.000000000&#x27;,\n",
       "       &#x27;2022-11-15T02:00:00.000000000&#x27;, &#x27;2022-11-15T03:00:00.000000000&#x27;],\n",
       "      dtype=&#x27;datetime64[ns]&#x27;)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-55.0 -54.92 -54.84 ... 19.32 19.4</div><input id='attrs-4c78e4ed-5a5f-422a-87bb-5cb5fca8a023' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-4c78e4ed-5a5f-422a-87bb-5cb5fca8a023' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-aec1491a-c602-4f89-bf73-7aa951691bf8' class='xr-var-data-in' type='checkbox'><label for='data-aec1491a-c602-4f89-bf73-7aa951691bf8' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_north</dd><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>long_name :</span></dt><dd>latitude</dd></dl></div><div class='xr-var-data'><pre>array([-55.  , -54.92, -54.84, ...,  19.24,  19.32,  19.4 ])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>270.0 270.1 270.2 ... 339.8 339.9</div><input id='attrs-5ef81ca0-d186-4784-85a3-b400b7769d2d' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-5ef81ca0-d186-4784-85a3-b400b7769d2d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d6afbd99-bc7c-4f16-bce1-c6af6b8f7016' class='xr-var-data-in' type='checkbox'><label for='data-d6afbd99-bc7c-4f16-bce1-c6af6b8f7016' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_east</dd><dt><span>standard_name :</span></dt><dd>longitude</dd><dt><span>long_name :</span></dt><dd>longitude</dd></dl></div><div class='xr-var-data'><pre>array([270.  , 270.08, 270.16, ..., 339.76, 339.84, 339.92])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-cb447a62-0a6a-4124-9d1e-80462b4f9728' class='xr-section-summary-in' type='checkbox'  checked><label for='section-cb447a62-0a6a-4124-9d1e-80462b4f9728' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t2m</span></div><div class='xr-var-dims'>(time, latitude, longitude)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>5.288 5.288 5.273 ... 24.99 25.01</div><input id='attrs-3015a066-e739-4689-bf8b-16d4cc338f9b' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-3015a066-e739-4689-bf8b-16d4cc338f9b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-00fa14d3-fd59-438b-99e2-e1acd5f4fe55' class='xr-var-data-in' type='checkbox'><label for='data-00fa14d3-fd59-438b-99e2-e1acd5f4fe55' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>C</dd></dl></div><div class='xr-var-data'><pre>array([[[ 5.288391  ,  5.288391  ,  5.272766  , ...,  0.17901611,\n",
       "          0.21026611,  0.24151611],\n",
       "        [ 5.304016  ,  5.304016  ,  5.288391  , ...,  0.2571411 ,\n",
       "          0.2727661 ,  0.3040161 ],\n",
       "        [ 5.319641  ,  5.319641  ,  5.304016  , ...,  0.3196411 ,\n",
       "          0.3352661 ,  0.3508911 ],\n",
       "        ...,\n",
       "        [26.725891  , 26.741516  , 26.569641  , ..., 25.007141  ,\n",
       "         25.022766  , 25.054016  ],\n",
       "        [27.007141  , 26.913391  , 26.788391  , ..., 24.991516  ,\n",
       "         25.007141  , 25.022766  ],\n",
       "        [27.210266  , 27.132141  , 27.054016  , ..., 24.975891  ,\n",
       "         24.991516  , 25.007141  ]],\n",
       "\n",
       "       [[ 5.294586  ,  5.278961  ,  5.278961  , ...,  0.18521118,\n",
       "          0.21646118,  0.23208618],\n",
       "        [ 5.310211  ,  5.294586  ,  5.294586  , ...,  0.24771118,\n",
       "          0.26333618,  0.31021118],\n",
       "        [ 5.325836  ,  5.310211  ,  5.310211  , ...,  0.31021118,\n",
       "          0.32583618,  0.35708618],\n",
       "...\n",
       "        [21.865662  , 21.693787  , 20.771912  , ..., 25.006287  ,\n",
       "         25.021912  , 25.053162  ],\n",
       "        [21.943787  , 22.225037  , 21.115662  , ..., 24.990662  ,\n",
       "         25.006287  , 25.037537  ],\n",
       "        [22.287537  , 22.287537  , 22.115662  , ..., 24.975037  ,\n",
       "         24.990662  , 25.006287  ]],\n",
       "\n",
       "       [[ 5.2914124 ,  5.2914124 ,  5.2757874 , ...,  0.18203735,\n",
       "          0.21328735,  0.24453735],\n",
       "        [ 5.3070374 ,  5.2914124 ,  5.2914124 , ...,  0.26016235,\n",
       "          0.27578735,  0.30703735],\n",
       "        [ 5.3226624 ,  5.3070374 ,  5.3070374 , ...,  0.30703735,\n",
       "          0.32266235,  0.35391235],\n",
       "        ...,\n",
       "        [21.244537  , 19.994537  , 17.947662  , ..., 24.994537  ,\n",
       "         25.025787  , 25.057037  ],\n",
       "        [21.369537  , 21.041412  , 18.228912  , ..., 24.978912  ,\n",
       "         25.010162  , 25.025787  ],\n",
       "        [21.619537  , 21.400787  , 20.463287  , ..., 24.978912  ,\n",
       "         24.994537  , 25.010162  ]]], dtype=float32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-3c65cf70-f359-4b09-a0d7-d85d15a434f5' class='xr-section-summary-in' type='checkbox'  ><label for='section-3c65cf70-f359-4b09-a0d7-d85d15a434f5' class='xr-section-summary' >Indexes: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-6a7df90b-a23e-4451-88a1-40aacfdce207' class='xr-index-data-in' type='checkbox'/><label for='index-6a7df90b-a23e-4451-88a1-40aacfdce207' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(DatetimeIndex([&#x27;2022-11-15 00:00:00&#x27;, &#x27;2022-11-15 01:00:00&#x27;,\n",
       "               &#x27;2022-11-15 02:00:00&#x27;, &#x27;2022-11-15 03:00:00&#x27;],\n",
       "              dtype=&#x27;datetime64[ns]&#x27;, name=&#x27;time&#x27;, freq=&#x27;H&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>latitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-3800c051-516a-476a-ba95-4381349f9700' class='xr-index-data-in' type='checkbox'/><label for='index-3800c051-516a-476a-ba95-4381349f9700' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([              -55.0,              -54.92,              -54.84,\n",
       "              -54.760000000000005,  -54.68000000000001,  -54.60000000000001,\n",
       "               -54.52000000000001,  -54.44000000000001, -54.360000000000014,\n",
       "              -54.280000000000015,\n",
       "              ...\n",
       "               18.679999999999136,  18.759999999999135,  18.839999999999133,\n",
       "                18.91999999999913,   18.99999999999913,  19.079999999999128,\n",
       "               19.159999999999126,  19.239999999999124,  19.319999999999123,\n",
       "                19.39999999999912],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;latitude&#x27;, length=931))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>longitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-c0e5c08d-1d04-402b-8632-b798c539ae41' class='xr-index-data-in' type='checkbox'/><label for='index-c0e5c08d-1d04-402b-8632-b798c539ae41' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([             270.0,             270.08, 270.15999999999997,\n",
       "              270.23999999999995, 270.31999999999994,  270.3999999999999,\n",
       "               270.4799999999999,  270.5599999999999,  270.6399999999999,\n",
       "              270.71999999999986,\n",
       "              ...\n",
       "              339.19999999998623,  339.2799999999862,  339.3599999999862,\n",
       "               339.4399999999862, 339.51999999998617, 339.59999999998615,\n",
       "              339.67999999998614,  339.7599999999861,  339.8399999999861,\n",
       "               339.9199999999861],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;longitude&#x27;, length=875))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-3abed459-a005-4e99-9e2d-3bb8abd8f5d3' class='xr-section-summary-in' type='checkbox'  checked><label for='section-3abed459-a005-4e99-9e2d-3bb8abd8f5d3' class='xr-section-summary' >Attributes: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>center :</span></dt><dd>National Institute for Space Research - INPE</dd><dt><span>model :</span></dt><dd>Eta Regional (ams_08km)</dd></dl></div></li></ul></div></div>"
      ],
      "text/plain": [
       "<xarray.Dataset>\n",
       "Dimensions:    (time: 4, latitude: 931, longitude: 875)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -55.0 -54.92 -54.84 ... 19.24 19.32 19.4\n",
       "  * longitude  (longitude) float64 270.0 270.1 270.2 270.2 ... 339.8 339.8 339.9\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 5.288 5.288 ... 24.99 25.01\n",
       "Attributes:\n",
       "    center:   National Institute for Space Research - INPE\n",
       "    model:    Eta Regional (ams_08km)"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data_eta"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "c80d5128",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Ler dados do WRF\n",
    "data_wrf = wrf.load(date='2022111500', var='t2m', steps=3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "6671029e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
       "<defs>\n",
       "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
       "<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "</symbol>\n",
       "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
       "<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "</symbol>\n",
       "</defs>\n",
       "</svg>\n",
       "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
       " *\n",
       " */\n",
       "\n",
       ":root {\n",
       "  --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
       "  --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
       "  --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
       "  --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
       "  --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
       "  --xr-background-color: var(--jp-layout-color0, white);\n",
       "  --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
       "  --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
       "}\n",
       "\n",
       "html[theme=dark],\n",
       "body[data-theme=dark],\n",
       "body.vscode-dark {\n",
       "  --xr-font-color0: rgba(255, 255, 255, 1);\n",
       "  --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
       "  --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
       "  --xr-border-color: #1F1F1F;\n",
       "  --xr-disabled-color: #515151;\n",
       "  --xr-background-color: #111111;\n",
       "  --xr-background-color-row-even: #111111;\n",
       "  --xr-background-color-row-odd: #313131;\n",
       "}\n",
       "\n",
       ".xr-wrap {\n",
       "  display: block !important;\n",
       "  min-width: 300px;\n",
       "  max-width: 700px;\n",
       "}\n",
       "\n",
       ".xr-text-repr-fallback {\n",
       "  /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-header {\n",
       "  padding-top: 6px;\n",
       "  padding-bottom: 6px;\n",
       "  margin-bottom: 4px;\n",
       "  border-bottom: solid 1px var(--xr-border-color);\n",
       "}\n",
       "\n",
       ".xr-header > div,\n",
       ".xr-header > ul {\n",
       "  display: inline;\n",
       "  margin-top: 0;\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-obj-type,\n",
       ".xr-array-name {\n",
       "  margin-left: 2px;\n",
       "  margin-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-obj-type {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-sections {\n",
       "  padding-left: 0 !important;\n",
       "  display: grid;\n",
       "  grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
       "}\n",
       "\n",
       ".xr-section-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-section-item input {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-item input + label {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label {\n",
       "  cursor: pointer;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label:hover {\n",
       "  color: var(--xr-font-color0);\n",
       "}\n",
       "\n",
       ".xr-section-summary {\n",
       "  grid-column: 1;\n",
       "  color: var(--xr-font-color2);\n",
       "  font-weight: 500;\n",
       "}\n",
       "\n",
       ".xr-section-summary > span {\n",
       "  display: inline-block;\n",
       "  padding-left: 0.5em;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in + label:before {\n",
       "  display: inline-block;\n",
       "  content: '►';\n",
       "  font-size: 11px;\n",
       "  width: 15px;\n",
       "  text-align: center;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label:before {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label:before {\n",
       "  content: '▼';\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label > span {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-summary,\n",
       ".xr-section-inline-details {\n",
       "  padding-top: 4px;\n",
       "  padding-bottom: 4px;\n",
       "}\n",
       "\n",
       ".xr-section-inline-details {\n",
       "  grid-column: 2 / -1;\n",
       "}\n",
       "\n",
       ".xr-section-details {\n",
       "  display: none;\n",
       "  grid-column: 1 / -1;\n",
       "  margin-bottom: 5px;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked ~ .xr-section-details {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-array-wrap {\n",
       "  grid-column: 1 / -1;\n",
       "  display: grid;\n",
       "  grid-template-columns: 20px auto;\n",
       "}\n",
       "\n",
       ".xr-array-wrap > label {\n",
       "  grid-column: 1;\n",
       "  vertical-align: top;\n",
       "}\n",
       "\n",
       ".xr-preview {\n",
       "  color: var(--xr-font-color3);\n",
       "}\n",
       "\n",
       ".xr-array-preview,\n",
       ".xr-array-data {\n",
       "  padding: 0 5px !important;\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-array-data,\n",
       ".xr-array-in:checked ~ .xr-array-preview {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-array-in:checked ~ .xr-array-data,\n",
       ".xr-array-preview {\n",
       "  display: inline-block;\n",
       "}\n",
       "\n",
       ".xr-dim-list {\n",
       "  display: inline-block !important;\n",
       "  list-style: none;\n",
       "  padding: 0 !important;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list li {\n",
       "  display: inline-block;\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list:before {\n",
       "  content: '(';\n",
       "}\n",
       "\n",
       ".xr-dim-list:after {\n",
       "  content: ')';\n",
       "}\n",
       "\n",
       ".xr-dim-list li:not(:last-child):after {\n",
       "  content: ',';\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-has-index {\n",
       "  font-weight: bold;\n",
       "}\n",
       "\n",
       ".xr-var-list,\n",
       ".xr-var-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-var-item > div,\n",
       ".xr-var-item label,\n",
       ".xr-var-item > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-even);\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-var-item > .xr-var-name:hover span {\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-var-list > li:nth-child(odd) > div,\n",
       ".xr-var-list > li:nth-child(odd) > label,\n",
       ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-odd);\n",
       "}\n",
       "\n",
       ".xr-var-name {\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-var-dims {\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-var-dtype {\n",
       "  grid-column: 3;\n",
       "  text-align: right;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-preview {\n",
       "  grid-column: 4;\n",
       "}\n",
       "\n",
       ".xr-index-preview {\n",
       "  grid-column: 2 / 5;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-name,\n",
       ".xr-var-dims,\n",
       ".xr-var-dtype,\n",
       ".xr-preview,\n",
       ".xr-attrs dt {\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-var-name:hover,\n",
       ".xr-var-dims:hover,\n",
       ".xr-var-dtype:hover,\n",
       ".xr-attrs dt:hover {\n",
       "  overflow: visible;\n",
       "  width: auto;\n",
       "  z-index: 1;\n",
       "}\n",
       "\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  display: none;\n",
       "  background-color: var(--xr-background-color) !important;\n",
       "  padding-bottom: 5px !important;\n",
       "}\n",
       "\n",
       ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
       ".xr-var-data-in:checked ~ .xr-var-data,\n",
       ".xr-index-data-in:checked ~ .xr-index-data {\n",
       "  display: block;\n",
       "}\n",
       "\n",
       ".xr-var-data > table {\n",
       "  float: right;\n",
       "}\n",
       "\n",
       ".xr-var-name span,\n",
       ".xr-var-data,\n",
       ".xr-index-name div,\n",
       ".xr-index-data,\n",
       ".xr-attrs {\n",
       "  padding-left: 25px !important;\n",
       "}\n",
       "\n",
       ".xr-attrs,\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  grid-column: 1 / -1;\n",
       "}\n",
       "\n",
       "dl.xr-attrs {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  display: grid;\n",
       "  grid-template-columns: 125px auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt,\n",
       ".xr-attrs dd {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  float: left;\n",
       "  padding-right: 10px;\n",
       "  width: auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt {\n",
       "  font-weight: normal;\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-attrs dt:hover span {\n",
       "  display: inline-block;\n",
       "  background: var(--xr-background-color);\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-attrs dd {\n",
       "  grid-column: 2;\n",
       "  white-space: pre-wrap;\n",
       "  word-break: break-all;\n",
       "}\n",
       "\n",
       ".xr-icon-database,\n",
       ".xr-icon-file-text2,\n",
       ".xr-no-icon {\n",
       "  display: inline-block;\n",
       "  vertical-align: middle;\n",
       "  width: 1em;\n",
       "  height: 1.5em !important;\n",
       "  stroke-width: 0;\n",
       "  stroke: currentColor;\n",
       "  fill: currentColor;\n",
       "}\n",
       "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
       "Dimensions:    (time: 4, latitude: 1081, longitude: 1019)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -57.9 -57.83 -57.76 ... 17.56 17.63 17.7\n",
       "  * longitude  (longitude) float64 269.3 269.4 269.5 269.5 ... 340.4 340.5 340.6\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 4.065 4.085 ... 25.82 25.86\n",
       "Attributes:\n",
       "    center:   National Institute for Space Research - INPE\n",
       "    model:    The Weather Research and Forecasting (ams_07km)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-67346ff6-52d6-438d-b427-a52d8ee6b51e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-67346ff6-52d6-438d-b427-a52d8ee6b51e' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 4</li><li><span class='xr-has-index'>latitude</span>: 1081</li><li><span class='xr-has-index'>longitude</span>: 1019</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-eb699f1f-1195-48f4-861b-59b9ad3a03c1' class='xr-section-summary-in' type='checkbox'  checked><label for='section-eb699f1f-1195-48f4-861b-59b9ad3a03c1' class='xr-section-summary' >Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>datetime64[ns]</div><div class='xr-var-preview xr-preview'>2022-11-15 ... 2022-11-15T03:00:00</div><input id='attrs-8c07a4e6-6f76-45b3-83eb-6990f3019e7f' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8c07a4e6-6f76-45b3-83eb-6990f3019e7f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e8fef01b-5ccf-4c8d-9b7f-eba63cbd4e89' class='xr-var-data-in' type='checkbox'><label for='data-e8fef01b-5ccf-4c8d-9b7f-eba63cbd4e89' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([&#x27;2022-11-15T00:00:00.000000000&#x27;, &#x27;2022-11-15T01:00:00.000000000&#x27;,\n",
       "       &#x27;2022-11-15T02:00:00.000000000&#x27;, &#x27;2022-11-15T03:00:00.000000000&#x27;],\n",
       "      dtype=&#x27;datetime64[ns]&#x27;)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-57.9 -57.83 -57.76 ... 17.63 17.7</div><input id='attrs-9d716a1c-d384-43c2-9339-0c31577cf8ba' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9d716a1c-d384-43c2-9339-0c31577cf8ba' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7645ff15-5c09-4951-bb4f-1d803421c096' class='xr-var-data-in' type='checkbox'><label for='data-7645ff15-5c09-4951-bb4f-1d803421c096' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_north</dd><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>long_name :</span></dt><dd>latitude</dd></dl></div><div class='xr-var-data'><pre>array([-57.90137, -57.83137, -57.76137, ...,  17.55863,  17.62863,  17.69863])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>269.3 269.4 269.5 ... 340.5 340.6</div><input id='attrs-ef3af37d-0af6-4692-a3d9-7fd36421266a' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-ef3af37d-0af6-4692-a3d9-7fd36421266a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ce213ad0-240f-48ff-be66-1c8d1905c476' class='xr-var-data-in' type='checkbox'><label for='data-ce213ad0-240f-48ff-be66-1c8d1905c476' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_east</dd><dt><span>standard_name :</span></dt><dd>longitude</dd><dt><span>long_name :</span></dt><dd>longitude</dd></dl></div><div class='xr-var-data'><pre>array([269.32605, 269.39605, 269.46605, ..., 340.44605, 340.51605, 340.58605])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-fcbd5381-52f7-4c2a-8a46-b1957ba1d87f' class='xr-section-summary-in' type='checkbox'  checked><label for='section-fcbd5381-52f7-4c2a-8a46-b1957ba1d87f' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t2m</span></div><div class='xr-var-dims'>(time, latitude, longitude)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>4.065 4.085 4.115 ... 25.82 25.86</div><input id='attrs-7273bae3-82e3-4687-b04e-a096ef936161' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7273bae3-82e3-4687-b04e-a096ef936161' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a99fd132-d3c1-4e23-8fda-46a3269b0961' class='xr-var-data-in' type='checkbox'><label for='data-a99fd132-d3c1-4e23-8fda-46a3269b0961' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>C</dd></dl></div><div class='xr-var-data'><pre>array([[[ 4.0649414,  4.0849304,  4.114929 , ..., -1.5250854,\n",
       "         -1.5250854, -1.5050659],\n",
       "        [ 4.0749207,  4.1049194,  4.144928 , ..., -1.4850769,\n",
       "         -1.4850769, -1.4750671],\n",
       "        [ 4.1049194,  4.144928 ,  4.164917 , ..., -1.4250793,\n",
       "         -1.4250793, -1.4250793],\n",
       "        ...,\n",
       "        [24.464935 , 24.384918 , 24.32492  , ..., 25.83493  ,\n",
       "         25.86493  , 25.934937 ],\n",
       "        [24.424927 , 24.36493  , 24.294922 , ..., 25.804932 ,\n",
       "         25.83493  , 25.894928 ],\n",
       "        [24.444916 , 24.404938 , 24.32492  , ..., 25.764923 ,\n",
       "         25.814941 , 25.86493  ]],\n",
       "\n",
       "       [[ 4.060272 ,  4.090271 ,  4.11026  , ..., -1.5197449,\n",
       "         -1.5197449, -1.5097351],\n",
       "        [ 4.0702515,  4.11026  ,  4.140259 , ..., -1.4797363,\n",
       "         -1.4797363, -1.4797363],\n",
       "        [ 4.11026  ,  4.140259 ,  4.1702576, ..., -1.4197388,\n",
       "         -1.4197388, -1.4197388],\n",
       "...\n",
       "        [21.712433 , 21.742432 , 21.832428 , ..., 25.832428 ,\n",
       "         25.862427 , 25.932434 ],\n",
       "        [21.722443 , 21.422424 , 21.79242  , ..., 25.80243  ,\n",
       "         25.832428 , 25.892426 ],\n",
       "        [21.312439 , 21.232422 , 21.632416 , ..., 25.77243  ,\n",
       "         25.812439 , 25.862427 ]],\n",
       "\n",
       "       [[ 4.057617 ,  4.087616 ,  4.107605 , ..., -1.5223999,\n",
       "         -1.5223999, -1.5123901],\n",
       "        [ 4.077606 ,  4.107605 ,  4.1476135, ..., -1.4823914,\n",
       "         -1.4823914, -1.4723816],\n",
       "        [ 4.107605 ,  4.1376038,  4.1676025, ..., -1.4223938,\n",
       "         -1.4223938, -1.4223938],\n",
       "        ...,\n",
       "        [21.657593 , 21.357605 , 21.547607 , ..., 25.827606 ,\n",
       "         25.867615 , 25.937592 ],\n",
       "        [21.757599 , 21.097595 , 21.437592 , ..., 25.797607 ,\n",
       "         25.837616 , 25.897614 ],\n",
       "        [21.547607 , 20.99759  , 21.147614 , ..., 25.767609 ,\n",
       "         25.817596 , 25.857605 ]]], dtype=float32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-8ec92e2e-247b-44d4-bc9c-80f05a279855' class='xr-section-summary-in' type='checkbox'  ><label for='section-8ec92e2e-247b-44d4-bc9c-80f05a279855' class='xr-section-summary' >Indexes: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-eaaffcc7-bec5-4d8d-8470-dbab6922146d' class='xr-index-data-in' type='checkbox'/><label for='index-eaaffcc7-bec5-4d8d-8470-dbab6922146d' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(DatetimeIndex([&#x27;2022-11-15 00:00:00&#x27;, &#x27;2022-11-15 01:00:00&#x27;,\n",
       "               &#x27;2022-11-15 02:00:00&#x27;, &#x27;2022-11-15 03:00:00&#x27;],\n",
       "              dtype=&#x27;datetime64[ns]&#x27;, name=&#x27;time&#x27;, freq=&#x27;H&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>latitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-dc6509b0-94d3-47df-9933-28c75360ab6a' class='xr-index-data-in' type='checkbox'/><label for='index-dc6509b0-94d3-47df-9933-28c75360ab6a' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([         -57.90137,          -57.83137,          -57.76137,\n",
       "                       -57.69137,          -57.62137,          -57.55137,\n",
       "                       -57.48137,          -57.41137,          -57.34137,\n",
       "                       -57.27137,\n",
       "              ...\n",
       "              17.068630000000265, 17.138630000000266, 17.208630000000266,\n",
       "              17.278630000000266, 17.348630000000266, 17.418630000000267,\n",
       "              17.488630000000267, 17.558630000000267, 17.628630000000268,\n",
       "              17.698630000000268],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;latitude&#x27;, length=1081))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>longitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-4c0ca782-b4ed-4b6d-9012-9d052dba3bff' class='xr-index-data-in' type='checkbox'/><label for='index-4c0ca782-b4ed-4b6d-9012-9d052dba3bff' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([         269.32605,          269.39605,          269.46605,\n",
       "                       269.53605,          269.60605,          269.67605,\n",
       "              269.74604999999997, 269.81604999999996, 269.88604999999995,\n",
       "              269.95604999999995,\n",
       "              ...\n",
       "               339.9560499999931,  340.0260499999931,  340.0960499999931,\n",
       "               340.1660499999931,  340.2360499999931,  340.3060499999931,\n",
       "               340.3760499999931,  340.4460499999931,  340.5160499999931,\n",
       "              340.58604999999307],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;longitude&#x27;, length=1019))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-e667b7c1-c7d5-490c-b329-3fe4bb226342' class='xr-section-summary-in' type='checkbox'  checked><label for='section-e667b7c1-c7d5-490c-b329-3fe4bb226342' class='xr-section-summary' >Attributes: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>center :</span></dt><dd>National Institute for Space Research - INPE</dd><dt><span>model :</span></dt><dd>The Weather Research and Forecasting (ams_07km)</dd></dl></div></li></ul></div></div>"
      ],
      "text/plain": [
       "<xarray.Dataset>\n",
       "Dimensions:    (time: 4, latitude: 1081, longitude: 1019)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -57.9 -57.83 -57.76 ... 17.56 17.63 17.7\n",
       "  * longitude  (longitude) float64 269.3 269.4 269.5 269.5 ... 340.4 340.5 340.6\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 4.065 4.085 ... 25.82 25.86\n",
       "Attributes:\n",
       "    center:   National Institute for Space Research - INPE\n",
       "    model:    The Weather Research and Forecasting (ams_07km)"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data_wrf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "15fc36ad",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Mudar a grade do Eta no padrao WRF \n",
    "out = cpt.regrid(data_eta, data_wrf)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "34e19064",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
       "<defs>\n",
       "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
       "<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "</symbol>\n",
       "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
       "<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "</symbol>\n",
       "</defs>\n",
       "</svg>\n",
       "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
       " *\n",
       " */\n",
       "\n",
       ":root {\n",
       "  --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
       "  --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
       "  --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
       "  --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
       "  --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
       "  --xr-background-color: var(--jp-layout-color0, white);\n",
       "  --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
       "  --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
       "}\n",
       "\n",
       "html[theme=dark],\n",
       "body[data-theme=dark],\n",
       "body.vscode-dark {\n",
       "  --xr-font-color0: rgba(255, 255, 255, 1);\n",
       "  --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
       "  --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
       "  --xr-border-color: #1F1F1F;\n",
       "  --xr-disabled-color: #515151;\n",
       "  --xr-background-color: #111111;\n",
       "  --xr-background-color-row-even: #111111;\n",
       "  --xr-background-color-row-odd: #313131;\n",
       "}\n",
       "\n",
       ".xr-wrap {\n",
       "  display: block !important;\n",
       "  min-width: 300px;\n",
       "  max-width: 700px;\n",
       "}\n",
       "\n",
       ".xr-text-repr-fallback {\n",
       "  /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-header {\n",
       "  padding-top: 6px;\n",
       "  padding-bottom: 6px;\n",
       "  margin-bottom: 4px;\n",
       "  border-bottom: solid 1px var(--xr-border-color);\n",
       "}\n",
       "\n",
       ".xr-header > div,\n",
       ".xr-header > ul {\n",
       "  display: inline;\n",
       "  margin-top: 0;\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-obj-type,\n",
       ".xr-array-name {\n",
       "  margin-left: 2px;\n",
       "  margin-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-obj-type {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-sections {\n",
       "  padding-left: 0 !important;\n",
       "  display: grid;\n",
       "  grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
       "}\n",
       "\n",
       ".xr-section-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-section-item input {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-item input + label {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label {\n",
       "  cursor: pointer;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label:hover {\n",
       "  color: var(--xr-font-color0);\n",
       "}\n",
       "\n",
       ".xr-section-summary {\n",
       "  grid-column: 1;\n",
       "  color: var(--xr-font-color2);\n",
       "  font-weight: 500;\n",
       "}\n",
       "\n",
       ".xr-section-summary > span {\n",
       "  display: inline-block;\n",
       "  padding-left: 0.5em;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in + label:before {\n",
       "  display: inline-block;\n",
       "  content: '►';\n",
       "  font-size: 11px;\n",
       "  width: 15px;\n",
       "  text-align: center;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label:before {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label:before {\n",
       "  content: '▼';\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label > span {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-summary,\n",
       ".xr-section-inline-details {\n",
       "  padding-top: 4px;\n",
       "  padding-bottom: 4px;\n",
       "}\n",
       "\n",
       ".xr-section-inline-details {\n",
       "  grid-column: 2 / -1;\n",
       "}\n",
       "\n",
       ".xr-section-details {\n",
       "  display: none;\n",
       "  grid-column: 1 / -1;\n",
       "  margin-bottom: 5px;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked ~ .xr-section-details {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-array-wrap {\n",
       "  grid-column: 1 / -1;\n",
       "  display: grid;\n",
       "  grid-template-columns: 20px auto;\n",
       "}\n",
       "\n",
       ".xr-array-wrap > label {\n",
       "  grid-column: 1;\n",
       "  vertical-align: top;\n",
       "}\n",
       "\n",
       ".xr-preview {\n",
       "  color: var(--xr-font-color3);\n",
       "}\n",
       "\n",
       ".xr-array-preview,\n",
       ".xr-array-data {\n",
       "  padding: 0 5px !important;\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-array-data,\n",
       ".xr-array-in:checked ~ .xr-array-preview {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-array-in:checked ~ .xr-array-data,\n",
       ".xr-array-preview {\n",
       "  display: inline-block;\n",
       "}\n",
       "\n",
       ".xr-dim-list {\n",
       "  display: inline-block !important;\n",
       "  list-style: none;\n",
       "  padding: 0 !important;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list li {\n",
       "  display: inline-block;\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list:before {\n",
       "  content: '(';\n",
       "}\n",
       "\n",
       ".xr-dim-list:after {\n",
       "  content: ')';\n",
       "}\n",
       "\n",
       ".xr-dim-list li:not(:last-child):after {\n",
       "  content: ',';\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-has-index {\n",
       "  font-weight: bold;\n",
       "}\n",
       "\n",
       ".xr-var-list,\n",
       ".xr-var-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-var-item > div,\n",
       ".xr-var-item label,\n",
       ".xr-var-item > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-even);\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-var-item > .xr-var-name:hover span {\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-var-list > li:nth-child(odd) > div,\n",
       ".xr-var-list > li:nth-child(odd) > label,\n",
       ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-odd);\n",
       "}\n",
       "\n",
       ".xr-var-name {\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-var-dims {\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-var-dtype {\n",
       "  grid-column: 3;\n",
       "  text-align: right;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-preview {\n",
       "  grid-column: 4;\n",
       "}\n",
       "\n",
       ".xr-index-preview {\n",
       "  grid-column: 2 / 5;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-name,\n",
       ".xr-var-dims,\n",
       ".xr-var-dtype,\n",
       ".xr-preview,\n",
       ".xr-attrs dt {\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-var-name:hover,\n",
       ".xr-var-dims:hover,\n",
       ".xr-var-dtype:hover,\n",
       ".xr-attrs dt:hover {\n",
       "  overflow: visible;\n",
       "  width: auto;\n",
       "  z-index: 1;\n",
       "}\n",
       "\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  display: none;\n",
       "  background-color: var(--xr-background-color) !important;\n",
       "  padding-bottom: 5px !important;\n",
       "}\n",
       "\n",
       ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
       ".xr-var-data-in:checked ~ .xr-var-data,\n",
       ".xr-index-data-in:checked ~ .xr-index-data {\n",
       "  display: block;\n",
       "}\n",
       "\n",
       ".xr-var-data > table {\n",
       "  float: right;\n",
       "}\n",
       "\n",
       ".xr-var-name span,\n",
       ".xr-var-data,\n",
       ".xr-index-name div,\n",
       ".xr-index-data,\n",
       ".xr-attrs {\n",
       "  padding-left: 25px !important;\n",
       "}\n",
       "\n",
       ".xr-attrs,\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  grid-column: 1 / -1;\n",
       "}\n",
       "\n",
       "dl.xr-attrs {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  display: grid;\n",
       "  grid-template-columns: 125px auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt,\n",
       ".xr-attrs dd {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  float: left;\n",
       "  padding-right: 10px;\n",
       "  width: auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt {\n",
       "  font-weight: normal;\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-attrs dt:hover span {\n",
       "  display: inline-block;\n",
       "  background: var(--xr-background-color);\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-attrs dd {\n",
       "  grid-column: 2;\n",
       "  white-space: pre-wrap;\n",
       "  word-break: break-all;\n",
       "}\n",
       "\n",
       ".xr-icon-database,\n",
       ".xr-icon-file-text2,\n",
       ".xr-no-icon {\n",
       "  display: inline-block;\n",
       "  vertical-align: middle;\n",
       "  width: 1em;\n",
       "  height: 1.5em !important;\n",
       "  stroke-width: 0;\n",
       "  stroke: currentColor;\n",
       "  fill: currentColor;\n",
       "}\n",
       "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
       "Dimensions:    (time: 4, latitude: 1081, longitude: 1019)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -57.9 -57.83 -57.76 ... 17.56 17.63 17.7\n",
       "  * longitude  (longitude) float64 269.3 269.4 269.5 269.5 ... 340.4 340.5 340.6\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 0.0 0.0 0.0 ... 0.0 0.0 0.0\n",
       "Attributes:\n",
       "    regrid_method:  bilinear</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-6601ea92-4a56-45de-ac09-db426bb29358' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-6601ea92-4a56-45de-ac09-db426bb29358' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 4</li><li><span class='xr-has-index'>latitude</span>: 1081</li><li><span class='xr-has-index'>longitude</span>: 1019</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-7cbb35e5-f656-4cb0-809c-61ec7f098c61' class='xr-section-summary-in' type='checkbox'  checked><label for='section-7cbb35e5-f656-4cb0-809c-61ec7f098c61' class='xr-section-summary' >Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>datetime64[ns]</div><div class='xr-var-preview xr-preview'>2022-11-15 ... 2022-11-15T03:00:00</div><input id='attrs-6ff80bb7-ead0-49c0-8dcc-a5a7fb163b0d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6ff80bb7-ead0-49c0-8dcc-a5a7fb163b0d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-26fc124f-e0b4-4455-af96-90c70fc7be89' class='xr-var-data-in' type='checkbox'><label for='data-26fc124f-e0b4-4455-af96-90c70fc7be89' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([&#x27;2022-11-15T00:00:00.000000000&#x27;, &#x27;2022-11-15T01:00:00.000000000&#x27;,\n",
       "       &#x27;2022-11-15T02:00:00.000000000&#x27;, &#x27;2022-11-15T03:00:00.000000000&#x27;],\n",
       "      dtype=&#x27;datetime64[ns]&#x27;)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-57.9 -57.83 -57.76 ... 17.63 17.7</div><input id='attrs-84e3d8e8-7ab6-4d1f-a419-9578b9f5e2e6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-84e3d8e8-7ab6-4d1f-a419-9578b9f5e2e6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f4ad984b-e1e0-4286-94f0-e09f42a4ae9e' class='xr-var-data-in' type='checkbox'><label for='data-f4ad984b-e1e0-4286-94f0-e09f42a4ae9e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([-57.90137, -57.83137, -57.76137, ...,  17.55863,  17.62863,  17.69863])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>269.3 269.4 269.5 ... 340.5 340.6</div><input id='attrs-ce1d782f-ec26-4522-8a3c-2861d0348714' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-ce1d782f-ec26-4522-8a3c-2861d0348714' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-09c7bf01-bb0c-4429-8ab6-ca78294aa35c' class='xr-var-data-in' type='checkbox'><label for='data-09c7bf01-bb0c-4429-8ab6-ca78294aa35c' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([269.32605, 269.39605, 269.46605, ..., 340.44605, 340.51605, 340.58605])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-db215952-9ad0-4897-be7d-346a15ba764d' class='xr-section-summary-in' type='checkbox'  checked><label for='section-db215952-9ad0-4897-be7d-346a15ba764d' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t2m</span></div><div class='xr-var-dims'>(time, latitude, longitude)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0</div><input id='attrs-474b7b71-468d-4dc3-b928-73e71ea72412' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-474b7b71-468d-4dc3-b928-73e71ea72412' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fd66d29c-3b1d-435b-8cfd-404d4f092a5f' class='xr-var-data-in' type='checkbox'><label for='data-fd66d29c-3b1d-435b-8cfd-404d4f092a5f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[[0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        ...,\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.]],\n",
       "\n",
       "       [[0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        ...,\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.]],\n",
       "\n",
       "       [[0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        ...,\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.]],\n",
       "\n",
       "       [[0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        ...,\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.],\n",
       "        [0., 0., 0., ..., 0., 0., 0.]]], dtype=float32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-f7f84732-bfdb-4c1a-b8bd-bc2d6d80bb90' class='xr-section-summary-in' type='checkbox'  ><label for='section-f7f84732-bfdb-4c1a-b8bd-bc2d6d80bb90' class='xr-section-summary' >Indexes: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-789e582f-2eac-496a-87fb-42b0b063ed5b' class='xr-index-data-in' type='checkbox'/><label for='index-789e582f-2eac-496a-87fb-42b0b063ed5b' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(DatetimeIndex([&#x27;2022-11-15 00:00:00&#x27;, &#x27;2022-11-15 01:00:00&#x27;,\n",
       "               &#x27;2022-11-15 02:00:00&#x27;, &#x27;2022-11-15 03:00:00&#x27;],\n",
       "              dtype=&#x27;datetime64[ns]&#x27;, name=&#x27;time&#x27;, freq=&#x27;H&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>latitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-98480317-3da4-4bc7-91e5-d84cd3ef3d3c' class='xr-index-data-in' type='checkbox'/><label for='index-98480317-3da4-4bc7-91e5-d84cd3ef3d3c' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([         -57.90137,          -57.83137,          -57.76137,\n",
       "                       -57.69137,          -57.62137,          -57.55137,\n",
       "                       -57.48137,          -57.41137,          -57.34137,\n",
       "                       -57.27137,\n",
       "              ...\n",
       "              17.068630000000265, 17.138630000000266, 17.208630000000266,\n",
       "              17.278630000000266, 17.348630000000266, 17.418630000000267,\n",
       "              17.488630000000267, 17.558630000000267, 17.628630000000268,\n",
       "              17.698630000000268],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;latitude&#x27;, length=1081))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>longitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-091cd829-dd47-499e-a95f-0460b706d971' class='xr-index-data-in' type='checkbox'/><label for='index-091cd829-dd47-499e-a95f-0460b706d971' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([         269.32605,          269.39605,          269.46605,\n",
       "                       269.53605,          269.60605,          269.67605,\n",
       "              269.74604999999997, 269.81604999999996, 269.88604999999995,\n",
       "              269.95604999999995,\n",
       "              ...\n",
       "               339.9560499999931,  340.0260499999931,  340.0960499999931,\n",
       "               340.1660499999931,  340.2360499999931,  340.3060499999931,\n",
       "               340.3760499999931,  340.4460499999931,  340.5160499999931,\n",
       "              340.58604999999307],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;longitude&#x27;, length=1019))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-1249ed29-ed64-4746-b2af-63b84bfc7ecf' class='xr-section-summary-in' type='checkbox'  checked><label for='section-1249ed29-ed64-4746-b2af-63b84bfc7ecf' class='xr-section-summary' >Attributes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>regrid_method :</span></dt><dd>bilinear</dd></dl></div></li></ul></div></div>"
      ],
      "text/plain": [
       "<xarray.Dataset>\n",
       "Dimensions:    (time: 4, latitude: 1081, longitude: 1019)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -57.9 -57.83 -57.76 ... 17.56 17.63 17.7\n",
       "  * longitude  (longitude) float64 269.3 269.4 269.5 269.5 ... 340.4 340.5 340.6\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 0.0 0.0 0.0 ... 0.0 0.0 0.0\n",
       "Attributes:\n",
       "    regrid_method:  bilinear"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "out"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "f53db79a",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Mudar a grade do WRF no padrao do Eta\n",
    "out2 = cpt.regrid(data_wrf, data_eta)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "d2c12606",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
       "<defs>\n",
       "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
       "<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
       "</symbol>\n",
       "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
       "<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
       "<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
       "</symbol>\n",
       "</defs>\n",
       "</svg>\n",
       "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
       " *\n",
       " */\n",
       "\n",
       ":root {\n",
       "  --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
       "  --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
       "  --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
       "  --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
       "  --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
       "  --xr-background-color: var(--jp-layout-color0, white);\n",
       "  --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
       "  --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
       "}\n",
       "\n",
       "html[theme=dark],\n",
       "body[data-theme=dark],\n",
       "body.vscode-dark {\n",
       "  --xr-font-color0: rgba(255, 255, 255, 1);\n",
       "  --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
       "  --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
       "  --xr-border-color: #1F1F1F;\n",
       "  --xr-disabled-color: #515151;\n",
       "  --xr-background-color: #111111;\n",
       "  --xr-background-color-row-even: #111111;\n",
       "  --xr-background-color-row-odd: #313131;\n",
       "}\n",
       "\n",
       ".xr-wrap {\n",
       "  display: block !important;\n",
       "  min-width: 300px;\n",
       "  max-width: 700px;\n",
       "}\n",
       "\n",
       ".xr-text-repr-fallback {\n",
       "  /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-header {\n",
       "  padding-top: 6px;\n",
       "  padding-bottom: 6px;\n",
       "  margin-bottom: 4px;\n",
       "  border-bottom: solid 1px var(--xr-border-color);\n",
       "}\n",
       "\n",
       ".xr-header > div,\n",
       ".xr-header > ul {\n",
       "  display: inline;\n",
       "  margin-top: 0;\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-obj-type,\n",
       ".xr-array-name {\n",
       "  margin-left: 2px;\n",
       "  margin-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-obj-type {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-sections {\n",
       "  padding-left: 0 !important;\n",
       "  display: grid;\n",
       "  grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
       "}\n",
       "\n",
       ".xr-section-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-section-item input {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-item input + label {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label {\n",
       "  cursor: pointer;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-item input:enabled + label:hover {\n",
       "  color: var(--xr-font-color0);\n",
       "}\n",
       "\n",
       ".xr-section-summary {\n",
       "  grid-column: 1;\n",
       "  color: var(--xr-font-color2);\n",
       "  font-weight: 500;\n",
       "}\n",
       "\n",
       ".xr-section-summary > span {\n",
       "  display: inline-block;\n",
       "  padding-left: 0.5em;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label {\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in + label:before {\n",
       "  display: inline-block;\n",
       "  content: '►';\n",
       "  font-size: 11px;\n",
       "  width: 15px;\n",
       "  text-align: center;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:disabled + label:before {\n",
       "  color: var(--xr-disabled-color);\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label:before {\n",
       "  content: '▼';\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked + label > span {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-section-summary,\n",
       ".xr-section-inline-details {\n",
       "  padding-top: 4px;\n",
       "  padding-bottom: 4px;\n",
       "}\n",
       "\n",
       ".xr-section-inline-details {\n",
       "  grid-column: 2 / -1;\n",
       "}\n",
       "\n",
       ".xr-section-details {\n",
       "  display: none;\n",
       "  grid-column: 1 / -1;\n",
       "  margin-bottom: 5px;\n",
       "}\n",
       "\n",
       ".xr-section-summary-in:checked ~ .xr-section-details {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-array-wrap {\n",
       "  grid-column: 1 / -1;\n",
       "  display: grid;\n",
       "  grid-template-columns: 20px auto;\n",
       "}\n",
       "\n",
       ".xr-array-wrap > label {\n",
       "  grid-column: 1;\n",
       "  vertical-align: top;\n",
       "}\n",
       "\n",
       ".xr-preview {\n",
       "  color: var(--xr-font-color3);\n",
       "}\n",
       "\n",
       ".xr-array-preview,\n",
       ".xr-array-data {\n",
       "  padding: 0 5px !important;\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-array-data,\n",
       ".xr-array-in:checked ~ .xr-array-preview {\n",
       "  display: none;\n",
       "}\n",
       "\n",
       ".xr-array-in:checked ~ .xr-array-data,\n",
       ".xr-array-preview {\n",
       "  display: inline-block;\n",
       "}\n",
       "\n",
       ".xr-dim-list {\n",
       "  display: inline-block !important;\n",
       "  list-style: none;\n",
       "  padding: 0 !important;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list li {\n",
       "  display: inline-block;\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "}\n",
       "\n",
       ".xr-dim-list:before {\n",
       "  content: '(';\n",
       "}\n",
       "\n",
       ".xr-dim-list:after {\n",
       "  content: ')';\n",
       "}\n",
       "\n",
       ".xr-dim-list li:not(:last-child):after {\n",
       "  content: ',';\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-has-index {\n",
       "  font-weight: bold;\n",
       "}\n",
       "\n",
       ".xr-var-list,\n",
       ".xr-var-item {\n",
       "  display: contents;\n",
       "}\n",
       "\n",
       ".xr-var-item > div,\n",
       ".xr-var-item label,\n",
       ".xr-var-item > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-even);\n",
       "  margin-bottom: 0;\n",
       "}\n",
       "\n",
       ".xr-var-item > .xr-var-name:hover span {\n",
       "  padding-right: 5px;\n",
       "}\n",
       "\n",
       ".xr-var-list > li:nth-child(odd) > div,\n",
       ".xr-var-list > li:nth-child(odd) > label,\n",
       ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
       "  background-color: var(--xr-background-color-row-odd);\n",
       "}\n",
       "\n",
       ".xr-var-name {\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-var-dims {\n",
       "  grid-column: 2;\n",
       "}\n",
       "\n",
       ".xr-var-dtype {\n",
       "  grid-column: 3;\n",
       "  text-align: right;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-preview {\n",
       "  grid-column: 4;\n",
       "}\n",
       "\n",
       ".xr-index-preview {\n",
       "  grid-column: 2 / 5;\n",
       "  color: var(--xr-font-color2);\n",
       "}\n",
       "\n",
       ".xr-var-name,\n",
       ".xr-var-dims,\n",
       ".xr-var-dtype,\n",
       ".xr-preview,\n",
       ".xr-attrs dt {\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-var-name:hover,\n",
       ".xr-var-dims:hover,\n",
       ".xr-var-dtype:hover,\n",
       ".xr-attrs dt:hover {\n",
       "  overflow: visible;\n",
       "  width: auto;\n",
       "  z-index: 1;\n",
       "}\n",
       "\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  display: none;\n",
       "  background-color: var(--xr-background-color) !important;\n",
       "  padding-bottom: 5px !important;\n",
       "}\n",
       "\n",
       ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
       ".xr-var-data-in:checked ~ .xr-var-data,\n",
       ".xr-index-data-in:checked ~ .xr-index-data {\n",
       "  display: block;\n",
       "}\n",
       "\n",
       ".xr-var-data > table {\n",
       "  float: right;\n",
       "}\n",
       "\n",
       ".xr-var-name span,\n",
       ".xr-var-data,\n",
       ".xr-index-name div,\n",
       ".xr-index-data,\n",
       ".xr-attrs {\n",
       "  padding-left: 25px !important;\n",
       "}\n",
       "\n",
       ".xr-attrs,\n",
       ".xr-var-attrs,\n",
       ".xr-var-data,\n",
       ".xr-index-data {\n",
       "  grid-column: 1 / -1;\n",
       "}\n",
       "\n",
       "dl.xr-attrs {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  display: grid;\n",
       "  grid-template-columns: 125px auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt,\n",
       ".xr-attrs dd {\n",
       "  padding: 0;\n",
       "  margin: 0;\n",
       "  float: left;\n",
       "  padding-right: 10px;\n",
       "  width: auto;\n",
       "}\n",
       "\n",
       ".xr-attrs dt {\n",
       "  font-weight: normal;\n",
       "  grid-column: 1;\n",
       "}\n",
       "\n",
       ".xr-attrs dt:hover span {\n",
       "  display: inline-block;\n",
       "  background: var(--xr-background-color);\n",
       "  padding-right: 10px;\n",
       "}\n",
       "\n",
       ".xr-attrs dd {\n",
       "  grid-column: 2;\n",
       "  white-space: pre-wrap;\n",
       "  word-break: break-all;\n",
       "}\n",
       "\n",
       ".xr-icon-database,\n",
       ".xr-icon-file-text2,\n",
       ".xr-no-icon {\n",
       "  display: inline-block;\n",
       "  vertical-align: middle;\n",
       "  width: 1em;\n",
       "  height: 1.5em !important;\n",
       "  stroke-width: 0;\n",
       "  stroke: currentColor;\n",
       "  fill: currentColor;\n",
       "}\n",
       "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
       "Dimensions:    (time: 4, latitude: 931, longitude: 875)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -55.0 -54.92 -54.84 ... 19.24 19.32 19.4\n",
       "  * longitude  (longitude) float64 270.0 270.1 270.2 270.2 ... 339.8 339.8 339.9\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 5.273 5.25 5.216 ... 0.0 0.0\n",
       "Attributes:\n",
       "    regrid_method:  bilinear</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-99e3bd5f-d78c-496e-8af7-dca99c4d45e1' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-99e3bd5f-d78c-496e-8af7-dca99c4d45e1' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 4</li><li><span class='xr-has-index'>latitude</span>: 931</li><li><span class='xr-has-index'>longitude</span>: 875</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-86ca6bbf-14d3-4b92-a2a6-47abf39fef60' class='xr-section-summary-in' type='checkbox'  checked><label for='section-86ca6bbf-14d3-4b92-a2a6-47abf39fef60' class='xr-section-summary' >Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>datetime64[ns]</div><div class='xr-var-preview xr-preview'>2022-11-15 ... 2022-11-15T03:00:00</div><input id='attrs-aa13b7b6-7673-4491-888c-50d7d8d1c979' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-aa13b7b6-7673-4491-888c-50d7d8d1c979' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7dedb0ba-7311-4a1d-a21d-2942d8542847' class='xr-var-data-in' type='checkbox'><label for='data-7dedb0ba-7311-4a1d-a21d-2942d8542847' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([&#x27;2022-11-15T00:00:00.000000000&#x27;, &#x27;2022-11-15T01:00:00.000000000&#x27;,\n",
       "       &#x27;2022-11-15T02:00:00.000000000&#x27;, &#x27;2022-11-15T03:00:00.000000000&#x27;],\n",
       "      dtype=&#x27;datetime64[ns]&#x27;)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-55.0 -54.92 -54.84 ... 19.32 19.4</div><input id='attrs-2004d194-5184-46fc-895e-faa9e13fefee' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2004d194-5184-46fc-895e-faa9e13fefee' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9e1fc901-d8ca-4e87-8d39-6676493e1e76' class='xr-var-data-in' type='checkbox'><label for='data-9e1fc901-d8ca-4e87-8d39-6676493e1e76' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([-55.  , -54.92, -54.84, ...,  19.24,  19.32,  19.4 ])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>270.0 270.1 270.2 ... 339.8 339.9</div><input id='attrs-1cd1f596-39d9-4e72-bc67-5b7a61c4ad92' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1cd1f596-39d9-4e72-bc67-5b7a61c4ad92' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-47da737a-6139-40dd-a55e-3d442ca20afb' class='xr-var-data-in' type='checkbox'><label for='data-47da737a-6139-40dd-a55e-3d442ca20afb' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([270.  , 270.08, 270.16, ..., 339.76, 339.84, 339.92])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-895fb55f-482f-4bc6-a25b-0342e0c0bd13' class='xr-section-summary-in' type='checkbox'  checked><label for='section-895fb55f-482f-4bc6-a25b-0342e0c0bd13' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t2m</span></div><div class='xr-var-dims'>(time, latitude, longitude)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>5.273 5.25 5.216 ... 0.0 0.0 0.0</div><input id='attrs-a33d168e-dc1f-451d-8740-3e575536d405' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a33d168e-dc1f-451d-8740-3e575536d405' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-97ecbb63-34fb-463f-b844-6d6a66585e03' class='xr-var-data-in' type='checkbox'><label for='data-97ecbb63-34fb-463f-b844-6d6a66585e03' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[[5.2731347 , 5.249736  , 5.2164764 , ..., 0.1773417 ,\n",
       "         0.17734265, 0.18218957],\n",
       "        [5.278658  , 5.2595034 , 5.232912  , ..., 0.219098  ,\n",
       "         0.23261553, 0.25097337],\n",
       "        [5.278658  , 5.2651653 , 5.2506886 , ..., 0.24652007,\n",
       "         0.2886692 , 0.3379681 ],\n",
       "        ...,\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ]],\n",
       "\n",
       "       [[5.2750025 , 5.250363  , 5.2173324 , ..., 0.17907323,\n",
       "         0.17924738, 0.1796897 ],\n",
       "        [5.2780776 , 5.260342  , 5.23416   , ..., 0.21524459,\n",
       "         0.23266344, 0.25419986],\n",
       "        [5.278601  , 5.269895  , 5.256029  , ..., 0.24773309,\n",
       "         0.28742477, 0.3433087 ],\n",
       "...\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ]],\n",
       "\n",
       "       [[5.275815  , 5.248964  , 5.2146764 , ..., 0.1764182 ,\n",
       "         0.17659235, 0.17703468],\n",
       "        [5.279137  , 5.259034  , 5.231504  , ..., 0.21258956,\n",
       "         0.23000841, 0.25154483],\n",
       "        [5.2776184 , 5.267851  , 5.253374  , ..., 0.24651965,\n",
       "         0.2895879 , 0.34065366],\n",
       "        ...,\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ],\n",
       "        [0.        , 0.        , 0.        , ..., 0.        ,\n",
       "         0.        , 0.        ]]], dtype=float32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-af7084c0-f46d-4daf-bd08-490de7179219' class='xr-section-summary-in' type='checkbox'  ><label for='section-af7084c0-f46d-4daf-bd08-490de7179219' class='xr-section-summary' >Indexes: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-cbaf0fe8-8124-459c-942e-67ae02c1d556' class='xr-index-data-in' type='checkbox'/><label for='index-cbaf0fe8-8124-459c-942e-67ae02c1d556' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(DatetimeIndex([&#x27;2022-11-15 00:00:00&#x27;, &#x27;2022-11-15 01:00:00&#x27;,\n",
       "               &#x27;2022-11-15 02:00:00&#x27;, &#x27;2022-11-15 03:00:00&#x27;],\n",
       "              dtype=&#x27;datetime64[ns]&#x27;, name=&#x27;time&#x27;, freq=&#x27;H&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>latitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-d1d392ec-8328-4b44-b629-5425a9b7247d' class='xr-index-data-in' type='checkbox'/><label for='index-d1d392ec-8328-4b44-b629-5425a9b7247d' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([              -55.0,              -54.92,              -54.84,\n",
       "              -54.760000000000005,  -54.68000000000001,  -54.60000000000001,\n",
       "               -54.52000000000001,  -54.44000000000001, -54.360000000000014,\n",
       "              -54.280000000000015,\n",
       "              ...\n",
       "               18.679999999999136,  18.759999999999135,  18.839999999999133,\n",
       "                18.91999999999913,   18.99999999999913,  19.079999999999128,\n",
       "               19.159999999999126,  19.239999999999124,  19.319999999999123,\n",
       "                19.39999999999912],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;latitude&#x27;, length=931))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>longitude</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-d9c53ff3-a5e1-4dee-80bc-1bc5ade80861' class='xr-index-data-in' type='checkbox'/><label for='index-d9c53ff3-a5e1-4dee-80bc-1bc5ade80861' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([             270.0,             270.08, 270.15999999999997,\n",
       "              270.23999999999995, 270.31999999999994,  270.3999999999999,\n",
       "               270.4799999999999,  270.5599999999999,  270.6399999999999,\n",
       "              270.71999999999986,\n",
       "              ...\n",
       "              339.19999999998623,  339.2799999999862,  339.3599999999862,\n",
       "               339.4399999999862, 339.51999999998617, 339.59999999998615,\n",
       "              339.67999999998614,  339.7599999999861,  339.8399999999861,\n",
       "               339.9199999999861],\n",
       "             dtype=&#x27;float64&#x27;, name=&#x27;longitude&#x27;, length=875))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-0170db0c-03d2-4cb0-87ee-f12b53b9c2d2' class='xr-section-summary-in' type='checkbox'  checked><label for='section-0170db0c-03d2-4cb0-87ee-f12b53b9c2d2' class='xr-section-summary' >Attributes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>regrid_method :</span></dt><dd>bilinear</dd></dl></div></li></ul></div></div>"
      ],
      "text/plain": [
       "<xarray.Dataset>\n",
       "Dimensions:    (time: 4, latitude: 931, longitude: 875)\n",
       "Coordinates:\n",
       "  * time       (time) datetime64[ns] 2022-11-15 ... 2022-11-15T03:00:00\n",
       "  * latitude   (latitude) float64 -55.0 -54.92 -54.84 ... 19.24 19.32 19.4\n",
       "  * longitude  (longitude) float64 270.0 270.1 270.2 270.2 ... 339.8 339.8 339.9\n",
       "Data variables:\n",
       "    t2m        (time, latitude, longitude) float32 5.273 5.25 5.216 ... 0.0 0.0\n",
       "Attributes:\n",
       "    regrid_method:  bilinear"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "out2"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
