--- /srv/reproducible-results/rbuild-debian/r-b-build.dsXyMOwQ/b1/python-xarray_2023.01.0-1.1_arm64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.dsXyMOwQ/b2/python-xarray_2023.01.0-1.1_arm64.changes ├── Files │ @@ -1,3 +1,3 @@ │ │ - 6f4ce5648706086f1832d2e8b8165ebe 5278124 doc optional python-xarray-doc_2023.01.0-1.1_all.deb │ + 93f5b8ab1ec58df68edcb45557ce6c14 5278172 doc optional python-xarray-doc_2023.01.0-1.1_all.deb │ 6e5f6af35de770365644ec5792cfe64e 630312 python optional python3-xarray_2023.01.0-1.1_all.deb ├── python-xarray-doc_2023.01.0-1.1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2023-02-19 00:50:57.000000 debian-binary │ │ -rw-r--r-- 0 0 0 6244 2023-02-19 00:50:57.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 5271688 2023-02-19 00:50:57.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 5271736 2023-02-19 00:50:57.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -235,29 +235,29 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 81125 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/contributing.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7040 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/developers-meeting.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 19841 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/ecosystem.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 108934 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6504 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 45795 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 24040 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 24046 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 128905 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9526 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9539 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 36809 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21757 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21760 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 22771 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1561 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1556 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 45664 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3534 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3540 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 38738 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11182 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11173 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 65414 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4663 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4662 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 92426 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 367742 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.ipynb.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 367785 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.ipynb.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6546 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/gallery.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8063 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/genindex.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 28859 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/faq.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6381 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 20999 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/installing.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 42860 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/quick-overview.html │ │ │ │ @@ -271,20 +271,20 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6791 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9602 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/variable-objects.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 32114 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/zarr-encoding-spec.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 16394 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/objects.inv │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5487 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/py-modindex.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 22790 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/roadmap.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5240 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/search.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 198700 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/searchindex.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 198698 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/searchindex.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7175 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/tutorials-and-videos.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 56706 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/combining.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 125736 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/computation.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 74544 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/dask.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 74545 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/dask.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 98802 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/data-structures.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15231 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/duckarrays.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 37489 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/groupby.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7597 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 252969 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/indexing.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 91334 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/interpolation.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 253831 2023-02-19 00:50:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/io.html │ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.html │ │ │ │ @@ -432,15 +432,15 @@ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ -Error in callback <function _draw_all_if_interactive at 0xffff59c779c0> (for post_execute):
│ │ │ │ +Error in callback <function _draw_all_if_interactive at 0xffff618eb9c0> (for post_execute):
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -98,15 +98,15 @@
│ │ │ │ │ ----> 7 plot = ds.t2m[0].plot(
│ │ │ │ │ 8 cmap=plt.cm.coolwarm, transform=ccrs.PlateCarree(), cbar_kwargs=
│ │ │ │ │ {"shrink": 0.6}
│ │ │ │ │ 9 )
│ │ │ │ │ 10 plt.title("ERA5 - 2m temperature British Isles March 2019")
│ │ │ │ │
│ │ │ │ │ NameError: name 'ds' is not defined
│ │ │ │ │ -Error in callback (for
│ │ │ │ │ +Error in callback (for
│ │ │ │ │ post_execute):
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ PermissionError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3/dist-packages/matplotlib/pyplot.py:119, in
│ │ │ │ │ _draw_all_if_interactive()
│ │ │ │ │ 117 def _draw_all_if_interactive():
│ │ │ │ │ 118 if matplotlib.is_interactive():
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.ipynb.gz
│ │ │ │ ├── ERA5-GRIB-example.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9985416666666667%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:26:00.178902Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:26:00.178619Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:05.203130Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:05.202426Z'}}}, 4: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:26:05.218756Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:05.211215Z', 'iopub.status.idle': '2024-01-08T11:26:0 […]
│ │ │ │ │ │ @@ -15,18 +15,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:03.486015Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:03.485718Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:07.841871Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:07.841019Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:00.178902Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:00.178619Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:05.203130Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:05.202426Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "name": "stderr",
│ │ │ │ │ │ "output_type": "stream",
│ │ │ │ │ │ "text": [
│ │ │ │ │ │ @@ -47,18 +47,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:07.866408Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:07.865889Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:08.249882Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:08.249000Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:05.218756Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:05.211215Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:05.931249Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:05.930456Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -88,18 +88,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:08.256241Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:08.255931Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:08.292471Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:08.291661Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:05.939423Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:05.939157Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:05.995128Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:05.994433Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -124,18 +124,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:08.296332Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:08.296059Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:11.393951Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:11.393003Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:06.003507Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:06.003228Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:12.718499Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:12.710458Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -146,15 +146,15 @@
│ │ │ │ │ │ "\u001b[0;31mNameError\u001b[0m: name 'ds' is not defined"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "name": "stdout",
│ │ │ │ │ │ "output_type": "stream",
│ │ │ │ │ │ "text": [
│ │ │ │ │ │ - "Error in callback (for post_execute):\n"
│ │ │ │ │ │ + "Error in callback (for post_execute):\n"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ "evalue": "[Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ @@ -255,18 +255,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:11.398058Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:11.397775Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:11.425781Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:11.424998Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:12.727529Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:12.727233Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:12.799220Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:12.798431Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz
│ │ │ │ ├── ROMS_ocean_model.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9988051470588235%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:26:20.594000Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:26:20.593670Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:24.502509Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:24.494464Z'}}}, 5: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:26:24.511712Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:24.511251Z', 'iopub.status.idle': '2024-01-08T11:26:2 […]
│ │ │ │ │ │ @@ -17,18 +17,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:19.808398Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:19.808080Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.377757Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.377007Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:20.594000Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:20.593670Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:24.502509Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:24.494464Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import cartopy.crs as ccrs\n",
│ │ │ │ │ │ "import cartopy.feature as cfeature\n",
│ │ │ │ │ │ @@ -75,18 +75,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.386237Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.385805Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.822902Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.820995Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:24.511712Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:24.511251Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:25.111336Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:25.110469Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -130,18 +130,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.826358Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.826089Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.861746Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.860993Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:25.119637Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:25.119352Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:25.179251Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:25.178465Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -175,18 +175,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.865355Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.865087Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.893754Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.893005Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:25.187640Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:25.187359Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:25.231268Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:25.230474Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "scrolled": false
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ @@ -211,18 +211,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.897434Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.897163Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.933749Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.932994Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:25.239562Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:25.239291Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:25.326478Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:25.310467Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -250,18 +250,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.937293Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.937037Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:22.973712Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:22.972999Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:25.333296Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:25.333003Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:25.406689Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:25.396688Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -285,18 +285,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:22.977259Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:22.976990Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:23.417748Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:23.416998Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:25.413500Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:25.413224Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:26.395197Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:26.394427Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz
│ │ │ │ ├── apply_ufunc_vectorize_1d.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9994283536585367%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:26:34.069549Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:26:34.069253Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:36.891262Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:36.890458Z'}}}, 4: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:26:36.899463Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:36.899184Z', 'iopub.status.idle': '2024-01-08T11:26:3 […]
│ │ │ │ │ │ @@ -36,18 +36,18 @@
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:45:51.659160Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:45:50.528742Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:29.576513Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:29.576236Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.061818Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.061004Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:34.069549Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:34.069253Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:36.891262Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:36.890458Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -91,18 +91,18 @@
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:45:55.431708Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:45:55.104701Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.068304Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.068009Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.149019Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.133013Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:36.899463Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:36.899184Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:36.970708Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:36.959219Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -131,18 +131,18 @@
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:45:57.889496Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:45:57.792269Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.157994Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.157720Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.237028Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.220997Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:36.983422Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:36.983157Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.046671Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.039309Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -190,18 +190,18 @@
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:45:59.768626Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:45:59.543808Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.247457Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.247184Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.313021Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.297006Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.053220Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.052857Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.106653Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.099284Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -256,18 +256,18 @@
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:02.187012Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:02.105563Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.322050Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.321771Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.351031Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.347083Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.113040Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.112683Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.218485Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.202455Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -334,18 +334,18 @@
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:05.031672Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:04.947588Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.354965Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.354500Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.407915Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.407234Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.230619Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.227121Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.326479Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.310466Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -380,18 +380,18 @@
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:09.325218Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:09.303020Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.411618Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.411366Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.439647Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.437000Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.333154Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.332878Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.379179Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.378453Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -428,18 +428,18 @@
│ │ │ │ │ │ "execution_count": 8,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:11.295440Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:11.226553Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.443430Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.443163Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.501751Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.500997Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.382761Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.382503Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.439162Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.438437Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -492,18 +492,18 @@
│ │ │ │ │ │ "execution_count": 9,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:13.808646Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:13.680098Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.505525Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.505269Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.553747Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.552994Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.442855Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.442588Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.495220Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.494484Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -565,18 +565,18 @@
│ │ │ │ │ │ "execution_count": 10,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:26.633233Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:26.515209Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.557499Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.557237Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.600671Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.599678Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.498827Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.498564Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.555168Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.554442Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -622,18 +622,18 @@
│ │ │ │ │ │ "execution_count": 11,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:46:30.026663Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:46:29.893267Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.604344Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.604095Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.637730Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.636987Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.558746Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.558489Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.619193Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.618441Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -710,18 +710,18 @@
│ │ │ │ │ │ "execution_count": 12,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:48:42.469341Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:48:42.344209Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.641382Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.641122Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.669734Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.668989Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.622853Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.622605Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.683137Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.682427Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -796,18 +796,18 @@
│ │ │ │ │ │ "execution_count": 13,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:48:45.267633Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:48:44.943939Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.673367Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.673101Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.707080Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.706335Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.686694Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.686443Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.727091Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.726416Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ModuleNotFoundError",
│ │ │ │ │ │ "evalue": "No module named 'numba'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -848,18 +848,18 @@
│ │ │ │ │ │ "execution_count": 14,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:48:54.755405Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:48:54.634724Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.710822Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.710554Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.755669Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.754824Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.734834Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.734517Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.783095Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.782418Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'interp1d_np_gufunc' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -902,18 +902,18 @@
│ │ │ │ │ │ "execution_count": 15,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-01-15T14:49:28.667528Z",
│ │ │ │ │ │ "start_time": "2020-01-15T14:49:28.103914Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:31.759341Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:31.759085Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:31.797759Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:31.797010Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:37.786628Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:37.786380Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:37.851097Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:37.850425Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ModuleNotFoundError",
│ │ │ │ │ │ "evalue": "No module named 'numba'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz
│ │ │ │ ├── area_weighted_temperature.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.99921875%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:26:48.250678Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:26:48.250352Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:53.047228Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:53.046473Z'}}}, 4: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:26:53.055596Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:26:53.055198Z', 'iopub.status.idle': '2024-01-08T11:26:5 […]
│ │ │ │ │ │ @@ -28,18 +28,18 @@
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:43:57.222351Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:43:56.147541Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:41.778048Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:41.777740Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:44.085022Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:44.069147Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:48.250678Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:48.250352Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:53.047228Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:53.046473Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "\n",
│ │ │ │ │ │ "import cartopy.crs as ccrs\n",
│ │ │ │ │ │ @@ -63,18 +63,18 @@
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:43:57.831734Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:43:57.651845Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:44.098216Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:44.097779Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:44.497024Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:44.480990Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:53.055596Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:53.055198Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:53.582740Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:53.575282Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -116,18 +116,18 @@
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:43:59.887120Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:43:59.582894Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:44.507560Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:44.507296Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:44.857029Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:44.841005Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:53.589048Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:53.588772Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:53.975634Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:53.970463Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -172,18 +172,18 @@
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:44:18.777092Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:44:18.736587Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:44.863763Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:44.863489Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:44.945014Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:44.928997Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:53.982758Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:53.980549Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:54.036272Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:54.035523Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -213,18 +213,18 @@
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:44:52.607120Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:44:52.564674Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:44.954081Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:44.953798Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:45.037014Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:45.020998Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:54.042997Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:54.040819Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:54.091071Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:54.090516Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -246,18 +246,18 @@
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:44:54.334279Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:44:54.280022Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:45.043715Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:45.043432Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:45.321728Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:45.320992Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:54.097668Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:54.095544Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:54.535956Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:54.535372Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air_weighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -288,18 +288,18 @@
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2020-03-17T14:45:08.877307Z",
│ │ │ │ │ │ "start_time": "2020-03-17T14:45:08.673383Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:45.345995Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:45.345723Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:45.373733Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:45.373003Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:26:54.543383Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:26:54.540305Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:26:54.591773Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:26:54.590470Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'weighted_mean' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/blank_template.ipynb.gz
│ │ │ │ ├── blank_template.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9991319444444444%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:27:02.347443Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:27:02.347139Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:05.151310Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:05.150459Z'}}}}"}
│ │ │ │ │ │ @@ -12,18 +12,18 @@
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "id": "41b90ede",
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:50.598044Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:50.597737Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:52.541798Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:52.540999Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:02.347443Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:02.347139Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:05.151310Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:05.150459Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz
│ │ │ │ ├── monthly-means.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.998721590909091%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:27:12.172407Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:27:12.172098Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:16.017674Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:16.016967Z'}}}, 3: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:27:16.021155Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:16.020634Z', 'iopub.status.idle': '2024-01-08T11:27:1 […]
│ │ │ │ │ │ @@ -19,18 +19,18 @@
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:35.958210Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:35.936966Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:56.258039Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:56.257710Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.529840Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.529060Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:12.172407Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:12.172098Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.017674Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.016967Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import pandas as pd\n",
│ │ │ │ │ │ @@ -50,18 +50,18 @@
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:36.072316Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.016594Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.538161Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.537760Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.837774Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.836996Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.021155Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.020634Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.541032Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.540368Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -96,18 +96,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.846132Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.845854Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.865753Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.864993Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.550734Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.543594Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.580596Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.580009Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -129,18 +129,18 @@
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:36.132413Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.073708Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.874105Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.873834Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.905764Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.904992Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.589909Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.588699Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.639483Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.638453Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'month_length' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -170,18 +170,18 @@
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:36.152913Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.133997Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.914088Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.913822Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.937738Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.936989Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.642917Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.641954Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.674069Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.673503Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds_weighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -202,18 +202,18 @@
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:36.190765Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.154416Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.946048Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.945775Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:58.969741Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:58.969015Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.682998Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.677411Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.722014Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.721448Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -236,18 +236,18 @@
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:40.264871Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.192467Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:58.978252Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:58.977979Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:59.021748Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:59.021013Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.725308Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.724332Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.799471Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.798455Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds_unweighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -316,18 +316,18 @@
│ │ │ │ │ │ "execution_count": 8,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:51:40.284898Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:40.266406Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:14:59.030074Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:14:59.029797Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:14:59.037717Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:14:59.037002Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:16.804859Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:16.804591Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:16.814129Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:16.813576Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "# Wrap it into a simple function\n",
│ │ │ │ │ │ "def season_mean(ds, calendar=\"standard\"):\n",
│ │ │ │ │ │ " # Make a DataArray with the number of days in each month, size = len(time)\n",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz
│ │ │ │ ├── multidimensional-coords.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.99931640625%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:27:23.775596Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:27:23.775280Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:26.387363Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:26.386644Z'}}}, 3: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2024-01-08T11:27:26.395627Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:26.395207Z', 'iopub.status.idle': '2024-01-08T11:27:2 […]
│ │ │ │ │ │ @@ -16,18 +16,18 @@
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:49:56.068395Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:49:56.035349Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:04.914111Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:04.913791Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:06.825011Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:06.809022Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:23.775596Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:23.775280Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:26.387363Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:26.386644Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import pandas as pd\n",
│ │ │ │ │ │ @@ -48,18 +48,18 @@
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:13.629720Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:13.484542Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:06.832442Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:06.831995Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:07.189808Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:07.189040Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:26.395627Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:26.395207Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:26.727243Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:26.726451Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ImportError",
│ │ │ │ │ │ "evalue": "tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -93,18 +93,18 @@
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:15.836061Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:15.768376Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:07.198201Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:07.197922Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:07.221735Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:07.220992Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:26.735499Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:26.735224Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:26.767200Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:26.766448Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -135,18 +135,18 @@
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:17.928556Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:17.031211Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:07.230010Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:07.229737Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:07.925756Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:07.925008Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:26.770843Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:26.770584Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:27.519230Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:27.518484Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -188,18 +188,18 @@
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:20.567749Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:19.999393Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:07.929687Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:07.929397Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:07.961758Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:07.961002Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:27.522905Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:27.522637Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:27.559160Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:27.558449Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -227,18 +227,18 @@
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:31.131708Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:30.444697Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:07.965411Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:07.965137Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:08.113764Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:08.113008Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:27.562741Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:27.562477Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:27.731185Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:27.730446Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -285,18 +285,18 @@
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "ExecuteTime": {
│ │ │ │ │ │ "end_time": "2018-11-28T20:50:43.670463Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:50:43.245501Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2024-01-08T11:15:08.117440Z",
│ │ │ │ │ │ - "iopub.status.busy": "2024-01-08T11:15:08.117179Z",
│ │ │ │ │ │ - "iopub.status.idle": "2024-01-08T11:15:08.145740Z",
│ │ │ │ │ │ - "shell.execute_reply": "2024-01-08T11:15:08.145010Z"
│ │ │ │ │ │ + "iopub.execute_input": "2024-01-08T11:27:27.734770Z",
│ │ │ │ │ │ + "iopub.status.busy": "2024-01-08T11:27:27.734512Z",
│ │ │ │ │ │ + "iopub.status.idle": "2024-01-08T11:27:27.771180Z",
│ │ │ │ │ │ + "shell.execute_reply": "2024-01-08T11:27:27.770451Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.html
│ │ │ │ @@ -574,15 +574,15 @@
│ │ │ │
│ │ │ │ -/tmp/ipykernel_1525232/2946363816.py:1: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
│ │ │ │ +/tmp/ipykernel_3179774/2946363816.py:1: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
│ │ │ │ da = xr.tutorial.open_rasterio("RGB.byte")
│ │ │ │
│ │ │ │ -/tmp/ipykernel_1525232/3653941964.py:4: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
│ │ │ │ +/tmp/ipykernel_3179774/3653941964.py:4: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
│ │ │ │ da = xr.tutorial.open_rasterio("RGB.byte")
│ │ │ │
<xarray.Dataset> │ │ │ │ Dimensions: (time: 731, location: 3) │ │ │ │ Coordinates: │ │ │ │ * time (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2001-12-31 │ │ │ │ * location (location) <U2 'IA' 'IN' 'IL' │ │ │ │ Data variables: │ │ │ │ tmin (time, location) float64 -8.037 -1.788 -3.932 ... -1.346 -4.544 │ │ │ │ - tmax (time, location) float64 12.98 3.31 6.779 ... 6.636 3.343 3.805
PandasIndex(Index(['IA', 'IN', 'IL'], dtype='object', name='location'))
[2]:
│ │ │ │ @@ -932,15 +932,15 @@
│ │ │ │
[5]:
│ │ │ │
│ │ │ │ -<seaborn.axisgrid.PairGrid at 0xffff6edf2850>
│ │ │ │ +<seaborn.axisgrid.PairGrid at 0xffff5e61fad0>
│ │ │ │
array(['IA', 'IN', 'IL'], dtype='<U2')
array([ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
PandasIndex(Index(['IA', 'IN', 'IL'], dtype='object', name='location'))
PandasIndex(Int64Index([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], dtype='int64', name='month'))
[7]:
│ │ │ │
freeze.to_pandas().plot()
│ │ │ │
PandasIndex(Index(['IA', 'IN', 'IL'], dtype='object', name='location'))
[12]:
│ │ │ │
df = both.sel(time="2000").mean("location").reset_coords(drop=True).to_dataframe()
│ │ │ │ df.head()
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -157,15 +157,15 @@
│ │ │ │ │
│ │ │ │ │ [../_images/examples_weather-data_7_1.png]
│ │ │ │ │
│ │ │ │ │ **** Visualize using seaborn¶ ****
│ │ │ │ │ [5]:
│ │ │ │ │ sns.pairplot(df.reset_index(), vars=ds.data_vars)
│ │ │ │ │ [5]:
│ │ │ │ │ -
│ │ │ │ │ +
│ │ │ │ │ [../_images/examples_weather-data_9_1.png]
│ │ │ │ │
│ │ │ │ │ ***** Probability of freeze by calendar month¶ *****
│ │ │ │ │ [6]:
│ │ │ │ │ freeze = (ds["tmin"] <= 0).groupby("time.month").mean("time")
│ │ │ │ │ freeze
│ │ │ │ │ [6]:
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/weather-data.ipynb.gz
│ │ │ │ ├── weather-data.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9992323118860381%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2024-01-08T11:27:42.590472Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2024-01-08T11:27:42.590156Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:47.081164Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2024-01-08T11:27:47.080493Z'}}, 'outputs': {0: {'data': {'text/html': {insert: "
│ │ │ │ │ │┄ '[(370, " tmax (time, location) float64 12.98 3.31 6.779 ... 6.636 3.343 '
│ │ │ │ │ │┄ "3.805
Visualizing your datasets is quick and convenient:
│ │ │ │In [37]: data.plot()
│ │ │ │ -Out[37]: <matplotlib.collections.QuadMesh at 0xffff43f65c90>
│ │ │ │ +Out[37]: <matplotlib.collections.QuadMesh at 0xffff67537a10>
│ │ │ │
Note the automatic labeling with names and units. Our effort in adding metadata attributes has paid off! Many aspects of these figures are customizable: see Plotting.
│ │ │ │Note
│ │ │ │This method replicates the behavior of scipy.optimize.curve_fit()
.
In [3]: ds.temperature
│ │ │ │ Out[3]:
│ │ │ │ <xarray.DataArray 'temperature' (time: 30, latitude: 180, longitude: 180)>
│ │ │ │ -dask.array<open_dataset-78c250975acbcfcf8c779b7811a8c27ctemperature, shape=(30, 180, 180), dtype=float64, chunksize=(10, 180, 180), chunktype=numpy.ndarray>
│ │ │ │ +dask.array<open_dataset-4dbe4737ce0678ff5049460d084186c6temperature, shape=(30, 180, 180), dtype=float64, chunksize=(10, 180, 180), chunktype=numpy.ndarray>
│ │ │ │ Coordinates:
│ │ │ │ * time (time) datetime64[ns] 2015-01-01 2015-01-02 ... 2015-01-30
│ │ │ │ * longitude (longitude) int64 0 1 2 3 4 5 6 7 ... 173 174 175 176 177 178 179
│ │ │ │ * latitude (latitude) float64 89.5 88.5 87.5 86.5 ... -87.5 -88.5 -89.5
│ │ │ │
Once you’ve manipulated a Dask array, you can still write a dataset too big to │ │ │ │ @@ -138,16 +138,16 @@ │ │ │ │ # or distributed.progress when using the distributed scheduler │ │ │ │ In [6]: delayed_obj = ds.to_netcdf("manipulated-example-data.nc", compute=False) │ │ │ │ │ │ │ │ In [7]: with ProgressBar(): │ │ │ │ ...: results = delayed_obj.compute() │ │ │ │ ...: │ │ │ │ │ │ │ │ -[ ] | 0% Completed | 9.97 ms │ │ │ │ -[########################################] | 100% Completed | 114.03 ms │ │ │ │ +[ ] | 0% Completed | 10.73 ms │ │ │ │ +[########################################] | 100% Completed | 111.72 ms │ │ │ │ │ │ │ │ │ │ │ │
Note
│ │ │ │When using Dask’s distributed scheduler to write NETCDF4 files,
│ │ │ │ it may be necessary to set the environment variable HDF5_USE_FILE_LOCKING=FALSE
│ │ │ │ to avoid competing locks within the HDF5 SWMR file locking scheme. Note that
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -76,15 +76,15 @@
│ │ │ │ │ Youâll notice that printing a dataset still shows a preview of array values,
│ │ │ │ │ even if they are actually Dask arrays. We can do this quickly with Dask because
│ │ │ │ │ we only need to compute the first few values (typically from the first block).
│ │ │ │ │ To reveal the true nature of an array, print a DataArray:
│ │ │ │ │ In [3]: ds.temperature
│ │ │ │ │ Out[3]:
│ │ │ │ │ ds.pipe(func)
) instead of
│ │ │ │ simply calling it (e.g., func(ds)
). This allows you to write pipelines for
│ │ │ │ transforming your data (using “method chaining”) instead of writing hard to
│ │ │ │ follow nested function calls:
# these lines are equivalent, but with pipe we can make the logic flow
│ │ │ │ # entirely from left to right
│ │ │ │ In [60]: plt.plot((2 * ds.temperature.sel(x=0)).mean("y"))
│ │ │ │ -Out[60]: [<matplotlib.lines.Line2D at 0xffff35426dd0>]
│ │ │ │ +Out[60]: [<matplotlib.lines.Line2D at 0xffff5c9f11d0>]
│ │ │ │
│ │ │ │ In [61]: (ds.temperature.sel(x=0).pipe(lambda x: 2 * x).mean("y").pipe(plt.plot))
│ │ │ │ -Out[61]: [<matplotlib.lines.Line2D at 0xffff35336650>]
│ │ │ │ +Out[61]: [<matplotlib.lines.Line2D at 0xffff5c93c9d0>]
│ │ │ │
Both pipe
and assign
replicate the pandas methods of the same names
│ │ │ │ (DataFrame.pipe
and
│ │ │ │ DataFrame.assign
).
With xarray, there is no performance penalty for creating new datasets, even if
│ │ │ │ variables are lazily loaded from a file on disk. Creating new objects instead
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -574,19 +574,19 @@
│ │ │ │ │ There is also the pipe() method that allows you to use a method call with an
│ │ │ │ │ external function (e.g., ds.pipe(func)) instead of simply calling it (e.g.,
│ │ │ │ │ func(ds)). This allows you to write pipelines for transforming your data (using
│ │ │ │ │ âmethod chainingâ) instead of writing hard to follow nested function calls:
│ │ │ │ │ # these lines are equivalent, but with pipe we can make the logic flow
│ │ │ │ │ # entirely from left to right
│ │ │ │ │ In [60]: plt.plot((2 * ds.temperature.sel(x=0)).mean("y"))
│ │ │ │ │ -Out[60]: [
Additional keyword arguments can be passed to scipy’s functions.
│ │ │ │# fill 0 for the outside of the original coordinates.
│ │ │ │ In [21]: da.interp(x=np.linspace(-0.5, 1.5, 10), kwargs={"fill_value": 0.0})
│ │ │ │ Out[21]:
│ │ │ │ @@ -615,15 +615,15 @@
│ │ │ │ 858 f"Dimensions {invalid} do not exist. Expected one or more of {dims}"
│ │ │ │ 859 )
│ │ │ │ 861 return indexers
│ │ │ │ 863 elif missing_dims == "warn":
│ │ │ │ 864
│ │ │ │ 865 # don't modify input
│ │ │ │
│ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of Frozen({'x': 3, 'y': 4})
│ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of Frozen({'x': 3, 'y': 4})
│ │ │ │
│ │ │ │ In [63]: dsi.air.plot(ax=axes[1])
│ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ NameError Traceback (most recent call last)
│ │ │ │ Cell In [63], line 1
│ │ │ │ ----> 1 dsi.air.plot(ax=axes[1])
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -165,26 +165,26 @@
│ │ │ │ │ ....: np.sin(np.linspace(0, 2 * np.pi, 10)),
│ │ │ │ │ ....: dims="x",
│ │ │ │ │ ....: coords={"x": np.linspace(0, 1, 10)},
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [17]: da.plot.line("o", label="original")
│ │ │ │ │ -Out[17]: []
│ │ │ │ │ +Out[17]: []
│ │ │ │ │
│ │ │ │ │ In [18]: da.interp(x=np.linspace(0, 1, 100)).plot.line(label="linear
│ │ │ │ │ (default)")
│ │ │ │ │ -Out[18]: []
│ │ │ │ │ +Out[18]: []
│ │ │ │ │
│ │ │ │ │ In [19]: da.interp(x=np.linspace(0, 1, 100), method="cubic").plot.line
│ │ │ │ │ (label="cubic")
│ │ │ │ │ -Out[19]: []
│ │ │ │ │ +Out[19]: []
│ │ │ │ │
│ │ │ │ │ In [20]: plt.legend()
│ │ │ │ │ -Out[20]:
│ │ │ │ │ +Out[20]:
│ │ │ │ │ [../_images/interpolation_sample1.png]
│ │ │ │ │ Additional keyword arguments can be passed to scipyâs functions.
│ │ │ │ │ # fill 0 for the outside of the original coordinates.
│ │ │ │ │ In [21]: da.interp(x=np.linspace(-0.5, 1.5, 10), kwargs={"fill_value": 0.0})
│ │ │ │ │ Out[21]:
│ │ │ │ │
│ │ │ │ │ array([ 0. , 0. , 0. , 0.814, 0.604, -0.604, -0.814, 0. , 0. ,
│ │ │ │ │ @@ -558,15 +558,15 @@
│ │ │ │ │ of {dims}"
│ │ │ │ │ 859 )
│ │ │ │ │ 861 return indexers
│ │ │ │ │ 863 elif missing_dims == "warn":
│ │ │ │ │ 864
│ │ │ │ │ 865 # don't modify input
│ │ │ │ │
│ │ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of
│ │ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of
│ │ │ │ │ Frozen({'x': 3, 'y': 4})
│ │ │ │ │
│ │ │ │ │ In [63]: dsi.air.plot(ax=axes[1])
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ NameError Traceback (most recent call last)
│ │ │ │ │ Cell In [63], line 1
│ │ │ │ │ ----> 1 dsi.air.plot(ax=axes[1])
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/plotting.html
│ │ │ │ @@ -643,15 +643,15 @@
│ │ │ │ --> 186 raise KeyError(key)
│ │ │ │ 188 ref_name, var_name = split_key
│ │ │ │ 189 ref_var = variables[ref_name]
│ │ │ │
│ │ │ │ KeyError: 'lat'
│ │ │ │
│ │ │ │ In [51]: b.plot()
│ │ │ │ -Out[51]: [<matplotlib.lines.Line2D at 0xffff83223890>]
│ │ │ │ +Out[51]: [<matplotlib.lines.Line2D at 0xffffaa97b2d0>]
│ │ │ │
There are several other options for plotting 2D data.
│ │ │ │ @@ -1205,104 +1205,104 @@ │ │ │ │ * y (y) float64 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 │ │ │ │ * z (z) int64 0 1 2 3 │ │ │ │ * w (w) <U5 'one' 'two' 'three' 'five' │ │ │ │ Attributes: │ │ │ │ units: Aunits │ │ │ │ │ │ │ │ In [99]: ds.A.plot.scatter(x="y") │ │ │ │ -Out[99]: <matplotlib.collections.PathCollection at 0xffff8310ae90> │ │ │ │ +Out[99]: <matplotlib.collections.PathCollection at 0xffffaa7f0190> │ │ │ │ │ │ │ │ │ │ │ │Same plot can be displayed using the dataset:
│ │ │ │In [100]: ds.plot.scatter(x="y", y="A")
│ │ │ │ -Out[100]: <matplotlib.collections.PathCollection at 0xffff8324c6d0>
│ │ │ │ +Out[100]: <matplotlib.collections.PathCollection at 0xffffaa766d10>
│ │ │ │
Now suppose we want to scatter the A
DataArray against the B
DataArray
In [101]: ds.plot.scatter(x="A", y="B")
│ │ │ │ -Out[101]: <matplotlib.collections.PathCollection at 0xffff830380d0>
│ │ │ │ +Out[101]: <matplotlib.collections.PathCollection at 0xffff5e32f010>
│ │ │ │
The hue
kwarg lets you vary the color by variable value
In [102]: ds.plot.scatter(x="A", y="B", hue="w")
│ │ │ │ -Out[102]: <matplotlib.collections.PathCollection at 0xffff83093810>
│ │ │ │ +Out[102]: <matplotlib.collections.PathCollection at 0xffffaa5eb190>
│ │ │ │
You can force a legend instead of a colorbar by setting add_legend=True, add_colorbar=False
.
In [103]: ds.plot.scatter(x="A", y="B", hue="w", add_legend=True, add_colorbar=False)
│ │ │ │ -Out[103]: <matplotlib.collections.PathCollection at 0xffff82faa410>
│ │ │ │ +Out[103]: <matplotlib.collections.PathCollection at 0xffffaa76ed50>
│ │ │ │
In [104]: ds.plot.scatter(x="A", y="B", hue="w", add_legend=False, add_colorbar=True)
│ │ │ │ -Out[104]: <matplotlib.collections.PathCollection at 0xffff83093790>
│ │ │ │ +Out[104]: <matplotlib.collections.PathCollection at 0xffffaa685090>
│ │ │ │
The markersize
kwarg lets you vary the point’s size by variable value.
│ │ │ │ You can additionally pass size_norm
to control how the variable’s values are mapped to point sizes.
In [105]: ds.plot.scatter(x="A", y="B", hue="y", markersize="z")
│ │ │ │ -Out[105]: <matplotlib.collections.PathCollection at 0xffff32fdf810>
│ │ │ │ +Out[105]: <matplotlib.collections.PathCollection at 0xffff5a4f0b50>
│ │ │ │
The z
kwarg lets you plot the data along the z-axis as well.
In [106]: ds.plot.scatter(x="A", y="B", z="z", hue="y", markersize="x")
│ │ │ │ -Out[106]: <mpl_toolkits.mplot3d.art3d.Path3DCollection at 0xffff32e61950>
│ │ │ │ +Out[106]: <mpl_toolkits.mplot3d.art3d.Path3DCollection at 0xffff5a3f1250>
│ │ │ │
Faceting is also possible
│ │ │ │In [107]: ds.plot.scatter(x="A", y="B", hue="y", markersize="x", row="x", col="w")
│ │ │ │ -Out[107]: <xarray.plot.facetgrid.FacetGrid at 0xffff32e6be50>
│ │ │ │ +Out[107]: <xarray.plot.facetgrid.FacetGrid at 0xffffaa493350>
│ │ │ │
And adding the z-axis
│ │ │ │In [108]: ds.plot.scatter(x="A", y="B", z="z", hue="y", markersize="x", row="x", col="w")
│ │ │ │ -Out[108]: <xarray.plot.facetgrid.FacetGrid at 0xffff8655b350>
│ │ │ │ +Out[108]: <xarray.plot.facetgrid.FacetGrid at 0xffff5a28b350>
│ │ │ │
For more advanced scatter plots, we recommend converting the relevant data variables
│ │ │ │ to a pandas DataFrame and using the extensive plotting capabilities of seaborn
.
Visualizing vector fields is supported with quiver plots:
│ │ │ │In [109]: ds.isel(w=1, z=1).plot.quiver(x="x", y="y", u="A", v="B")
│ │ │ │ -Out[109]: <matplotlib.quiver.Quiver at 0xffff32906b50>
│ │ │ │ +Out[109]: <matplotlib.quiver.Quiver at 0xffff59d96010>
│ │ │ │
where u
and v
denote the x and y direction components of the arrow vectors. Again, faceting is also possible:
In [110]: ds.plot.quiver(x="x", y="y", u="A", v="B", col="w", row="z", scale=4)
│ │ │ │ -Out[110]: <xarray.plot.facetgrid.FacetGrid at 0xffff32bab290>
│ │ │ │ +Out[110]: <xarray.plot.facetgrid.FacetGrid at 0xffff59db1cd0>
│ │ │ │
scale
is required for faceted quiver plots.
│ │ │ │ The scale determines the number of data units per arrow length unit, i.e. a smaller scale parameter makes the arrow longer.
Visualizing vector fields is also supported with streamline plots:
│ │ │ │In [111]: ds.isel(w=1, z=1).plot.streamplot(x="x", y="y", u="A", v="B")
│ │ │ │ -Out[111]: <matplotlib.collections.LineCollection at 0xffff32ae6e90>
│ │ │ │ +Out[111]: <matplotlib.collections.LineCollection at 0xffff59ec8890>
│ │ │ │
where u
and v
denote the x and y direction components of the vectors tangent to the streamlines.
│ │ │ │ Again, faceting is also possible:
In [112]: ds.plot.streamplot(x="x", y="y", u="A", v="B", col="w", row="z")
│ │ │ │ -Out[112]: <xarray.plot.facetgrid.FacetGrid at 0xffff32d74dd0>
│ │ │ │ +Out[112]: <xarray.plot.facetgrid.FacetGrid at 0xffff59c03e50>
│ │ │ │
In [121]: import xarray.plot as xplt
│ │ │ │
│ │ │ │ In [122]: da = xr.DataArray(range(5))
│ │ │ │
│ │ │ │ In [123]: fig, axs = plt.subplots(ncols=2, nrows=2)
│ │ │ │
│ │ │ │ In [124]: da.plot(ax=axs[0, 0])
│ │ │ │ -Out[124]: [<matplotlib.lines.Line2D at 0xffff3172af90>]
│ │ │ │ +Out[124]: [<matplotlib.lines.Line2D at 0xffff58b532d0>]
│ │ │ │
│ │ │ │ In [125]: da.plot.line(ax=axs[0, 1])
│ │ │ │ -Out[125]: [<matplotlib.lines.Line2D at 0xffff320aa250>]
│ │ │ │ +Out[125]: [<matplotlib.lines.Line2D at 0xffff58a67bd0>]
│ │ │ │
│ │ │ │ In [126]: xplt.plot(da, ax=axs[1, 0])
│ │ │ │ -Out[126]: [<matplotlib.lines.Line2D at 0xffff3223ad90>]
│ │ │ │ +Out[126]: [<matplotlib.lines.Line2D at 0xffff58c8e250>]
│ │ │ │
│ │ │ │ In [127]: xplt.line(da, ax=axs[1, 1])
│ │ │ │ -Out[127]: [<matplotlib.lines.Line2D at 0xffff31532a50>]
│ │ │ │ +Out[127]: [<matplotlib.lines.Line2D at 0xffff58c8d390>]
│ │ │ │
│ │ │ │ In [128]: plt.tight_layout()
│ │ │ │
│ │ │ │ In [129]: plt.draw()
│ │ │ │
The plot will produce an image corresponding to the values of the array. │ │ │ │ Hence the top left pixel will be a different color than the others. │ │ │ │ Before reading on, you may want to look at the coordinates and │ │ │ │ think carefully about what the limits, labels, and orientation for │ │ │ │ each of the axes should be.
│ │ │ │In [134]: a.plot()
│ │ │ │ -Out[134]: <matplotlib.collections.QuadMesh at 0xffff31cc5ed0>
│ │ │ │ +Out[134]: <matplotlib.collections.QuadMesh at 0xffff58a58210>
│ │ │ │
It may seem strange that
│ │ │ │ the values on the y axis are decreasing with -0.5 on the top. This is because
│ │ │ │ the pixels are centered over their coordinates, and the
│ │ │ │ axis labels and ranges correspond to the values of the
│ │ │ │ @@ -1520,81 +1520,81 @@
│ │ │ │ .....: np.arange(20).reshape(4, 5),
│ │ │ │ .....: dims=["y", "x"],
│ │ │ │ .....: coords={"lat": (("y", "x"), lat), "lon": (("y", "x"), lon)},
│ │ │ │ .....: )
│ │ │ │ .....:
│ │ │ │
│ │ │ │ In [139]: da.plot.pcolormesh(x="lon", y="lat")
│ │ │ │ -Out[139]: <matplotlib.collections.QuadMesh at 0xffff31596b50>
│ │ │ │ +Out[139]: <matplotlib.collections.QuadMesh at 0xffff58a94290>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Note that in this case, xarray still follows the pixel centered convention. │ │ │ │ This might be undesirable in some cases, for example when your data is defined │ │ │ │ on a polar projection (GH781). This is why the default is to not follow │ │ │ │ this convention when plotting on a map:
│ │ │ │In [140]: import cartopy.crs as ccrs
│ │ │ │
│ │ │ │ In [141]: ax = plt.subplot(projection=ccrs.PlateCarree())
│ │ │ │
│ │ │ │ In [142]: da.plot.pcolormesh(x="lon", y="lat", ax=ax)
│ │ │ │ -Out[142]: <cartopy.mpl.geocollection.GeoQuadMesh at 0xffff31575190>
│ │ │ │ +Out[142]: <cartopy.mpl.geocollection.GeoQuadMesh at 0xffff59c1d850>
│ │ │ │
│ │ │ │ In [143]: ax.scatter(lon, lat, transform=ccrs.PlateCarree())
│ │ │ │ -Out[143]: <matplotlib.collections.PathCollection at 0xffff31497810>
│ │ │ │ +Out[143]: <matplotlib.collections.PathCollection at 0xffff59b80910>
│ │ │ │
│ │ │ │ In [144]: ax.coastlines()
│ │ │ │ -Out[144]: <cartopy.mpl.feature_artist.FeatureArtist at 0xffff315eadd0>
│ │ │ │ +Out[144]: <cartopy.mpl.feature_artist.FeatureArtist at 0xffff595f3490>
│ │ │ │
│ │ │ │ In [145]: ax.gridlines(draw_labels=True)
│ │ │ │ -Out[145]: <cartopy.mpl.gridliner.Gridliner at 0xffff3145a950>
│ │ │ │ +Out[145]: <cartopy.mpl.gridliner.Gridliner at 0xffff59be4910>
│ │ │ │
You can however decide to infer the cell boundaries and use the
│ │ │ │ infer_intervals
keyword:
In [146]: ax = plt.subplot(projection=ccrs.PlateCarree())
│ │ │ │
│ │ │ │ In [147]: da.plot.pcolormesh(x="lon", y="lat", ax=ax, infer_intervals=True)
│ │ │ │ -Out[147]: <cartopy.mpl.geocollection.GeoQuadMesh at 0xffff2f7dab50>
│ │ │ │ +Out[147]: <cartopy.mpl.geocollection.GeoQuadMesh at 0xffff58b98250>
│ │ │ │
│ │ │ │ In [148]: ax.scatter(lon, lat, transform=ccrs.PlateCarree())
│ │ │ │ -Out[148]: <matplotlib.collections.PathCollection at 0xffff2fe03690>
│ │ │ │ +Out[148]: <matplotlib.collections.PathCollection at 0xffff5a441290>
│ │ │ │
│ │ │ │ In [149]: ax.coastlines()
│ │ │ │ -Out[149]: <cartopy.mpl.feature_artist.FeatureArtist at 0xffff31432950>
│ │ │ │ +Out[149]: <cartopy.mpl.feature_artist.FeatureArtist at 0xffff56dc6350>
│ │ │ │
│ │ │ │ In [150]: ax.gridlines(draw_labels=True)
│ │ │ │ -Out[150]: <cartopy.mpl.gridliner.Gridliner at 0xffff2fe04890>
│ │ │ │ +Out[150]: <cartopy.mpl.gridliner.Gridliner at 0xffff59a13450>
│ │ │ │
Note
│ │ │ │The data model of xarray does not support datasets with cell boundaries │ │ │ │ yet. If you want to use these coordinates, you’ll have to make the plots │ │ │ │ outside the xarray framework.
│ │ │ │One can also make line plots with multidimensional coordinates. In this case, hue
must be a dimension name, not a coordinate name.
In [151]: f, ax = plt.subplots(2, 1)
│ │ │ │
│ │ │ │ In [152]: da.plot.line(x="lon", hue="y", ax=ax[0])
│ │ │ │ Out[152]:
│ │ │ │ -[<matplotlib.lines.Line2D at 0xffff2f7c6a50>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6a3f90>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6bd890>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6bdad0>]
│ │ │ │ +[<matplotlib.lines.Line2D at 0xffff56c626d0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c72e10>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c73190>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c73550>]
│ │ │ │
│ │ │ │ In [153]: da.plot.line(x="lon", hue="x", ax=ax[1])
│ │ │ │ Out[153]:
│ │ │ │ -[<matplotlib.lines.Line2D at 0xffff2f6d8f50>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6d93d0>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6d9650>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6d9a10>,
│ │ │ │ - <matplotlib.lines.Line2D at 0xffff2f6d9cd0>]
│ │ │ │ +[<matplotlib.lines.Line2D at 0xffff56c60ed0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c929d0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c92d10>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c92fd0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0xffff56c93290>]
│ │ │ │
New xray.Dataset.where
method for masking xray objects according
│ │ │ │ to some criteria. This works particularly well with multi-dimensional data:
In [44]: ds = xray.Dataset(coords={"x": range(100), "y": range(100)})
│ │ │ │
│ │ │ │ In [45]: ds["distance"] = np.sqrt(ds.x**2 + ds.y**2)
│ │ │ │
│ │ │ │ In [46]: ds.distance.where(ds.distance < 100).plot()
│ │ │ │ -Out[46]: <matplotlib.collections.QuadMesh at 0xffff2dfc6190>
│ │ │ │ +Out[46]: <matplotlib.collections.QuadMesh at 0xffff56821ad0>
│ │ │ │
Added new methods xray.DataArray.diff
and xray.Dataset.diff
│ │ │ │ for finite difference calculations along a given axis.
New xray.DataArray.to_masked_array
convenience method for
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -4049,15 +4049,15 @@
│ │ │ │ │ * New xray.Dataset.where method for masking xray objects according to some
│ │ │ │ │ criteria. This works particularly well with multi-dimensional data:
│ │ │ │ │ In [44]: ds = xray.Dataset(coords={"x": range(100), "y": range(100)})
│ │ │ │ │
│ │ │ │ │ In [45]: ds["distance"] = np.sqrt(ds.x**2 + ds.y**2)
│ │ │ │ │
│ │ │ │ │ In [46]: ds.distance.where(ds.distance < 100).plot()
│ │ │ │ │ - Out[46]: