--- /srv/reproducible-results/rbuild-debian/r-b-build.7Ww0J1yU/b1/python-xarray_2025.01.2-1_amd64.changes
+++ /srv/reproducible-results/rbuild-debian/r-b-build.7Ww0J1yU/b2/python-xarray_2025.01.2-1_amd64.changes
├── Files
│ @@ -1,3 +1,3 @@
│
│ - 0498ec7f50853bbeffc8d052b694ab7f 2751776 doc optional python-xarray-doc_2025.01.2-1_all.deb
│ + c3c727b28c2d2ac9cfbdf090b7f86954 2751900 doc optional python-xarray-doc_2025.01.2-1_all.deb
│ 4644c3352e568f782718f7d018211ae7 799852 python optional python3-xarray_2025.01.2-1_all.deb
├── python-xarray-doc_2025.01.2-1_all.deb
│ ├── file list
│ │ @@ -1,3 +1,3 @@
│ │ -rw-r--r-- 0 0 0 4 2025-02-02 11:36:57.000000 debian-binary
│ │ --rw-r--r-- 0 0 0 6364 2025-02-02 11:36:57.000000 control.tar.xz
│ │ --rw-r--r-- 0 0 0 2745220 2025-02-02 11:36:57.000000 data.tar.xz
│ │ +-rw-r--r-- 0 0 0 6368 2025-02-02 11:36:57.000000 control.tar.xz
│ │ +-rw-r--r-- 0 0 0 2745340 2025-02-02 11:36:57.000000 data.tar.xz
│ ├── control.tar.xz
│ │ ├── control.tar
│ │ │ ├── ./control
│ │ │ │ @@ -1,13 +1,13 @@
│ │ │ │ Package: python-xarray-doc
│ │ │ │ Source: python-xarray
│ │ │ │ Version: 2025.01.2-1
│ │ │ │ Architecture: all
│ │ │ │ Maintainer: Debian Science Maintainers
│ │ │ │ -Installed-Size: 8991
│ │ │ │ +Installed-Size: 8992
│ │ │ │ Depends: libjs-sphinxdoc (>= 8.1), libjs-mathjax, libjs-requirejs
│ │ │ │ Built-Using: alabaster (= 0.7.16-0.1), sphinx (= 8.1.3-5)
│ │ │ │ Section: doc
│ │ │ │ Priority: optional
│ │ │ │ Multi-Arch: foreign
│ │ │ │ Homepage: https://xarray.pydata.org/
│ │ │ │ Description: documentation for xarray
│ │ │ ├── ./md5sums
│ │ │ │ ├── ./md5sums
│ │ │ │ │┄ Files differ
│ ├── data.tar.xz
│ │ ├── data.tar
│ │ │ ├── file list
│ │ │ │ @@ -160,32 +160,32 @@
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 101581 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/contributing.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 461 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/dask.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 494 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/data-structures.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 8448 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/developers-meeting.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 479 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/duckarrays.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 22666 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/ecosystem.html
│ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 151021 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 10281 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 51050 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 24967 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 134137 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 10477 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 42089 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 22654 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 27905 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 151036 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10287 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 51051 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 24994 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 134138 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10511 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 42090 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22670 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27906 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 2568 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/blank_template.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 50959 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 4540 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 43740 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 12221 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 50844 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 4373 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 50960 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4568 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 43741 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12239 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 50845 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4396 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.ipynb.gz
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 87944 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 367986 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.ipynb.gz
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 368004 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/examples/weather-data.ipynb.gz
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/faq.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 15073 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/gallery.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 16306 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/genindex.html
│ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 50398 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/faq.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 7741 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/index.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 23857 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/getting-started-guide/installing.html
│ │ │ │ @@ -200,50 +200,50 @@
│ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 81178 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/chunked-arrays.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 19678 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/duck-arrays-integration.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 22842 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/extending-xarray.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 53506 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/how-to-add-new-backend.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 30758 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/how-to-create-custom-index.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 9035 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/index.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 60255 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/internal-design.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 60257 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/internal-design.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 13589 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/interoperability.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 27075 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/zarr-encoding-spec.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27076 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/internals/zarr-encoding-spec.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 488 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/interpolation.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/io.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 22249 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/objects.inv
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 467 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/pandas.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/plotting.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 6546 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/py-modindex.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 524 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/quick-overview.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 443 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/related-projects.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 476 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/reshaping.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 24474 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/roadmap.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 6341 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/search.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 250422 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/searchindex.js
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 250520 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/searchindex.js
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 482 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/terminology.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 482 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/time-series.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 13358 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/tutorials-and-videos.html
│ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 58676 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/combining.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 140284 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/computation.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 71358 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/dask.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 150185 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/data-structures.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 35119 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/duckarrays.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 50924 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/groupby.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 120196 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/hierarchical-data.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 120197 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/hierarchical-data.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 9025 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/index.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 140275 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/indexing.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 68719 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/interpolation.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 144483 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/io.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 140278 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/indexing.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 68720 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/interpolation.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 144485 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/io.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 11704 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/options.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 42224 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/pandas.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 136281 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/plotting.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 62916 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/reshaping.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 136283 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/plotting.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 62917 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/reshaping.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 46815 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/terminology.html
│ │ │ │ --rw-r--r-- 0 root (0) root (0) 47383 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/testing.html
│ │ │ │ +-rw-r--r-- 0 root (0) root (0) 48185 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/testing.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 45787 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/time-series.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 45368 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/user-guide/weather-climate.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 494 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/weather-climate.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 1017523 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/whats-new.html
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 512 2025-02-02 11:36:57.000000 ./usr/share/doc/python-xarray-doc/html/why-xarray.html
│ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-02-02 11:36:57.000000 ./usr/share/doc-base/
│ │ │ │ -rw-r--r-- 0 root (0) root (0) 290 2025-02-02 11:36:57.000000 ./usr/share/doc-base/python-xarray-doc.python-xarray-doc
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.html
│ │ │ │ @@ -170,15 +170,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276 , in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message. append(
│ │ │ │ 274 f " Use environment variable ' { env} ' to specify a different location. "
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError (" " . join(message)) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ Let’s create a simple plot of 2-m air temperature in degrees Celsius:
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ -Error in callback <function _draw_all_if_interactive at 0x7f0d1cd74fe0> (for post_execute), with arguments args (),kwargs {}:
│ │ │ │ +Error in callback <function _draw_all_if_interactive at 0x7f3fcd2ecfe0> (for post_execute), with arguments args (),kwargs {}:
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ PermissionError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3/dist-packages/matplotlib/pyplot.py:197 , in _draw_all_if_interactive ()
│ │ │ │ 195 def _draw_all_if_interactive () - > None :
│ │ │ │ 196 if matplotlib. is_interactive():
│ │ │ │ @@ -530,75 +530,75 @@
│ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build/.local'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build/.local'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724 , in Path.mkdir (self, mode, parents, exist_ok)
│ │ │ │ 723 try :
│ │ │ │ --> 724 os . mkdir ( self , mode )
│ │ │ │ 725 except FileNotFoundError :
│ │ │ │
│ │ │ │ -FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/first-build'
│ │ │ │ +FileNotFoundError : [Errno 2] No such file or directory: '/nonexistent/second-build'
│ │ │ │
│ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │
│ │ │ │ PermissionError Traceback (most recent call last)
│ │ │ │ File /usr/lib/python3/dist-packages/IPython/core/formatters.py:402 , in BaseFormatter.__call__ (self, obj)
│ │ │ │ 400 pass
│ │ │ │ 401 else :
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -99,15 +99,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ Let’s create a simple plot of 2-m air temperature in degrees Celsius:
│ │ │ │ │ [3]:
│ │ │ │ │ ds = ds - 273.15
│ │ │ │ │ ds.t2m[0].plot(cmap=plt.cm.coolwarm)
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ NameError Traceback (most recent call last)
│ │ │ │ │ @@ -138,97 +138,97 @@
│ │ │ │ │ ----> 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), with arguments args (),kwargs {}:
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ PermissionError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3/dist-packages/matplotlib/pyplot.py:197, in
│ │ │ │ │ _draw_all_if_interactive()
│ │ │ │ │ @@ -458,87 +458,87 @@
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles/natural_earth/physical'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles/natural_earth'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy/shapefiles'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share/cartopy'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local/share'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build/.local'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ FileNotFoundError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3.13/pathlib/_local.py:724, in Path.mkdir(self, mode,
│ │ │ │ │ parents, exist_ok)
│ │ │ │ │ 723 try:
│ │ │ │ │ --> 724 os.mkdir(self, mode)
│ │ │ │ │ 725 except FileNotFoundError:
│ │ │ │ │
│ │ │ │ │ -FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/first-
│ │ │ │ │ +FileNotFoundError: [Errno 2] No such file or directory: '/nonexistent/second-
│ │ │ │ │ build'
│ │ │ │ │
│ │ │ │ │ During handling of the above exception, another exception occurred:
│ │ │ │ │
│ │ │ │ │ PermissionError Traceback (most recent call last)
│ │ │ │ │ File /usr/lib/python3/dist-packages/IPython/core/formatters.py:402, in
│ │ │ │ │ BaseFormatter.__call__(self, obj)
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ERA5-GRIB-example.ipynb.gz
│ │ │ │ ├── ERA5-GRIB-example.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9983703823622252%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:35:30.498292Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:35:30.497745Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:38.250746Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:38.249250Z'}}}, 4: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:35:38.265644Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:38.264742Z', 'iopub.status.idle': '2025-03-05T03:35:3 […]
│ │ │ │ │ │ @@ -15,18 +15,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:51.347688Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:51.347439Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:53.310417Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:53.309745Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:30.498292Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:30.497745Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:38.250746Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:38.249250Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "name": "stderr",
│ │ │ │ │ │ "output_type": "stream",
│ │ │ │ │ │ "text": [
│ │ │ │ │ │ @@ -47,24 +47,24 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:53.313557Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:53.312881Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:53.590580Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:53.589909Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:38.265644Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:38.264742Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:39.420986Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:39.419683Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -74,15 +74,15 @@
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mera5-2mt-2019-03-uk.grib\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mengine\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mcfgrib\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:213\u001b[0m, in \u001b[0;36mload_dataset\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 176\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mload_dataset\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Dataset:\n\u001b[1;32m 177\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;124;03m Open, load into memory, and close a dataset from the online repository\u001b[39;00m\n\u001b[1;32m 179\u001b[0m \u001b[38;5;124;03m (requires internet).\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[38;5;124;03m load_dataset\u001b[39;00m\n\u001b[1;32m 212\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 213\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m \u001b[38;5;28;01mas\u001b[39;00m ds:\n\u001b[1;32m 214\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m ds\u001b[38;5;241m.\u001b[39mload()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "ds = xr.tutorial.load_dataset(\"era5-2mt-2019-03-uk.grib\", engine=\"cfgrib\")"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ @@ -94,18 +94,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:53.592977Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:53.592733Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:53.606030Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:53.605488Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:39.433958Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:39.433394Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:39.470701Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:39.469661Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -130,18 +130,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:53.608013Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:53.607779Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:55.002750Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:55.001878Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:39.481734Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:39.481190Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:44.564022Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:44.547891Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -152,50 +152,50 @@
│ │ │ │ │ │ "\u001b[0;31mNameError\u001b[0m: name 'ds' is not defined"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "name": "stdout",
│ │ │ │ │ │ "output_type": "stream",
│ │ │ │ │ │ "text": [
│ │ │ │ │ │ - "Error in callback (for post_execute), with arguments args (),kwargs {}:\n"
│ │ │ │ │ │ + "Error in callback (for post_execute), with arguments args (),kwargs {}:\n"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ "evalue": "[Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth/physical'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth/physical'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/pyplot.py:197\u001b[0m, in \u001b[0;36m_draw_all_if_interactive\u001b[0;34m()\u001b[0m\n\u001b[1;32m 195\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m_draw_all_if_interactive\u001b[39m() \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 196\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m matplotlib\u001b[38;5;241m.\u001b[39mis_interactive():\n\u001b[0;32m--> 197\u001b[0m \u001b[43mdraw_all\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/_pylab_helpers.py:132\u001b[0m, in \u001b[0;36mGcf.draw_all\u001b[0;34m(cls, force)\u001b[0m\n\u001b[1;32m 130\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m manager \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mcls\u001b[39m\u001b[38;5;241m.\u001b[39mget_all_fig_managers():\n\u001b[1;32m 131\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m force \u001b[38;5;129;01mor\u001b[39;00m manager\u001b[38;5;241m.\u001b[39mcanvas\u001b[38;5;241m.\u001b[39mfigure\u001b[38;5;241m.\u001b[39mstale:\n\u001b[0;32m--> 132\u001b[0m \u001b[43mmanager\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcanvas\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdraw_idle\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/backend_bases.py:1893\u001b[0m, in \u001b[0;36mFigureCanvasBase.draw_idle\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1891\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_is_idle_drawing:\n\u001b[1;32m 1892\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_idle_draw_cntx():\n\u001b[0;32m-> 1893\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py:388\u001b[0m, in \u001b[0;36mFigureCanvasAgg.draw\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 385\u001b[0m \u001b[38;5;66;03m# Acquire a lock on the shared font cache.\u001b[39;00m\n\u001b[1;32m 386\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoolbar\u001b[38;5;241m.\u001b[39m_wait_cursor_for_draw_cm() \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoolbar\n\u001b[1;32m 387\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m nullcontext()):\n\u001b[0;32m--> 388\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mfigure\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mrenderer\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 389\u001b[0m \u001b[38;5;66;03m# A GUI class may be need to update a window using this draw, so\u001b[39;00m\n\u001b[1;32m 390\u001b[0m \u001b[38;5;66;03m# don't forget to call the superclass.\u001b[39;00m\n\u001b[1;32m 391\u001b[0m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39mdraw()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/artist.py:95\u001b[0m, in \u001b[0;36m_finalize_rasterization..draw_wrapper\u001b[0;34m(artist, renderer, *args, **kwargs)\u001b[0m\n\u001b[1;32m 93\u001b[0m \u001b[38;5;129m@wraps\u001b[39m(draw)\n\u001b[1;32m 94\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdraw_wrapper\u001b[39m(artist, renderer, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m---> 95\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[43martist\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mrenderer\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 96\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m renderer\u001b[38;5;241m.\u001b[39m_rasterizing:\n\u001b[1;32m 97\u001b[0m renderer\u001b[38;5;241m.\u001b[39mstop_rasterizing()\n",
│ │ │ │ │ │ @@ -227,39 +227,39 @@
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ "evalue": "[Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth/physical'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth/physical'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles/natural_earth'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles/natural_earth'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy/shapefiles'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy/shapefiles'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share/cartopy'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share/cartopy'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local/share'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local/share'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build/.local'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build/.local'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/pathlib/_local.py:724\u001b[0m, in \u001b[0;36mPath.mkdir\u001b[0;34m(self, mode, parents, exist_ok)\u001b[0m\n\u001b[1;32m 723\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 724\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmkdir\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmode\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 725\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileNotFoundError\u001b[39;00m:\n",
│ │ │ │ │ │ - "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/first-build'",
│ │ │ │ │ │ + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/nonexistent/second-build'",
│ │ │ │ │ │ "\nDuring handling of the above exception, another exception occurred:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/IPython/core/formatters.py:402\u001b[0m, in \u001b[0;36mBaseFormatter.__call__\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 400\u001b[0m \u001b[38;5;28;01mpass\u001b[39;00m\n\u001b[1;32m 401\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 402\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mprinter\u001b[49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 403\u001b[0m \u001b[38;5;66;03m# Finally look for special method names\u001b[39;00m\n\u001b[1;32m 404\u001b[0m method \u001b[38;5;241m=\u001b[39m get_real_method(obj, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mprint_method)\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/IPython/core/pylabtools.py:170\u001b[0m, in \u001b[0;36mprint_figure\u001b[0;34m(fig, fmt, bbox_inches, base64, **kwargs)\u001b[0m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mbackend_bases\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m FigureCanvasBase\n\u001b[1;32m 168\u001b[0m FigureCanvasBase(fig)\n\u001b[0;32m--> 170\u001b[0m \u001b[43mfig\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcanvas\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mprint_figure\u001b[49m\u001b[43m(\u001b[49m\u001b[43mbytes_io\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkw\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 171\u001b[0m data \u001b[38;5;241m=\u001b[39m bytes_io\u001b[38;5;241m.\u001b[39mgetvalue()\n\u001b[1;32m 172\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m fmt \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msvg\u001b[39m\u001b[38;5;124m'\u001b[39m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/backend_bases.py:2164\u001b[0m, in \u001b[0;36mFigureCanvasBase.print_figure\u001b[0;34m(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, pad_inches, bbox_extra_artists, backend, **kwargs)\u001b[0m\n\u001b[1;32m 2161\u001b[0m \u001b[38;5;66;03m# we do this instead of `self.figure.draw_without_rendering`\u001b[39;00m\n\u001b[1;32m 2162\u001b[0m \u001b[38;5;66;03m# so that we can inject the orientation\u001b[39;00m\n\u001b[1;32m 2163\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mgetattr\u001b[39m(renderer, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m_draw_disabled\u001b[39m\u001b[38;5;124m\"\u001b[39m, nullcontext)():\n\u001b[0;32m-> 2164\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mfigure\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[43mrenderer\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 2165\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m bbox_inches:\n\u001b[1;32m 2166\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m bbox_inches \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtight\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/artist.py:95\u001b[0m, in \u001b[0;36m_finalize_rasterization..draw_wrapper\u001b[0;34m(artist, renderer, *args, **kwargs)\u001b[0m\n\u001b[1;32m 93\u001b[0m \u001b[38;5;129m@wraps\u001b[39m(draw)\n\u001b[1;32m 94\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdraw_wrapper\u001b[39m(artist, renderer, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m---> 95\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[43martist\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mrenderer\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 96\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m renderer\u001b[38;5;241m.\u001b[39m_rasterizing:\n\u001b[1;32m 97\u001b[0m renderer\u001b[38;5;241m.\u001b[39mstop_rasterizing()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/matplotlib/artist.py:72\u001b[0m, in \u001b[0;36mallow_rasterization..draw_wrapper\u001b[0;34m(artist, renderer)\u001b[0m\n\u001b[1;32m 69\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m artist\u001b[38;5;241m.\u001b[39mget_agg_filter() \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 70\u001b[0m renderer\u001b[38;5;241m.\u001b[39mstart_filter()\n\u001b[0;32m---> 72\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[43martist\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mrenderer\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 73\u001b[0m \u001b[38;5;28;01mfinally\u001b[39;00m:\n\u001b[1;32m 74\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m artist\u001b[38;5;241m.\u001b[39mget_agg_filter() \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ @@ -317,18 +317,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:55.005343Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:55.005099Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:55.018332Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:55.017774Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:44.593467Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:44.593000Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:44.711879Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:44.695883Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.html
│ │ │ │ @@ -191,15 +191,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276 , in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message. append(
│ │ │ │ 274 f " Use environment variable ' { env} ' to specify a different location. "
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError (" " . join(message)) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Add a lazilly calculated vertical coordinates
│ │ │ │ Write equations to calculate the vertical coordinate. These will be only evaluated when data is requested. Information about the ROMS vertical coordinate can be found (here)[https://www.myroms.org/wiki/Vertical_S-coordinate ]
│ │ │ │ In short, for Vtransform==2
as used in this example,
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -131,15 +131,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ ********** AAdddd aa llaazziillllyy ccaallccuullaatteedd vveerrttiiccaall ccoooorrddiinnaatteess_?¶ **********
│ │ │ │ │ Write equations to calculate the vertical coordinate. These will be only
│ │ │ │ │ evaluated when data is requested. Information about the ROMS vertical
│ │ │ │ │ coordinate can be found (here)[_h_t_t_p_s_:_/_/_w_w_w_._m_y_r_o_m_s_._o_r_g_/_w_i_k_i_/_V_e_r_t_i_c_a_l___S_-
│ │ │ │ │ _c_o_o_r_d_i_n_a_t_e]
│ │ │ │ │ In short, for Vtransform==2 as used in this example,
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/ROMS_ocean_model.ipynb.gz
│ │ │ │ ├── ROMS_ocean_model.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9987017463235294%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:35:54.589678Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:35:54.589140Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:57.849116Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:57.847595Z'}}}, 5: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:35:57.861941Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:35:57.861167Z', 'iopub.status.idle': '2025-03-05T03:35:5 […]
│ │ │ │ │ │ @@ -17,18 +17,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:57.574412Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:57.574170Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.464131Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.463472Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:54.589678Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:54.589140Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:57.849116Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:57.847595Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import cartopy.crs as ccrs\n",
│ │ │ │ │ │ "import cartopy.feature as cfeature\n",
│ │ │ │ │ │ @@ -75,24 +75,24 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.467024Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.466625Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.752333Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.751672Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:57.861941Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:57.861167Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:59.004141Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:58.988658Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -101,15 +101,15 @@
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# load in the file\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mROMS_example.nc\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mchunks\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m{\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mocean_time\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m1\u001b[39;49m\u001b[43m}\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;66;03m# This is a way to turn on chunking and lazy evaluation. Opening with mfdataset, or\u001b[39;00m\n\u001b[1;32m 5\u001b[0m \u001b[38;5;66;03m# setting the chunking in the open_dataset would also achieve this.\u001b[39;00m\n\u001b[1;32m 6\u001b[0m ds\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "# load in the file\n",
│ │ │ │ │ │ "ds = xr.tutorial.open_dataset(\"ROMS_example.nc\", chunks={\"ocean_time\": 1})\n",
│ │ │ │ │ │ "\n",
│ │ │ │ │ │ @@ -136,18 +136,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.754801Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.754558Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.773700Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.773051Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:59.030525Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:59.029910Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:59.175950Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:59.159948Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -181,18 +181,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.776396Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.776152Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.789073Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.788509Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:59.205989Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:59.205322Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:59.319903Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:59.304727Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "scrolled": false
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ @@ -217,18 +217,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.791600Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.791358Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.805265Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.804679Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:59.349691Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:59.348898Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:59.484462Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:59.468233Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -256,18 +256,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.807700Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.807463Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.819754Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.819208Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:59.506504Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:59.505749Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:35:59.644377Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:35:59.627927Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -291,18 +291,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 7,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:26:58.822005Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:26:58.821728Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:26:58.910775Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:26:58.910193Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:35:59.666426Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:35:59.665863Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:00.300134Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:00.284413Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.html
│ │ │ │ @@ -185,15 +185,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276 , in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message. append(
│ │ │ │ 274 f " Use environment variable ' { env} ' to specify a different location. "
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError (" " . join(message)) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ The function we will apply is np.interp
which expects 1D numpy arrays. This functionality is already implemented in xarray so we use that capability to make sure we are not making mistakes.
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -123,15 +123,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ The function we will apply is np.interp which expects 1D numpy arrays. This
│ │ │ │ │ functionality is already implemented in xarray so we use that capability to
│ │ │ │ │ make sure we are not making mistakes.
│ │ │ │ │ [2]:
│ │ │ │ │ newlat = np.linspace(15, 75, 100)
│ │ │ │ │ air.interp(lat=newlat)
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/apply_ufunc_vectorize_1d.ipynb.gz
│ │ │ │ ├── apply_ufunc_vectorize_1d.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9993857604017217%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:36:07.310946Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:36:07.310396Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:09.505849Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ '\'2025-03-05T03:36:09.504070Z\'}}, \'outputs\': {0: {\'evalue\': "[Errno 13] '
│ │ │ │ │ │┄ "Permission denied: '/nonexistent' | Pooch could not create data cache folder "
│ │ │ │ │ │┄ "'/nonexistent/second-build/.cache/xarray_tutorial_data'. […]
│ │ │ │ │ │ @@ -36,24 +36,24 @@
│ │ │ │ │ │ "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": "2026-04-07T09:27:00.821767Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:00.821517Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.530436Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.529738Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:07.310946Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:07.310396Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:09.505849Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:09.504070Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -63,15 +63,15 @@
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[1], line 7\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mnumpy\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mnp\u001b[39;00m\n\u001b[1;32m 4\u001b[0m xr\u001b[38;5;241m.\u001b[39mset_options(display_style\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhtml\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;66;03m# fancy HTML repr\u001b[39;00m\n\u001b[1;32m 6\u001b[0m air \u001b[38;5;241m=\u001b[39m (\n\u001b[0;32m----> 7\u001b[0m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mair_temperature\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 8\u001b[0m \u001b[38;5;241m.\u001b[39mair\u001b[38;5;241m.\u001b[39msortby(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlat\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;66;03m# np.interp needs coordinate in ascending order\u001b[39;00m\n\u001b[1;32m 9\u001b[0m \u001b[38;5;241m.\u001b[39misel(time\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mslice\u001b[39m(\u001b[38;5;241m4\u001b[39m), lon\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mslice\u001b[39m(\u001b[38;5;241m3\u001b[39m))\n\u001b[1;32m 10\u001b[0m ) \u001b[38;5;66;03m# choose a small subset for convenience\u001b[39;00m\n\u001b[1;32m 11\u001b[0m air\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:213\u001b[0m, in \u001b[0;36mload_dataset\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 176\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mload_dataset\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Dataset:\n\u001b[1;32m 177\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;124;03m Open, load into memory, and close a dataset from the online repository\u001b[39;00m\n\u001b[1;32m 179\u001b[0m \u001b[38;5;124;03m (requires internet).\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[38;5;124;03m load_dataset\u001b[39;00m\n\u001b[1;32m 212\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 213\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m \u001b[38;5;28;01mas\u001b[39;00m ds:\n\u001b[1;32m 214\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m ds\u001b[38;5;241m.\u001b[39mload()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "import xarray as xr\n",
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "\n",
│ │ │ │ │ │ @@ -97,18 +97,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": "2026-04-07T09:27:01.533193Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.532648Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.546707Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.546157Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:09.525677Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:09.525114Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:09.609575Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:09.607972Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -137,18 +137,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": "2026-04-07T09:27:01.548948Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.548458Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.562721Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.562177Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:09.634024Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:09.633424Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:09.711318Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:09.710014Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -196,18 +196,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": "2026-04-07T09:27:01.565288Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.564829Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.576927Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.576388Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:09.737655Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:09.737053Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:09.817470Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:09.815927Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -262,18 +262,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": "2026-04-07T09:27:01.579010Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.578756Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.591026Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.590480Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:09.842017Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:09.841450Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:09.917521Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:09.916040Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -340,18 +340,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": "2026-04-07T09:27:01.593005Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.592770Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.605767Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.605233Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:09.937522Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:09.936951Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.029822Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.028055Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -386,18 +386,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": "2026-04-07T09:27:01.607676Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.607432Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.620723Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.620191Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.053709Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.053015Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.141607Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.139930Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -434,18 +434,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": "2026-04-07T09:27:01.622574Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.622338Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.636167Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.635615Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.154193Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.153697Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.283938Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.267906Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -498,18 +498,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": "2026-04-07T09:27:01.638145Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.637897Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.653676Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.653131Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.297550Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.296942Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.443886Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.431940Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -571,18 +571,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": "2026-04-07T09:27:01.655784Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.655549Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.674623Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.674076Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.453494Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.452958Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.590819Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.587937Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -628,18 +628,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": "2026-04-07T09:27:01.676509Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.676273Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.691952Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.691394Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.611921Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.611053Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:10.771898Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:10.755927Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -716,18 +716,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": "2026-04-07T09:27:01.693916Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.693681Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.778328Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.777739Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:10.793788Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:10.793085Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:11.127006Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:11.117040Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -802,18 +802,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": "2026-04-07T09:27:01.780435Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.780196Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.795022Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.794465Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:11.150823Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:11.150257Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:11.264423Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:11.257558Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ModuleNotFoundError",
│ │ │ │ │ │ "evalue": "No module named 'numba'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -854,18 +854,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": "2026-04-07T09:27:01.796955Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.796716Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.811995Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.811443Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:11.281812Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:11.281064Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:11.395442Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:11.391788Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'interp1d_np_gufunc' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -908,18 +908,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": "2026-04-07T09:27:01.813938Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:01.813701Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:01.830406Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:01.829875Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:11.419032Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:11.418220Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:11.539033Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:11.526621Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "ModuleNotFoundError",
│ │ │ │ │ │ "evalue": "No module named 'numba'",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.html
│ │ │ │ @@ -186,15 +186,15 @@
│ │ │ │ File
/usr/lib/python3/dist-packages/pooch/utils.py:276 , in
make_local_storage (path, env)
│ │ │ │
272 if env
is not None :
│ │ │ │
273 message
. append(
│ │ │ │
274 f " Use environment variable ' { env
} ' to specify a different location. "
│ │ │ │
275 )
│ │ │ │
--> 276 raise PermissionError (
" " . join(message))
from error
│ │ │ │
│ │ │ │ -
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ Plot the first timestep:
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -121,15 +121,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ Plot the first timestep:
│ │ │ │ │ [3]:
│ │ │ │ │ projection = ccrs.LambertConformal(central_longitude=-95, central_latitude=45)
│ │ │ │ │
│ │ │ │ │ f, ax = plt.subplots(subplot_kw=dict(projection=projection))
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/area_weighted_temperature.ipynb.gz
│ │ │ │ ├── area_weighted_temperature.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.999094012605042%
│ │ │ │ │ │┄ Differences: {"'cells'": "{2: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:36:25.622290Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:36:25.621690Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:29.508451Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:29.502026Z'}}}, 4: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:36:29.522515Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:29.521579Z', 'iopub.status.idle': '2025-03-05T03:36:3 […]
│ │ │ │ │ │ @@ -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": "2026-04-07T09:27:04.389995Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:04.389755Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.264629Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.263997Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:25.622290Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:25.621690Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:29.508451Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:29.502026Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "\n",
│ │ │ │ │ │ "import cartopy.crs as ccrs\n",
│ │ │ │ │ │ @@ -63,24 +63,24 @@
│ │ │ │ │ │ "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": "2026-04-07T09:27:05.267464Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.266889Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.543997Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.543333Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:29.522515Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:29.521579Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:30.843947Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:30.842493Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -90,15 +90,15 @@
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mair_temperature\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;66;03m# to celsius\u001b[39;00m\n\u001b[1;32m 4\u001b[0m air \u001b[38;5;241m=\u001b[39m ds\u001b[38;5;241m.\u001b[39mair \u001b[38;5;241m-\u001b[39m \u001b[38;5;241m273.15\u001b[39m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:213\u001b[0m, in \u001b[0;36mload_dataset\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 176\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mload_dataset\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Dataset:\n\u001b[1;32m 177\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;124;03m Open, load into memory, and close a dataset from the online repository\u001b[39;00m\n\u001b[1;32m 179\u001b[0m \u001b[38;5;124;03m (requires internet).\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[38;5;124;03m load_dataset\u001b[39;00m\n\u001b[1;32m 212\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 213\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m \u001b[38;5;28;01mas\u001b[39;00m ds:\n\u001b[1;32m 214\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m ds\u001b[38;5;241m.\u001b[39mload()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "ds = xr.tutorial.load_dataset(\"air_temperature\")\n",
│ │ │ │ │ │ "\n",
│ │ │ │ │ │ "# to celsius\n",
│ │ │ │ │ │ @@ -122,18 +122,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": "2026-04-07T09:27:05.546179Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.545937Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.622282Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.621737Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:30.854962Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:30.854474Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:31.064880Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:31.063217Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -178,18 +178,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": "2026-04-07T09:27:05.624264Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.624026Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.636974Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.636453Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:31.070732Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:31.070246Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:31.111081Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:31.109999Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -219,18 +219,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": "2026-04-07T09:27:05.638820Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.638594Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.649833Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.649314Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:31.117265Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:31.116775Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:31.153422Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:31.152180Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -252,18 +252,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": "2026-04-07T09:27:05.651673Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.651442Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.663288Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.662744Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:31.159025Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:31.158507Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:31.196790Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:31.195222Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'air_weighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -294,18 +294,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": "2026-04-07T09:27:05.665167Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:05.664939Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:05.677113Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:05.676589Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:31.208720Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:31.208200Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:31.249886Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:31.248539Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'weighted_mean' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/blank_template.html
│ │ │ │ @@ -160,15 +160,15 @@
│ │ │ │ File
/usr/lib/python3/dist-packages/pooch/utils.py:276 , in
make_local_storage (path, env)
│ │ │ │
272 if env
is not None :
│ │ │ │
273 message
. append(
│ │ │ │
274 f " Use environment variable ' { env
} ' to specify a different location. "
│ │ │ │
275 )
│ │ │ │
--> 276 raise PermissionError (
" " . join(message))
from error
│ │ │ │
│ │ │ │ -
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Now for the heavy lifting:
│ │ │ │ We first have to come up with the weights, - calculate the month length for each monthly data record - calculate weights using groupby('time.season')
│ │ │ │ Finally, we just need to multiply our weights by the Dataset
and sum along the time dimension. Creating a DataArray
for the month length is as easy as using the days_in_month
accessor on the time coordinate. The calendar type, in this case 'noleap'
, is automatically considered in this operation.
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -92,15 +92,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ ********** NNooww ffoorr tthhee hheeaavvyy lliiffttiinngg::_?¶ **********
│ │ │ │ │ We first have to come up with the weights, - calculate the month length for
│ │ │ │ │ each monthly data record - calculate weights using groupby('time.season')
│ │ │ │ │ Finally, we just need to multiply our weights by the Dataset and sum along the
│ │ │ │ │ time dimension. Creating a DataArray for the month length is as easy as using
│ │ │ │ │ the days_in_month accessor on the time coordinate. The calendar type, in this
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/monthly-means.ipynb.gz
│ │ │ │ ├── monthly-means.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9985617897727272%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:36:48.941196Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:36:48.940603Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:51.756040Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:51.739988Z'}}}, 3: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:36:51.774340Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:36:51.773369Z', 'iopub.status.idle': '2025-03-05T03:36:5 […]
│ │ │ │ │ │ @@ -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": "2026-04-07T09:27:10.204142Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:10.203897Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.015766Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.015053Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:48.941196Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:48.940603Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:51.756040Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:51.739988Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import pandas as pd\n",
│ │ │ │ │ │ @@ -50,24 +50,24 @@
│ │ │ │ │ │ "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": "2026-04-07T09:27:11.018675Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.018289Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.294873Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.294188Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:51.774340Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:51.773369Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:54.008786Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:53.996927Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -76,15 +76,15 @@
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mrasm\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\u001b[38;5;241m.\u001b[39mload()\n\u001b[1;32m 2\u001b[0m ds\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "ds = xr.tutorial.open_dataset(\"rasm\").load()\n",
│ │ │ │ │ │ "ds"
│ │ │ │ │ │ ]
│ │ │ │ │ │ @@ -102,18 +102,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:11.297973Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.297726Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.311050Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.310445Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:54.031195Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:54.030667Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:54.117743Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:54.097577Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "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:51:36.132413Z",
│ │ │ │ │ │ "start_time": "2018-11-28T20:51:36.073708Z"
│ │ │ │ │ │ },
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:11.313568Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.313329Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.326969Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.326385Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:54.145998Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:54.145323Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:54.364021Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:54.347975Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'month_length' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -176,18 +176,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": "2026-04-07T09:27:11.328901Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.328659Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.340439Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.339850Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:54.384541Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:54.383951Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:54.576008Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:54.563960Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds_weighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -208,18 +208,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": "2026-04-07T09:27:11.342275Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.342038Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.354073Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.353483Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:54.597710Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:54.597088Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:54.853236Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:54.831247Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -242,18 +242,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": "2026-04-07T09:27:11.355957Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.355721Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.382364Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.381767Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:54.878076Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:54.877486Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:55.053538Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:55.036713Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds_unweighted' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -322,18 +322,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": "2026-04-07T09:27:11.384471Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:11.384232Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:11.388034Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:11.387442Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:36:55.085414Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:36:55.079513Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:36:55.129351Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:36:55.112930Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "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.html
│ │ │ │ @@ -158,15 +158,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276 , in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message. append(
│ │ │ │ 274 f " Use environment variable ' { env} ' to specify a different location. "
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError (" " . join(message)) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In this example, the logical coordinates are x
and y
, while the physical coordinates are xc
and yc
, which represent the longitudes and latitudes of the data.
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -90,15 +90,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ In this example, the llooggiiccaall ccoooorrddiinnaatteess are x and y, while the pphhyyssiiccaall
│ │ │ │ │ ccoooorrddiinnaatteess are xc and yc, which represent the longitudes and latitudes of the
│ │ │ │ │ data.
│ │ │ │ │ [3]:
│ │ │ │ │ print(ds.xc.attrs)
│ │ │ │ │ print(ds.yc.attrs)
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/multidimensional-coords.ipynb.gz
│ │ │ │ ├── multidimensional-coords.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9991536458333333%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:37:01.661852Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:37:01.661325Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:05.709725Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:05.697124Z'}}}, 3: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:37:05.742492Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:05.741640Z', 'iopub.status.idle': '2025-03-05T03:37:0 […]
│ │ │ │ │ │ @@ -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": "2026-04-07T09:27:13.262634Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:13.262398Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.111171Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.110451Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:01.661852Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:01.661325Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:05.709725Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:05.697124Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "%matplotlib inline\n",
│ │ │ │ │ │ "import numpy as np\n",
│ │ │ │ │ │ "import pandas as pd\n",
│ │ │ │ │ │ @@ -48,24 +48,24 @@
│ │ │ │ │ │ "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": "2026-04-07T09:27:14.114263Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.113868Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.388007Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.387363Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:05.742492Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:05.741640Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:08.136918Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:08.107980Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -74,15 +74,15 @@
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent'",
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mrasm\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\u001b[38;5;241m.\u001b[39mload()\n\u001b[1;32m 2\u001b[0m ds\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "ds = xr.tutorial.open_dataset(\"rasm\").load()\n",
│ │ │ │ │ │ "ds"
│ │ │ │ │ │ ]
│ │ │ │ │ │ @@ -99,18 +99,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": "2026-04-07T09:27:14.390250Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.390007Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.402773Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.402236Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:08.169976Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:08.169343Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:08.288406Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:08.265547Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -141,18 +141,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": "2026-04-07T09:27:14.404671Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.404439Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.649170Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.648608Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:08.339402Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:08.338819Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:09.446432Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:09.439938Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -194,18 +194,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": "2026-04-07T09:27:14.651738Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.651312Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.664428Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.663900Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:09.466814Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:09.466115Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:09.579985Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:09.563923Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -233,18 +233,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": "2026-04-07T09:27:14.666870Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.666363Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.735377Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.734659Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:09.597589Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:09.596988Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:10.051853Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:10.039952Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -291,18 +291,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": "2026-04-07T09:27:14.737645Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:14.737178Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:14.750688Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:14.750154Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:10.074070Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:10.073346Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:10.207959Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:10.191946Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.html
│ │ │ │ @@ -165,15 +165,15 @@
│ │ │ │ File
/usr/lib/python3/dist-packages/pooch/utils.py:276 , in
make_local_storage (path, env)
│ │ │ │
272 if env
is not None :
│ │ │ │
273 message
. append(
│ │ │ │
274 f " Use environment variable ' { env
} ' to specify a different location. "
│ │ │ │
275 )
│ │ │ │
--> 276 raise PermissionError (
" " . join(message))
from error
│ │ │ │
│ │ │ │ -
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +
PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Multiple plots and map projections
│ │ │ │ Control the map projection parameters on multiple axes
│ │ │ │ This example illustrates how to plot multiple maps and control their extent and aspect ratio.
│ │ │ │ For more details see this discussion on github.
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -98,15 +98,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │ ********** MMuullttiippllee pplloottss aanndd mmaapp pprroojjeeccttiioonnss_?¶ **********
│ │ │ │ │ Control the map projection parameters on multiple axes
│ │ │ │ │ This example illustrates how to plot multiple maps and control their extent and
│ │ │ │ │ aspect ratio.
│ │ │ │ │ For more details see _t_h_i_s_ _d_i_s_c_u_s_s_i_o_n on github.
│ │ │ │ │ [3]:
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/visualization_gallery.ipynb.gz
│ │ │ │ ├── visualization_gallery.ipynb
│ │ │ │ │ ├── Pretty-printed
│ │ │ │ │ │┄ Similarity: 0.9982919730392157%
│ │ │ │ │ │┄ Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2025-03-05T03:37:20.861495Z', "
│ │ │ │ │ │┄ "'iopub.status.busy': '2025-03-05T03:37:20.860959Z', 'iopub.status.idle': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:24.475957Z', 'shell.execute_reply': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:24.461181Z'}}}, 3: {'metadata': {'execution': "
│ │ │ │ │ │┄ "{'iopub.execute_input': '2025-03-05T03:37:24.505980Z', 'iopub.status.busy': "
│ │ │ │ │ │┄ "'2025-03-05T03:37:24.505102Z', 'iopub.status.idle': '2025-03-05T03:37:2 […]
│ │ │ │ │ │ @@ -10,18 +10,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 1,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:16.752534Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:16.752299Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.613295Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.612565Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:20.861495Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:20.860959Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:24.475957Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:24.461181Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "import cartopy.crs as ccrs\n",
│ │ │ │ │ │ "import matplotlib.pyplot as plt\n",
│ │ │ │ │ │ "import xarray as xr\n",
│ │ │ │ │ │ @@ -37,24 +37,24 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 2,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:17.616326Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:17.615941Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.902601Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.901868Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:24.505980Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:24.505102Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:26.612010Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:26.595875Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "PermissionError",
│ │ │ │ │ │ - "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ + "evalue": "[Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ "traceback": [
│ │ │ │ │ │ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:262\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 258\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreate\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 259\u001b[0m \u001b[38;5;66;03m# When running in parallel, it's possible that multiple jobs will\u001b[39;00m\n\u001b[1;32m 260\u001b[0m \u001b[38;5;66;03m# try to create the path at the same time. Use exist_ok to avoid\u001b[39;00m\n\u001b[1;32m 261\u001b[0m \u001b[38;5;66;03m# raising an error.\u001b[39;00m\n\u001b[0;32m--> 262\u001b[0m \u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3.13/os.py:217\u001b[0m, in \u001b[0;36mmakedirs\u001b[0;34m(name, mode, exist_ok)\u001b[0m\n\u001b[1;32m 216\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 217\u001b[0m \u001b[43mmakedirs\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhead\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mexist_ok\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mexist_ok\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mFileExistsError\u001b[39;00m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# Defeats race condition when another thread created the path\u001b[39;00m\n",
│ │ │ │ │ │ @@ -64,15 +64,15 @@
│ │ │ │ │ │ "\nThe above exception was the direct cause of the following exception:\n",
│ │ │ │ │ │ "\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
│ │ │ │ │ │ "Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m ds \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtutorial\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mair_temperature\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:213\u001b[0m, in \u001b[0;36mload_dataset\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 176\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mload_dataset\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Dataset:\n\u001b[1;32m 177\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;124;03m Open, load into memory, and close a dataset from the online repository\u001b[39;00m\n\u001b[1;32m 179\u001b[0m \u001b[38;5;124;03m (requires internet).\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[38;5;124;03m load_dataset\u001b[39;00m\n\u001b[1;32m 212\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 213\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m \u001b[38;5;28;01mas\u001b[39;00m ds:\n\u001b[1;32m 214\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m ds\u001b[38;5;241m.\u001b[39mload()\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/xarray/tutorial.py:165\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(name, cache, cache_dir, engine, **kws)\u001b[0m\n\u001b[1;32m 162\u001b[0m downloader \u001b[38;5;241m=\u001b[39m pooch\u001b[38;5;241m.\u001b[39mHTTPDownloader(headers\u001b[38;5;241m=\u001b[39mheaders)\n\u001b[1;32m 164\u001b[0m \u001b[38;5;66;03m# retrieve the file\u001b[39;00m\n\u001b[0;32m--> 165\u001b[0m filepath \u001b[38;5;241m=\u001b[39m \u001b[43mpooch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mretrieve\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 166\u001b[0m \u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mknown_hash\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_dir\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdownloader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdownloader\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 168\u001b[0m ds \u001b[38;5;241m=\u001b[39m _open_dataset(filepath, engine\u001b[38;5;241m=\u001b[39mengine, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkws)\n\u001b[1;32m 169\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m cache:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/core.py:227\u001b[0m, in \u001b[0;36mretrieve\u001b[0;34m(url, known_hash, fname, path, processor, downloader, progressbar)\u001b[0m\n\u001b[1;32m 222\u001b[0m action, verb \u001b[38;5;241m=\u001b[39m download_action(full_path, known_hash)\n\u001b[1;32m 224\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m action \u001b[38;5;129;01min\u001b[39;00m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdownload\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mupdate\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[1;32m 225\u001b[0m \u001b[38;5;66;03m# We need to write data, so create the local data directory if it\u001b[39;00m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;66;03m# doesn't already exist.\u001b[39;00m\n\u001b[0;32m--> 227\u001b[0m \u001b[43mmake_local_storage\u001b[49m\u001b[43m(\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 229\u001b[0m get_logger()\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 230\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m data from \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to file \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 231\u001b[0m verb,\n\u001b[1;32m 232\u001b[0m url,\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28mstr\u001b[39m(full_path),\n\u001b[1;32m 234\u001b[0m )\n\u001b[1;32m 236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m downloader \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
│ │ │ │ │ │ "File \u001b[0;32m/usr/lib/python3/dist-packages/pooch/utils.py:276\u001b[0m, in \u001b[0;36mmake_local_storage\u001b[0;34m(path, env)\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m env \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 273\u001b[0m message\u001b[38;5;241m.\u001b[39mappend(\n\u001b[1;32m 274\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUse environment variable \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00menv\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to specify a different location.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 275\u001b[0m )\n\u001b[0;32m--> 276\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mPermissionError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(message)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01merror\u001b[39;00m\n",
│ │ │ │ │ │ - "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ + "\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files."
│ │ │ │ │ │ ]
│ │ │ │ │ │ }
│ │ │ │ │ │ ],
│ │ │ │ │ │ "source": [
│ │ │ │ │ │ "ds = xr.tutorial.load_dataset(\"air_temperature\")"
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ @@ -91,18 +91,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 3,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:17.905034Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:17.904786Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.921976Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.921257Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:26.639049Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:26.638487Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:26.752752Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:26.739931Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -144,18 +144,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 4,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:17.924012Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:17.923772Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.941255Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.940680Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:26.764478Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:26.763020Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:26.947993Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:26.933322Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -208,18 +208,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 5,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:17.943828Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:17.943211Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.958739Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.957978Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:26.969533Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:26.969039Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:27.052945Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:27.046973Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ │ │ │ @@ -264,18 +264,18 @@
│ │ │ │ │ │ ]
│ │ │ │ │ │ },
│ │ │ │ │ │ {
│ │ │ │ │ │ "cell_type": "code",
│ │ │ │ │ │ "execution_count": 6,
│ │ │ │ │ │ "metadata": {
│ │ │ │ │ │ "execution": {
│ │ │ │ │ │ - "iopub.execute_input": "2026-04-07T09:27:17.960696Z",
│ │ │ │ │ │ - "iopub.status.busy": "2026-04-07T09:27:17.960446Z",
│ │ │ │ │ │ - "iopub.status.idle": "2026-04-07T09:27:17.976505Z",
│ │ │ │ │ │ - "shell.execute_reply": "2026-04-07T09:27:17.975734Z"
│ │ │ │ │ │ + "iopub.execute_input": "2025-03-05T03:37:27.060074Z",
│ │ │ │ │ │ + "iopub.status.busy": "2025-03-05T03:37:27.059519Z",
│ │ │ │ │ │ + "iopub.status.idle": "2025-03-05T03:37:27.147976Z",
│ │ │ │ │ │ + "shell.execute_reply": "2025-03-05T03:37:27.131960Z"
│ │ │ │ │ │ }
│ │ │ │ │ │ },
│ │ │ │ │ │ "outputs": [
│ │ │ │ │ │ {
│ │ │ │ │ │ "ename": "NameError",
│ │ │ │ │ │ "evalue": "name 'ds' is not defined",
│ │ │ │ │ │ "output_type": "error",
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/examples/weather-data.html
│ │ │ │ @@ -470,37 +470,37 @@
│ │ │ │ <xarray.Dataset> Size: 41kB
│ │ │ │ Dimensions: (time: 731, location: 3)
│ │ │ │ Coordinates:
│ │ │ │ * time (time) datetime64[ns] 6kB 2000-01-01 2000-01-02 ... 2001-12-31
│ │ │ │ * location (location) <U2 24B 'IA' 'IN' 'IL'
│ │ │ │ Data variables:
│ │ │ │ tmin (time, location) float64 18kB -8.037 -1.788 ... -1.346 -4.544
│ │ │ │ - tmax (time, location) float64 18kB 12.98 3.31 6.779 ... 3.343 3.805 PandasIndex
PandasIndex(Index(['IA', 'IN', 'IL'], dtype='object', name='location')) Attributes: (0)
│ │ │ │
│ │ │ │
│ │ │ │ Examine a dataset with pandas and seaborn
│ │ │ │
│ │ │ │ Convert to a pandas DataFrame
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Plotting
│ │ │ │ Visualizing your datasets is quick and convenient:
│ │ │ │ In [37]: data . plot ()
│ │ │ │ -Out[37]: <matplotlib.collections.QuadMesh at 0x7f93c3208440>
│ │ │ │ +Out[37]: <matplotlib.collections.QuadMesh at 0x7f39571d3e00>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 .
│ │ │ │
│ │ │ │
│ │ │ │ pandas
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -253,15 +253,15 @@
│ │ │ │ │ [0.37342613, 1.49497537, 1.33584385]])
│ │ │ │ │ Coordinates:
│ │ │ │ │ * x (x) int64 16B 10 20
│ │ │ │ │ Dimensions without coordinates: y
│ │ │ │ │ ********** PPlloottttiinngg_?¶ **********
│ │ │ │ │ Visualizing your datasets is quick and convenient:
│ │ │ │ │ In [37]: data.plot()
│ │ │ │ │ -Out[37]:
│ │ │ │ │ +Out[37]:
│ │ │ │ │ [_build/html/_static/plotting_quick_overview.png]
│ │ │ │ │ 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
│ │ │ │ │ _P_l_o_t_t_i_n_g.
│ │ │ │ │ ********** ppaannddaass_?¶ **********
│ │ │ │ │ Xarray objects can be easily converted to and from pandas objects using the
│ │ │ │ │ to_series(), to_dataframe() and _t_o___x_a_r_r_a_y_(_) methods:
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/internals/internal-design.html
│ │ │ │ @@ -210,15 +210,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276, in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message . append (
│ │ │ │ 274 f "Use environment variable ' { env } ' to specify a different location."
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError ( " " . join ( message )) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │ In [2]: var = da . variable
│ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ AttributeError Traceback (most recent call last)
│ │ │ │ Cell In [ 2 ], line 1
│ │ │ │ ----> 1 var = da . variable
│ │ │ │
│ │ │ │ @@ -312,15 +312,15 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276, in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message . append (
│ │ │ │ 274 f "Use environment variable ' { env } ' to specify a different location."
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError ( " " . join ( message )) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │ In [8]: var = da . variable
│ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ AttributeError Traceback (most recent call last)
│ │ │ │ Cell In [ 8 ], line 1
│ │ │ │ ----> 1 var = da . variable
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -159,15 +159,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │ In [2]: var = da.variable
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ AttributeError Traceback (most recent call last)
│ │ │ │ │ Cell In[2], line 1
│ │ │ │ │ ----> 1 var = da.variable
│ │ │ │ │ @@ -260,15 +260,15 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │ In [8]: var = da.variable
│ │ │ │ │ ---------------------------------------------------------------------------
│ │ │ │ │ AttributeError Traceback (most recent call last)
│ │ │ │ │ Cell In[8], line 1
│ │ │ │ │ ----> 1 var = da.variable
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/internals/zarr-encoding-spec.html
│ │ │ │ @@ -163,23 +163,23 @@
│ │ │ │ File /usr/lib/python3/dist-packages/pooch/utils.py:276, in make_local_storage (path, env)
│ │ │ │ 272 if env is not None :
│ │ │ │ 273 message . append (
│ │ │ │ 274 f "Use environment variable ' { env } ' to specify a different location."
│ │ │ │ 275 )
│ │ │ │ --> 276 raise PermissionError ( " " . join ( message )) from error
│ │ │ │
│ │ │ │ -PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError : [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │ In [5]: ds . to_zarr ( "rasm.zarr" , mode = "w" )
│ │ │ │ -Out[5]: <xarray.backends.zarr.ZarrStore at 0x7f939786bd00>
│ │ │ │ +Out[5]: <xarray.backends.zarr.ZarrStore at 0x7f3933957910>
│ │ │ │
│ │ │ │ In [6]: zgroup = zarr . open ( "rasm.zarr" )
│ │ │ │
│ │ │ │ In [7]: print ( os . listdir ( "rasm.zarr" ))
│ │ │ │ -['latitude', '.zgroup', '.zattrs', 'longitude', '.zmetadata']
│ │ │ │ +['.zmetadata', 'longitude', 'latitude', '.zattrs', '.zgroup']
│ │ │ │
│ │ │ │ In [8]: print ( zgroup . tree ())
│ │ │ │ /
│ │ │ │ ├── latitude (50,) float64
│ │ │ │ └── longitude (50,) float64
│ │ │ │
│ │ │ │ In [9]: dict ( zgroup [ "Tair" ] . attrs )
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -111,24 +111,24 @@
│ │ │ │ │ 273 message.append(
│ │ │ │ │ 274 f"Use environment variable '{env}' to specify a different
│ │ │ │ │ location."
│ │ │ │ │ 275 )
│ │ │ │ │ --> 276 raise PermissionError(" ".join(message)) from error
│ │ │ │ │
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │ In [5]: ds.to_zarr("rasm.zarr", mode="w")
│ │ │ │ │ -Out[5]:
│ │ │ │ │ +Out[5]:
│ │ │ │ │
│ │ │ │ │ In [6]: zgroup = zarr.open("rasm.zarr")
│ │ │ │ │
│ │ │ │ │ In [7]: print(os.listdir("rasm.zarr"))
│ │ │ │ │ -['latitude', '.zgroup', '.zattrs', 'longitude', '.zmetadata']
│ │ │ │ │ +['.zmetadata', 'longitude', 'latitude', '.zattrs', '.zgroup']
│ │ │ │ │
│ │ │ │ │ In [8]: print(zgroup.tree())
│ │ │ │ │ /
│ │ │ │ │ ├── latitude (50,) float64
│ │ │ │ │ └── longitude (50,) float64
│ │ │ │ │
│ │ │ │ │ In [9]: dict(zgroup["Tair"].attrs)
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/searchindex.js
│ │ │ │ ├── js-beautify {}
│ │ │ │ │ @@ -2353,49 +2353,54 @@
│ │ │ │ │ "4": "py:attribute",
│ │ │ │ │ "5": "py:function"
│ │ │ │ │ },
│ │ │ │ │ "terms": {
│ │ │ │ │ "": [1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52],
│ │ │ │ │ "0": [3, 6, 7, 8, 9, 11, 12, 13, 14, 16, 18, 19, 20, 22, 24, 25, 26, 27, 28, 30, 33, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "00": [14, 36, 37, 38, 45, 47, 51, 52, 53, 54],
│ │ │ │ │ + "000": 51,
│ │ │ │ │ "000000": [14, 16],
│ │ │ │ │ "000000000": [14, 37, 38, 52],
│ │ │ │ │ "0001": [53, 54],
│ │ │ │ │ "00010101": 53,
│ │ │ │ │ "00010201": 53,
│ │ │ │ │ "00010301": 53,
│ │ │ │ │ "0002": 53,
│ │ │ │ │ "00021001": 53,
│ │ │ │ │ "00021101": 53,
│ │ │ │ │ "00021201": 53,
│ │ │ │ │ "000e": [48, 51],
│ │ │ │ │ + "000j": 51,
│ │ │ │ │ "001e": 37,
│ │ │ │ │ + "001j": 51,
│ │ │ │ │ "005036": 40,
│ │ │ │ │ "005e": 37,
│ │ │ │ │ "00688889": 36,
│ │ │ │ │ "006e": 37,
│ │ │ │ │ + "007e": 51,
│ │ │ │ │ "00914929": 36,
│ │ │ │ │ "00941742": 36,
│ │ │ │ │ "00968205": 36,
│ │ │ │ │ "00973567": 36,
│ │ │ │ │ - "00j": 51,
│ │ │ │ │ - "01": [14, 16, 20, 26, 30, 32, 37, 38, 41, 43, 44, 45, 47, 48, 51, 52, 53],
│ │ │ │ │ + "01": [14, 16, 20, 26, 30, 32, 37, 38, 41, 43, 44, 45, 47, 48, 52, 53],
│ │ │ │ │ "010569": 14,
│ │ │ │ │ "01082401": 36,
│ │ │ │ │ "01183847": 36,
│ │ │ │ │ + "016": 51,
│ │ │ │ │ "01612903": 14,
│ │ │ │ │ "01636376": 36,
│ │ │ │ │ "01652688": 36,
│ │ │ │ │ "01652764": 36,
│ │ │ │ │ "0165891": 36,
│ │ │ │ │ "01670071": 36,
│ │ │ │ │ "01670121": 36,
│ │ │ │ │ "01671269": 36,
│ │ │ │ │ "01671847": 36,
│ │ │ │ │ "01672": 36,
│ │ │ │ │ + "016j": 51,
│ │ │ │ │ "017": 43,
│ │ │ │ │ "01806694": 36,
│ │ │ │ │ "01814439": 36,
│ │ │ │ │ "0182217": 36,
│ │ │ │ │ "018e": 37,
│ │ │ │ │ "019": 40,
│ │ │ │ │ "01906": 48,
│ │ │ │ │ @@ -2411,14 +2416,15 @@
│ │ │ │ │ "026e": 37,
│ │ │ │ │ "02756784": 19,
│ │ │ │ │ "029e": 48,
│ │ │ │ │ "02t00": [14, 37, 38],
│ │ │ │ │ "03": [6, 14, 37, 43, 44, 45, 48, 52, 53],
│ │ │ │ │ "03047": 48,
│ │ │ │ │ "031": 41,
│ │ │ │ │ + "032e": 51,
│ │ │ │ │ "03333": 44,
│ │ │ │ │ "03343807": 36,
│ │ │ │ │ "03343845": 36,
│ │ │ │ │ "03343858": 36,
│ │ │ │ │ "03344": 36,
│ │ │ │ │ "035e": 37,
│ │ │ │ │ "03611368": 36,
│ │ │ │ │ @@ -2426,29 +2432,28 @@
│ │ │ │ │ "03642301": 36,
│ │ │ │ │ "036e": 48,
│ │ │ │ │ "037": 14,
│ │ │ │ │ "037369": 14,
│ │ │ │ │ "03736932": 14,
│ │ │ │ │ "0379266750948": 45,
│ │ │ │ │ "037e": 37,
│ │ │ │ │ - "038": 43,
│ │ │ │ │ + "038": [43, 51],
│ │ │ │ │ "03835": 41,
│ │ │ │ │ "03957499": 19,
│ │ │ │ │ "03t00": [14, 37, 38],
│ │ │ │ │ "04": [14, 19, 36, 37, 38, 41, 43, 47, 52],
│ │ │ │ │ "040347": 14,
│ │ │ │ │ "04096206": 36,
│ │ │ │ │ "04097352": 36,
│ │ │ │ │ "040e": 48,
│ │ │ │ │ "0417827": 45,
│ │ │ │ │ "042e": 37,
│ │ │ │ │ "044": [35, 47],
│ │ │ │ │ "04423597": 19,
│ │ │ │ │ "044236": 47,
│ │ │ │ │ - "045": 51,
│ │ │ │ │ "045588": 14,
│ │ │ │ │ "04569531": 36,
│ │ │ │ │ "04569651": 14,
│ │ │ │ │ "04703446": 36,
│ │ │ │ │ "047e": [37, 48],
│ │ │ │ │ "04835611": 36,
│ │ │ │ │ "04862391": 36,
│ │ │ │ │ @@ -2457,15 +2462,14 @@
│ │ │ │ │ "05": [14, 36, 38, 45, 48, 52, 53],
│ │ │ │ │ "05405954": 36,
│ │ │ │ │ "05556": 44,
│ │ │ │ │ "056": 44,
│ │ │ │ │ "057e": 37,
│ │ │ │ │ "058e": 37,
│ │ │ │ │ "05912615": 36,
│ │ │ │ │ - "05j": 51,
│ │ │ │ │ "05t00": 37,
│ │ │ │ │ "06": [14, 28, 36, 38, 45, 52],
│ │ │ │ │ "060403": 14,
│ │ │ │ │ "061": 43,
│ │ │ │ │ "06141": 41,
│ │ │ │ │ "06187252": 14,
│ │ │ │ │ "062": 41,
│ │ │ │ │ @@ -2477,15 +2481,15 @@
│ │ │ │ │ "06689": 36,
│ │ │ │ │ "066e": [37, 48],
│ │ │ │ │ "06732": 41,
│ │ │ │ │ "067e": 48,
│ │ │ │ │ "069": 44,
│ │ │ │ │ "06957": 40,
│ │ │ │ │ "06t00": 37,
│ │ │ │ │ - "07": [14, 38, 51, 52, 53],
│ │ │ │ │ + "07": [14, 38, 52, 53],
│ │ │ │ │ "070e": 37,
│ │ │ │ │ "07180381": 19,
│ │ │ │ │ "071804": 47,
│ │ │ │ │ "072": 47,
│ │ │ │ │ "072e": 48,
│ │ │ │ │ "074e": 37,
│ │ │ │ │ "078": 41,
│ │ │ │ │ @@ -2502,129 +2506,130 @@
│ │ │ │ │ "08347003": 36,
│ │ │ │ │ "08349886": 36,
│ │ │ │ │ "083590": 14,
│ │ │ │ │ "08361": 36,
│ │ │ │ │ "083e": 48,
│ │ │ │ │ "08444113": 36,
│ │ │ │ │ "084e": 48,
│ │ │ │ │ + "084j": 51,
│ │ │ │ │ "0868139": 36,
│ │ │ │ │ "08724442": 36,
│ │ │ │ │ "08729468": 36,
│ │ │ │ │ "088": 38,
│ │ │ │ │ "089e": 37,
│ │ │ │ │ "08t00": 37,
│ │ │ │ │ "09": [14, 36, 38, 52],
│ │ │ │ │ "09179": 36,
│ │ │ │ │ "091e": 37,
│ │ │ │ │ + "093": 51,
│ │ │ │ │ "094": [41, 43],
│ │ │ │ │ "094e": 48,
│ │ │ │ │ "096": 43,
│ │ │ │ │ "096e": 48,
│ │ │ │ │ "09705329": 36,
│ │ │ │ │ "097e": 37,
│ │ │ │ │ "099": 41,
│ │ │ │ │ "09t00": 37,
│ │ │ │ │ "0alpha10": 54,
│ │ │ │ │ "0d": 54,
│ │ │ │ │ "0dev": 54,
│ │ │ │ │ - "0e": 51,
│ │ │ │ │ "0th": [37, 43],
│ │ │ │ │ "0x0l": 54,
│ │ │ │ │ - "0x7f0d1cd74fe0": 6,
│ │ │ │ │ - "0x7f9395de3950": 48,
│ │ │ │ │ - "0x7f93961ee4d0": 45,
│ │ │ │ │ - "0x7f93961ef520": 45,
│ │ │ │ │ - "0x7f93961efb50": 45,
│ │ │ │ │ - "0x7f93962802d0": 54,
│ │ │ │ │ - "0x7f9396579e10": 45,
│ │ │ │ │ - "0x7f9397503cb0": 48,
│ │ │ │ │ - "0x7f93975becf0": 48,
│ │ │ │ │ - "0x7f939786bd00": 32,
│ │ │ │ │ - "0x7f9399bbc1a0": 48,
│ │ │ │ │ - "0x7f939a5a2ad0": 38,
│ │ │ │ │ - "0x7f939a5a2c10": 38,
│ │ │ │ │ - "0x7f93c3208440": 19,
│ │ │ │ │ - "0x7f93c3208c20": 44,
│ │ │ │ │ - "0x7f93c3209400": 48,
│ │ │ │ │ - "0x7f93c323e490": 44,
│ │ │ │ │ - "0x7f93c323e5d0": 44,
│ │ │ │ │ - "0x7f93c32b0a50": 48,
│ │ │ │ │ - "0x7f93c339b250": 44,
│ │ │ │ │ - "0x7f93e17a4b90": 48,
│ │ │ │ │ - "0x7f93e17a4cd0": 48,
│ │ │ │ │ - "0x7f93e17a4e10": 48,
│ │ │ │ │ - "0x7f93e17a4f50": 48,
│ │ │ │ │ - "0x7f93e17a5090": 48,
│ │ │ │ │ - "0x7f93e18fe490": 48,
│ │ │ │ │ - "0x7f93e18fe5d0": 48,
│ │ │ │ │ - "0x7f93e18fe710": 48,
│ │ │ │ │ - "0x7f93e18fe850": 48,
│ │ │ │ │ - "0x7f93e1a5e210": 48,
│ │ │ │ │ - "0x7f93e1b15090": 48,
│ │ │ │ │ - "0x7f93e2304e10": 48,
│ │ │ │ │ - "0x7f93e2304f50": 48,
│ │ │ │ │ - "0x7f93e2306fd0": 48,
│ │ │ │ │ - "0x7f93e2307750": 48,
│ │ │ │ │ - "0x7f93e2323ed0": 48,
│ │ │ │ │ - "0x7f93e23ade50": 48,
│ │ │ │ │ - "0x7f93e23adf90": 48,
│ │ │ │ │ - "0x7f93e23af250": 48,
│ │ │ │ │ - "0x7f93e23c9590": 48,
│ │ │ │ │ - "0x7f93e280f4d0": 48,
│ │ │ │ │ - "0x7f93e2967ed0": 48,
│ │ │ │ │ - "0x7f93e2a4a710": 48,
│ │ │ │ │ - "0x7f93e2af2ad0": 48,
│ │ │ │ │ - "0x7f93e2fcc2d0": 48,
│ │ │ │ │ - "0x7f93e2fcce10": 48,
│ │ │ │ │ - "0x7f93e2fcf390": 48,
│ │ │ │ │ - "0x7f93e3016c10": 48,
│ │ │ │ │ - "0x7f93e31307d0": 48,
│ │ │ │ │ - "0x7f93e333c440": 48,
│ │ │ │ │ - "0x7f93e3699310": 48,
│ │ │ │ │ - "0x7f93e369b250": 48,
│ │ │ │ │ - "0x7f93e390c4c0": 45,
│ │ │ │ │ - "0x7f93e390cdc0": 45,
│ │ │ │ │ - "0x7f93e390ce50": 45,
│ │ │ │ │ - "0x7f93e390d900": 45,
│ │ │ │ │ - "0x7f998cabf770": 14,
│ │ │ │ │ + "0x7f0b76afb770": 14,
│ │ │ │ │ + "0x7f39322c84c0": 45,
│ │ │ │ │ + "0x7f39322c8dc0": 45,
│ │ │ │ │ + "0x7f39322c8e50": 45,
│ │ │ │ │ + "0x7f39322c9900": 45,
│ │ │ │ │ + "0x7f39324264d0": 45,
│ │ │ │ │ + "0x7f3932427520": 45,
│ │ │ │ │ + "0x7f3932427b50": 45,
│ │ │ │ │ + "0x7f393252fed0": 48,
│ │ │ │ │ + "0x7f39325b5e10": 45,
│ │ │ │ │ + "0x7f393289b6f0": 48,
│ │ │ │ │ + "0x7f3933703b60": 48,
│ │ │ │ │ + "0x7f3933957910": 32,
│ │ │ │ │ + "0x7f3934ab3890": 48,
│ │ │ │ │ + "0x7f3935fa3770": 48,
│ │ │ │ │ + "0x7f39369a6c10": 38,
│ │ │ │ │ + "0x7f39369a6d50": 38,
│ │ │ │ │ + "0x7f395662cf50": 48,
│ │ │ │ │ + "0x7f39570842f0": 48,
│ │ │ │ │ + "0x7f39570846e0": 44,
│ │ │ │ │ + "0x7f395709bb10": 48,
│ │ │ │ │ + "0x7f39570ce710": 54,
│ │ │ │ │ + "0x7f39570fb750": 44,
│ │ │ │ │ + "0x7f39570fb9d0": 44,
│ │ │ │ │ + "0x7f39570fbd90": 44,
│ │ │ │ │ + "0x7f39571d3e00": 19,
│ │ │ │ │ + "0x7f395757fa10": 48,
│ │ │ │ │ + "0x7f396ee9a490": 48,
│ │ │ │ │ + "0x7f396ee9a5d0": 48,
│ │ │ │ │ + "0x7f396ee9a710": 48,
│ │ │ │ │ + "0x7f396ee9a850": 48,
│ │ │ │ │ + "0x7f396eebcb90": 48,
│ │ │ │ │ + "0x7f396eebccd0": 48,
│ │ │ │ │ + "0x7f396eebce10": 48,
│ │ │ │ │ + "0x7f396eebcf50": 48,
│ │ │ │ │ + "0x7f396eebd090": 48,
│ │ │ │ │ + "0x7f396f065090": 48,
│ │ │ │ │ + "0x7f396f094a50": 48,
│ │ │ │ │ + "0x7f396f120b90": 48,
│ │ │ │ │ + "0x7f396f1239d0": 48,
│ │ │ │ │ + "0x7f396f123b10": 48,
│ │ │ │ │ + "0x7f396f123c50": 48,
│ │ │ │ │ + "0x7f396f1b25d0": 48,
│ │ │ │ │ + "0x7f396f1b2710": 48,
│ │ │ │ │ + "0x7f396f1b2850": 48,
│ │ │ │ │ + "0x7f396f9c1590": 48,
│ │ │ │ │ + "0x7f396fa3c190": 48,
│ │ │ │ │ + "0x7f396ff1b4d0": 48,
│ │ │ │ │ + "0x7f396ff62710": 48,
│ │ │ │ │ + "0x7f3970223d90": 48,
│ │ │ │ │ + "0x7f3970564f50": 48,
│ │ │ │ │ + "0x7f39706e0050": 48,
│ │ │ │ │ + "0x7f39706e2ad0": 48,
│ │ │ │ │ + "0x7f397071e0d0": 48,
│ │ │ │ │ + "0x7f3970777c50": 48,
│ │ │ │ │ + "0x7f3970854440": 48,
│ │ │ │ │ + "0x7f3fcd2ecfe0": 6,
│ │ │ │ │ "1": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 43, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "10": [3, 6, 7, 8, 12, 13, 14, 16, 18, 19, 24, 25, 26, 27, 28, 30, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "100": [3, 7, 8, 27, 28, 35, 36, 37, 38, 41, 43, 44, 45, 48, 49, 50, 54],
│ │ │ │ │ "1000": [27, 37, 54],
│ │ │ │ │ "10000": 36,
│ │ │ │ │ "100000": 37,
│ │ │ │ │ "1000x1000": [6, 37],
│ │ │ │ │ "1003": 36,
│ │ │ │ │ "100b": 47,
│ │ │ │ │ + "100e": 51,
│ │ │ │ │ "101": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "101985": 45,
│ │ │ │ │ "101e": 37,
│ │ │ │ │ "102": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "1025": 41,
│ │ │ │ │ "102e": 37,
│ │ │ │ │ "103": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "104": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "104569": 47,
│ │ │ │ │ "10456922": 19,
│ │ │ │ │ "104b": [35, 38],
│ │ │ │ │ - "104e": 51,
│ │ │ │ │ "105": [35, 36, 38, 41, 43, 47, 48],
│ │ │ │ │ "1054": 30,
│ │ │ │ │ "1055": 30,
│ │ │ │ │ "1056": 30,
│ │ │ │ │ "105e": 37,
│ │ │ │ │ "106": [36, 38, 41, 43, 48],
│ │ │ │ │ "10614938": 36,
│ │ │ │ │ "107": [36, 38, 41, 43, 48],
│ │ │ │ │ "1074": 30,
│ │ │ │ │ "1075": 30,
│ │ │ │ │ "1076": 30,
│ │ │ │ │ "1078": 30,
│ │ │ │ │ "107e": 48,
│ │ │ │ │ - "108": [36, 38, 41, 43, 48, 52],
│ │ │ │ │ + "108": [36, 38, 41, 43, 48, 51, 52],
│ │ │ │ │ "1080": [26, 30],
│ │ │ │ │ "1081": 30,
│ │ │ │ │ "108232": 14,
│ │ │ │ │ "1087": 41,
│ │ │ │ │ "109": [6, 36, 38, 41, 43, 48],
│ │ │ │ │ "10kb": 36,
│ │ │ │ │ "10m": [6, 7],
│ │ │ │ │ @@ -2635,53 +2640,54 @@
│ │ │ │ │ "11": [3, 7, 8, 14, 19, 27, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "110": [6, 36, 38, 43, 48],
│ │ │ │ │ "111": [6, 36, 38, 43, 48],
│ │ │ │ │ "11111111": 36,
│ │ │ │ │ "112": [6, 36, 38, 43, 48],
│ │ │ │ │ "1126": 41,
│ │ │ │ │ "113": [6, 36, 38, 43, 48],
│ │ │ │ │ + "113e": 51,
│ │ │ │ │ "114": [6, 36, 38, 43, 48],
│ │ │ │ │ - "115": [6, 36, 38, 43, 48, 51],
│ │ │ │ │ + "115": [6, 36, 38, 43, 48],
│ │ │ │ │ "11567869": 14,
│ │ │ │ │ "116": [36, 38, 43, 48],
│ │ │ │ │ "116e": 37,
│ │ │ │ │ + "116j": 51,
│ │ │ │ │ "117": [36, 38, 43, 48, 52],
│ │ │ │ │ "118": [36, 38, 43, 48, 52],
│ │ │ │ │ - "11855": 51,
│ │ │ │ │ "119": [36, 38, 43, 44, 48, 52],
│ │ │ │ │ "1192": [35, 47],
│ │ │ │ │ "11920871": 19,
│ │ │ │ │ "119209": 47,
│ │ │ │ │ "119e": 37,
│ │ │ │ │ "11t00": 37,
│ │ │ │ │ "12": [8, 11, 14, 18, 19, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "120": [36, 38, 43, 45, 48, 50, 52],
│ │ │ │ │ "1209": 36,
│ │ │ │ │ "120b": [35, 36, 41, 47],
│ │ │ │ │ "121": [36, 38, 43, 48, 52],
│ │ │ │ │ "1212": 36,
│ │ │ │ │ - "122": [36, 38, 43, 48, 52],
│ │ │ │ │ + "122": [36, 38, 43, 48, 51, 52],
│ │ │ │ │ "123": [14, 19, 36, 38, 43, 47, 48, 49, 52, 54],
│ │ │ │ │ "1231": 40,
│ │ │ │ │ "12310214428849964": 54,
│ │ │ │ │ "1234": 3,
│ │ │ │ │ "124": [36, 43, 45, 48, 52],
│ │ │ │ │ "12428": 53,
│ │ │ │ │ "125": [36, 43, 45, 48],
│ │ │ │ │ "126": [36, 43, 48, 54],
│ │ │ │ │ "12696983303810094": 54,
│ │ │ │ │ "127": [36, 38, 40, 43, 48, 54],
│ │ │ │ │ "128": [36, 43, 48, 54],
│ │ │ │ │ - "128b": [19, 35, 40, 43],
│ │ │ │ │ + "128b": [19, 35, 40, 43, 51],
│ │ │ │ │ "129": [36, 43, 48, 54],
│ │ │ │ │ "12903226": 14,
│ │ │ │ │ "1294": 43,
│ │ │ │ │ "12944067971751294": 54,
│ │ │ │ │ "12arrai": 14,
│ │ │ │ │ - "12b": [19, 35, 43, 47, 49, 51, 54],
│ │ │ │ │ + "12b": [19, 35, 43, 47, 49, 54],
│ │ │ │ │ "12kb": 52,
│ │ │ │ │ "12locat": 14,
│ │ │ │ │ "12t00": 37,
│ │ │ │ │ "12xarrai": 14,
│ │ │ │ │ "13": [6, 7, 8, 9, 10, 11, 12, 13, 14, 19, 30, 32, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "130": [6, 36, 43, 48],
│ │ │ │ │ "131": [6, 36, 43, 48],
│ │ │ │ │ @@ -2719,15 +2725,14 @@
│ │ │ │ │ "1443657600": 45,
│ │ │ │ │ "144b": [19, 38, 40, 43],
│ │ │ │ │ "145": [36, 48],
│ │ │ │ │ "145e": 37,
│ │ │ │ │ "146": [36, 48],
│ │ │ │ │ "1460": 52,
│ │ │ │ │ "14641918": 14,
│ │ │ │ │ - "14645": 51,
│ │ │ │ │ "14672529": 36,
│ │ │ │ │ "147": [36, 48],
│ │ │ │ │ "148": [16, 36, 48],
│ │ │ │ │ "14874584": 36,
│ │ │ │ │ "14880519": 19,
│ │ │ │ │ "149": 48,
│ │ │ │ │ "14974655": 36,
│ │ │ │ │ @@ -2739,21 +2744,20 @@
│ │ │ │ │ "15": [6, 7, 8, 9, 13, 14, 19, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "150": [36, 48],
│ │ │ │ │ "1505": 36,
│ │ │ │ │ "150e": 48,
│ │ │ │ │ "151": 48,
│ │ │ │ │ "152": [38, 48],
│ │ │ │ │ "152b": [38, 50],
│ │ │ │ │ - "153": 48,
│ │ │ │ │ + "153": [48, 51],
│ │ │ │ │ "153e": 37,
│ │ │ │ │ "154e": 37,
│ │ │ │ │ "155": 41,
│ │ │ │ │ "158": [41, 44],
│ │ │ │ │ "158e": 37,
│ │ │ │ │ - "159": 51,
│ │ │ │ │ "15b": 36,
│ │ │ │ │ "15t00": 37,
│ │ │ │ │ "15th": 50,
│ │ │ │ │ "16": [8, 11, 19, 33, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "160": 13,
│ │ │ │ │ "160b": [25, 45, 54],
│ │ │ │ │ "16129032": 14,
│ │ │ │ │ @@ -2768,46 +2772,45 @@
│ │ │ │ │ "1667": 44,
│ │ │ │ │ "167": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 38],
│ │ │ │ │ "1678": [18, 52, 53],
│ │ │ │ │ "168": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "168b": [35, 36],
│ │ │ │ │ "169": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 41],
│ │ │ │ │ "16959064": 36,
│ │ │ │ │ - "169e": 51,
│ │ │ │ │ "16b": [19, 35, 36, 38, 40, 43, 44, 45, 47, 49, 50, 51, 53, 54],
│ │ │ │ │ "16t00": 37,
│ │ │ │ │ "17": [8, 19, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "170": 6,
│ │ │ │ │ "1703814": 45,
│ │ │ │ │ "171": [6, 43],
│ │ │ │ │ "171e": [37, 48],
│ │ │ │ │ "172": 6,
│ │ │ │ │ "17234978": 19,
│ │ │ │ │ "173": [47, 49],
│ │ │ │ │ "1732": [19, 35, 47],
│ │ │ │ │ "17321465": [19, 35],
│ │ │ │ │ "173215": [19, 47],
│ │ │ │ │ "173e": 37,
│ │ │ │ │ - "174": [37, 38],
│ │ │ │ │ + "174": [37, 38, 51],
│ │ │ │ │ "175": 37,
│ │ │ │ │ "175e": 51,
│ │ │ │ │ "176": [6, 8, 9, 10, 13, 32, 37],
│ │ │ │ │ "177": [6, 8, 9, 10, 13, 32, 37],
│ │ │ │ │ + "17709": 51,
│ │ │ │ │ "1779": 36,
│ │ │ │ │ "177e": 37,
│ │ │ │ │ "178": [6, 8, 9, 10, 13, 32, 37],
│ │ │ │ │ "179": [6, 8, 9, 10, 13, 32, 37, 41],
│ │ │ │ │ "17t00": 37,
│ │ │ │ │ "18": [3, 8, 18, 19, 27, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "180": [6, 37, 44],
│ │ │ │ │ "18072141": 14,
│ │ │ │ │ "181": 6,
│ │ │ │ │ "182": [6, 36, 38],
│ │ │ │ │ "183": 6,
│ │ │ │ │ - "18322": 51,
│ │ │ │ │ "184": 6,
│ │ │ │ │ "184b": 47,
│ │ │ │ │ "185": 6,
│ │ │ │ │ "18672976": 36,
│ │ │ │ │ "187": 6,
│ │ │ │ │ "188": 6,
│ │ │ │ │ "189": [6, 44],
│ │ │ │ │ @@ -2836,15 +2839,14 @@
│ │ │ │ │ "1e": 54,
│ │ │ │ │ "1e6": 36,
│ │ │ │ │ "1h": 52,
│ │ │ │ │ "1kb": [36, 37],
│ │ │ │ │ "1m": 14,
│ │ │ │ │ "1st": [43, 50],
│ │ │ │ │ "1ye": 54,
│ │ │ │ │ - "1\u017c\u013e\u00e6\u00ea": 51,
│ │ │ │ │ "2": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 18, 19, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "20": [8, 13, 14, 16, 19, 24, 25, 26, 28, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "200": [6, 36, 43, 48, 49],
│ │ │ │ │ "2000": [14, 16, 27, 36, 38, 43, 44, 45, 47, 52, 54],
│ │ │ │ │ "2001": [7, 14, 45, 53, 54],
│ │ │ │ │ "201": [6, 38, 43],
│ │ │ │ │ "2014": [20, 38],
│ │ │ │ │ @@ -2861,30 +2863,25 @@
│ │ │ │ │ "2025": [26, 30, 32, 45],
│ │ │ │ │ "202e": 37,
│ │ │ │ │ "203": 6,
│ │ │ │ │ "205": [6, 43],
│ │ │ │ │ "206e": 37,
│ │ │ │ │ "207": 45,
│ │ │ │ │ "208e": 37,
│ │ │ │ │ - "20968": 51,
│ │ │ │ │ "20995484": 19,
│ │ │ │ │ "20b": 19,
│ │ │ │ │ "20t00": 37,
│ │ │ │ │ "21": [8, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 51, 52, 53],
│ │ │ │ │ "210e": 37,
│ │ │ │ │ "211": [6, 8, 9, 10, 13, 32],
│ │ │ │ │ "212": [6, 8, 9, 10, 13, 19, 32, 35, 47, 49],
│ │ │ │ │ "212112": [19, 47],
│ │ │ │ │ "21211203": [19, 35],
│ │ │ │ │ "213": [6, 8, 9, 10, 13, 32],
│ │ │ │ │ "214": [6, 8, 9, 10, 13, 32, 40],
│ │ │ │ │ - "2147440432": 51,
│ │ │ │ │ - "2147469683": 51,
│ │ │ │ │ - "2147483559": 51,
│ │ │ │ │ - "2147483646": 51,
│ │ │ │ │ "216": [6, 7, 8, 9, 10, 11, 12, 13, 14],
│ │ │ │ │ "2161": 6,
│ │ │ │ │ "21616663": 14,
│ │ │ │ │ "2162": 6,
│ │ │ │ │ "2163": 6,
│ │ │ │ │ "2164": 6,
│ │ │ │ │ "2165": 6,
│ │ │ │ │ @@ -2893,18 +2890,16 @@
│ │ │ │ │ "2174": 36,
│ │ │ │ │ "218": [6, 7, 8, 9, 10, 11, 12, 13],
│ │ │ │ │ "219": [6, 7, 8, 9, 10, 11, 12, 13],
│ │ │ │ │ "2193": 14,
│ │ │ │ │ "21t00": 37,
│ │ │ │ │ "22": [14, 19, 33, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 51, 52, 53],
│ │ │ │ │ "220": 43,
│ │ │ │ │ - "221": 51,
│ │ │ │ │ "222": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "22222222": 36,
│ │ │ │ │ - "22316": 51,
│ │ │ │ │ "224": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "224e": 37,
│ │ │ │ │ "225": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "22546326": 36,
│ │ │ │ │ "225e": 51,
│ │ │ │ │ "226": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "2262": [18, 52, 53],
│ │ │ │ │ @@ -2922,18 +2917,16 @@
│ │ │ │ │ "233": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "2333": 14,
│ │ │ │ │ "23333333": 14,
│ │ │ │ │ "234": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "234e": 37,
│ │ │ │ │ "2355": 43,
│ │ │ │ │ "236": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ - "23794": 51,
│ │ │ │ │ "2380": 54,
│ │ │ │ │ "23859177": 36,
│ │ │ │ │ - "239": 51,
│ │ │ │ │ "23991312": 36,
│ │ │ │ │ "23kb": 52,
│ │ │ │ │ "23t00": 37,
│ │ │ │ │ "23t12": 36,
│ │ │ │ │ "24": [7, 14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "240": [44, 48, 52],
│ │ │ │ │ "240b": [37, 45],
│ │ │ │ │ @@ -2947,32 +2940,29 @@
│ │ │ │ │ "245e": 48,
│ │ │ │ │ "2467": 37,
│ │ │ │ │ "248": 36,
│ │ │ │ │ "2483": 36,
│ │ │ │ │ "248b": [19, 45],
│ │ │ │ │ "248e": 37,
│ │ │ │ │ "2493": 45,
│ │ │ │ │ - "24b": [14, 19, 35, 36, 38, 40, 41, 43, 44, 47, 48, 49, 50, 51, 54],
│ │ │ │ │ + "24b": [14, 19, 35, 36, 38, 40, 41, 43, 44, 47, 48, 49, 50, 54],
│ │ │ │ │ "24h": 54,
│ │ │ │ │ "24t00": 37,
│ │ │ │ │ "25": [7, 8, 14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "250": [13, 48],
│ │ │ │ │ "2509": 36,
│ │ │ │ │ "251": 36,
│ │ │ │ │ "2515": 36,
│ │ │ │ │ "25176289": 14,
│ │ │ │ │ "253": 38,
│ │ │ │ │ - "2547821043": 51,
│ │ │ │ │ "255": [13, 43, 45],
│ │ │ │ │ "2554": 40,
│ │ │ │ │ - "2561": 51,
│ │ │ │ │ "258": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 43],
│ │ │ │ │ "25828142": 36,
│ │ │ │ │ "259": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 41, 44],
│ │ │ │ │ - "2592": 51,
│ │ │ │ │ "25t00": 37,
│ │ │ │ │ "26": [14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 51, 52, 53],
│ │ │ │ │ "260": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 43],
│ │ │ │ │ "26047600586578334": 54,
│ │ │ │ │ "2605": [38, 40],
│ │ │ │ │ "261": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "261e": 48,
│ │ │ │ │ @@ -3006,14 +2996,15 @@
│ │ │ │ │ "275": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32, 43],
│ │ │ │ │ "276": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "2762": 19,
│ │ │ │ │ "27623202": 19,
│ │ │ │ │ "2778": 44,
│ │ │ │ │ "277e": 37,
│ │ │ │ │ "278": 44,
│ │ │ │ │ + "27830": 51,
│ │ │ │ │ "27861203": 36,
│ │ │ │ │ "27910634": 19,
│ │ │ │ │ "27980632": 36,
│ │ │ │ │ "27t00": 37,
│ │ │ │ │ "28": [14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 48, 49, 51, 52, 53, 54],
│ │ │ │ │ "280": 13,
│ │ │ │ │ "28099849": 36,
│ │ │ │ │ @@ -3045,15 +3036,14 @@
│ │ │ │ │ "29645358": 36,
│ │ │ │ │ "296e": 37,
│ │ │ │ │ "297e": 48,
│ │ │ │ │ "29844148": 36,
│ │ │ │ │ "29t00": [14, 37],
│ │ │ │ │ "29t12": 36,
│ │ │ │ │ "2d": [19, 38, 43, 47, 48, 50, 53, 54],
│ │ │ │ │ - "2e": 51,
│ │ │ │ │ "2ecc71": 48,
│ │ │ │ │ "2kb": [36, 52],
│ │ │ │ │ "2m": 6,
│ │ │ │ │ "2mt": 6,
│ │ │ │ │ "2nd": [43, 48],
│ │ │ │ │ "2x": 54,
│ │ │ │ │ "3": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 18, 19, 24, 25, 26, 27, 30, 32, 33, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ @@ -3073,26 +3063,31 @@
│ │ │ │ │ "306e": 37,
│ │ │ │ │ "307": [6, 26],
│ │ │ │ │ "3070": 6,
│ │ │ │ │ "3071": 6,
│ │ │ │ │ "3073": 6,
│ │ │ │ │ "3074": 6,
│ │ │ │ │ "307e": 37,
│ │ │ │ │ - "308": [6, 51],
│ │ │ │ │ + "308": 6,
│ │ │ │ │ + "3083827208917602196": 51,
│ │ │ │ │ "30852683": 36,
│ │ │ │ │ + "308j": 51,
│ │ │ │ │ "309": [6, 44],
│ │ │ │ │ + "30b": 51,
│ │ │ │ │ "30t00": [14, 37, 52],
│ │ │ │ │ "30t1": 52,
│ │ │ │ │ "30t12": 52,
│ │ │ │ │ "30t18": 52,
│ │ │ │ │ "30t21": 52,
│ │ │ │ │ "31": [14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 48, 49, 51, 52, 53],
│ │ │ │ │ "310": 13,
│ │ │ │ │ "310409": 14,
│ │ │ │ │ "31040942": 14,
│ │ │ │ │ + "311": 51,
│ │ │ │ │ + "311j": 51,
│ │ │ │ │ "3151": 6,
│ │ │ │ │ "3153": 6,
│ │ │ │ │ "3154": 6,
│ │ │ │ │ "3155": 6,
│ │ │ │ │ "3157": 6,
│ │ │ │ │ "3158": 6,
│ │ │ │ │ "315e": 37,
│ │ │ │ │ @@ -3111,25 +3106,26 @@
│ │ │ │ │ "3226808": 19,
│ │ │ │ │ "32269851": 14,
│ │ │ │ │ "322e": 37,
│ │ │ │ │ "3261": 40,
│ │ │ │ │ "32618": 45,
│ │ │ │ │ "326e": 37,
│ │ │ │ │ "3297": 41,
│ │ │ │ │ - "32b": [19, 35, 36, 38, 40, 43, 44, 45, 48, 49, 50, 52, 54],
│ │ │ │ │ + "32b": [19, 35, 36, 38, 40, 43, 44, 45, 48, 49, 50, 51, 52, 54],
│ │ │ │ │ "33": [14, 19, 35, 36, 38, 40, 41, 43, 44, 45, 48, 49, 51, 52, 54],
│ │ │ │ │ "331e": 37,
│ │ │ │ │ - "333": [49, 51],
│ │ │ │ │ + "333": 49,
│ │ │ │ │ "33326004": 19,
│ │ │ │ │ "33333333": 14,
│ │ │ │ │ - "333e": [37, 51],
│ │ │ │ │ + "333e": 37,
│ │ │ │ │ "33419587": 36,
│ │ │ │ │ "335": [40, 53],
│ │ │ │ │ "3356": 41,
│ │ │ │ │ "33584385": 19,
│ │ │ │ │ + "335e": 51,
│ │ │ │ │ "336": [38, 43, 54],
│ │ │ │ │ "3362": 40,
│ │ │ │ │ "33622174433445307": 54,
│ │ │ │ │ "337e": 37,
│ │ │ │ │ "339": 40,
│ │ │ │ │ "34": [6, 7, 8, 9, 10, 11, 12, 13, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 51, 53, 54],
│ │ │ │ │ "340": 13,
│ │ │ │ │ @@ -3147,23 +3143,25 @@
│ │ │ │ │ "34576404": 14,
│ │ │ │ │ "346": [14, 41],
│ │ │ │ │ "34723825": 14,
│ │ │ │ │ "348": 44,
│ │ │ │ │ "3498db": 48,
│ │ │ │ │ "35": [7, 14, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 50, 51, 54],
│ │ │ │ │ "350e": 48,
│ │ │ │ │ + "351e": 51,
│ │ │ │ │ "352": [6, 54],
│ │ │ │ │ "35205353914802473": 54,
│ │ │ │ │ "3521": 43,
│ │ │ │ │ "354": [6, 40],
│ │ │ │ │ "355": 6,
│ │ │ │ │ "35677824": 19,
│ │ │ │ │ + "356e": 51,
│ │ │ │ │ "357": [6, 52],
│ │ │ │ │ "35793963": 36,
│ │ │ │ │ - "357e": 37,
│ │ │ │ │ + "357e": [37, 51],
│ │ │ │ │ "358": [36, 52],
│ │ │ │ │ "358e": 37,
│ │ │ │ │ "359": [6, 38, 52],
│ │ │ │ │ "36": [3, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 51, 52, 54],
│ │ │ │ │ "360": [45, 52],
│ │ │ │ │ "360_dai": [45, 53, 54],
│ │ │ │ │ "361": 52,
│ │ │ │ │ @@ -3181,15 +3179,15 @@
│ │ │ │ │ "3652": 52,
│ │ │ │ │ "365_dai": 45,
│ │ │ │ │ "3667": 44,
│ │ │ │ │ "366_dai": 45,
│ │ │ │ │ "3684": 40,
│ │ │ │ │ "368e": 37,
│ │ │ │ │ "369": 48,
│ │ │ │ │ - "36b": [51, 54],
│ │ │ │ │ + "36b": 54,
│ │ │ │ │ "37": [19, 35, 36, 38, 40, 41, 43, 44, 45, 48, 49, 51, 54],
│ │ │ │ │ "371": 36,
│ │ │ │ │ "37271154": 14,
│ │ │ │ │ "372712": 14,
│ │ │ │ │ "373": [38, 40, 43, 49, 54],
│ │ │ │ │ "37301222522143085": 54,
│ │ │ │ │ "37342613": 19,
│ │ │ │ │ @@ -3216,15 +3214,14 @@
│ │ │ │ │ "388": 6,
│ │ │ │ │ "3884": [36, 52],
│ │ │ │ │ "3885": 52,
│ │ │ │ │ "3886": 52,
│ │ │ │ │ "3887": 52,
│ │ │ │ │ "389": 6,
│ │ │ │ │ "389e": 45,
│ │ │ │ │ - "38j": 51,
│ │ │ │ │ "39": [6, 7, 8, 9, 10, 11, 12, 13, 14, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "390": 6,
│ │ │ │ │ "391": 6,
│ │ │ │ │ "391e": 37,
│ │ │ │ │ "392e": 45,
│ │ │ │ │ "395": [41, 43],
│ │ │ │ │ "395763": 14,
│ │ │ │ │ @@ -3239,19 +3236,17 @@
│ │ │ │ │ "3min": 53,
│ │ │ │ │ "3rd": 28,
│ │ │ │ │ "4": [3, 6, 7, 8, 9, 11, 12, 13, 14, 16, 19, 25, 27, 30, 32, 33, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 49, 50, 51, 52, 53],
│ │ │ │ │ "40": [19, 28, 35, 36, 38, 40, 41, 43, 44, 45, 48, 49, 50, 54],
│ │ │ │ │ "400": [6, 48, 49],
│ │ │ │ │ "400e": 48,
│ │ │ │ │ "401": [6, 43],
│ │ │ │ │ - "401e": 51,
│ │ │ │ │ "402": 6,
│ │ │ │ │ "403": 6,
│ │ │ │ │ "40324704": 36,
│ │ │ │ │ - "403e": 51,
│ │ │ │ │ "404": [6, 43],
│ │ │ │ │ "405": 43,
│ │ │ │ │ "406e": 48,
│ │ │ │ │ "4074": 41,
│ │ │ │ │ "407e": 37,
│ │ │ │ │ "408": 41,
│ │ │ │ │ "40824829": 36,
│ │ │ │ │ @@ -3279,55 +3274,56 @@
│ │ │ │ │ "423": 48,
│ │ │ │ │ "424": 38,
│ │ │ │ │ "42497233": 19,
│ │ │ │ │ "425": [19, 41],
│ │ │ │ │ "427": 44,
│ │ │ │ │ "428": 48,
│ │ │ │ │ "4281": 36,
│ │ │ │ │ + "429e": 51,
│ │ │ │ │ "42b": 36,
│ │ │ │ │ - "43": [14, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ + "43": [14, 19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 51, 54],
│ │ │ │ │ "4326": 45,
│ │ │ │ │ "4333": 44,
│ │ │ │ │ "439e": 37,
│ │ │ │ │ "44": [19, 35, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "440e": 48,
│ │ │ │ │ "441e": 37,
│ │ │ │ │ "445e": [37, 48],
│ │ │ │ │ "44785582": 14,
│ │ │ │ │ "447856": 14,
│ │ │ │ │ "4479968246859435": 54,
│ │ │ │ │ "448": [38, 40, 43, 49, 54],
│ │ │ │ │ "448b": 43,
│ │ │ │ │ "448e": 48,
│ │ │ │ │ "449": 36,
│ │ │ │ │ - "45": [3, 9, 13, 19, 36, 38, 40, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ + "45": [3, 9, 13, 19, 36, 38, 40, 41, 43, 44, 45, 48, 49, 51, 54],
│ │ │ │ │ "451": [38, 43, 54],
│ │ │ │ │ "45137647047539964": 54,
│ │ │ │ │ "4514": 40,
│ │ │ │ │ "452": 53,
│ │ │ │ │ "45209466": 19,
│ │ │ │ │ "4521": 37,
│ │ │ │ │ "453": [40, 43],
│ │ │ │ │ "453e": 48,
│ │ │ │ │ "4555": 41,
│ │ │ │ │ "456060": 14,
│ │ │ │ │ "456b": 38,
│ │ │ │ │ "457e": 52,
│ │ │ │ │ "458e": 52,
│ │ │ │ │ "459e": 52,
│ │ │ │ │ - "45j": 51,
│ │ │ │ │ "46": [19, 36, 38, 40, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "46194319": 36,
│ │ │ │ │ "462": 43,
│ │ │ │ │ "46376911": 14,
│ │ │ │ │ "46462434": 19,
│ │ │ │ │ "464e": 37,
│ │ │ │ │ "465e": 37,
│ │ │ │ │ "466": [38, 44],
│ │ │ │ │ - "467e": [36, 37],
│ │ │ │ │ + "466e": 36,
│ │ │ │ │ + "467e": 37,
│ │ │ │ │ "46830462": 36,
│ │ │ │ │ "469": [45, 47, 49],
│ │ │ │ │ "4691": [19, 35, 37, 47],
│ │ │ │ │ "469112": [19, 47],
│ │ │ │ │ "4691123": [19, 35],
│ │ │ │ │ "47": [7, 19, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "471": 43,
│ │ │ │ │ @@ -3348,30 +3344,31 @@
│ │ │ │ │ "485e": 37,
│ │ │ │ │ "4867138": 36,
│ │ │ │ │ "48671934": 36,
│ │ │ │ │ "48672119": 36,
│ │ │ │ │ "4875": 36,
│ │ │ │ │ "487e": 37,
│ │ │ │ │ "48b": [19, 35, 36, 40, 43, 44, 47, 49, 51, 54],
│ │ │ │ │ - "48e0": 45,
│ │ │ │ │ "49": [19, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "4909415": 19,
│ │ │ │ │ "494929": 47,
│ │ │ │ │ "49492927": 19,
│ │ │ │ │ "49497537": 19,
│ │ │ │ │ "495": 47,
│ │ │ │ │ "495e": 48,
│ │ │ │ │ "497": [43, 44],
│ │ │ │ │ "499e": 37,
│ │ │ │ │ - "4b": [35, 43, 49, 51, 54],
│ │ │ │ │ + "4b": [35, 43, 49, 54],
│ │ │ │ │ "4d": 48,
│ │ │ │ │ + "4d49": 45,
│ │ │ │ │ "4kb": [48, 52],
│ │ │ │ │ "5": [6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 19, 25, 27, 30, 32, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "50": [7, 14, 19, 28, 32, 35, 36, 38, 40, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "500": [13, 45, 48, 54],
│ │ │ │ │ + "500e": 51,
│ │ │ │ │ "502": 44,
│ │ │ │ │ "504": 40,
│ │ │ │ │ "505": 38,
│ │ │ │ │ "505e": 48,
│ │ │ │ │ "506234": 14,
│ │ │ │ │ "508": 44,
│ │ │ │ │ "5081": 30,
│ │ │ │ │ @@ -3382,15 +3379,14 @@
│ │ │ │ │ "509e": 37,
│ │ │ │ │ "51": [6, 19, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "510": 32,
│ │ │ │ │ "511": 32,
│ │ │ │ │ "511e": 37,
│ │ │ │ │ "512e": 48,
│ │ │ │ │ "5137": 40,
│ │ │ │ │ - "51546": 51,
│ │ │ │ │ "51565169": 36,
│ │ │ │ │ "51565756": 36,
│ │ │ │ │ "51565952": 36,
│ │ │ │ │ "515e": 37,
│ │ │ │ │ "51857326": 36,
│ │ │ │ │ "519": 6,
│ │ │ │ │ "5199731": 19,
│ │ │ │ │ @@ -3436,16 +3432,17 @@
│ │ │ │ │ "550e": 37,
│ │ │ │ │ "551": 38,
│ │ │ │ │ "552": 41,
│ │ │ │ │ "552b": 38,
│ │ │ │ │ "552e": 37,
│ │ │ │ │ "553": 41,
│ │ │ │ │ "556": 44,
│ │ │ │ │ - "556e": [36, 48],
│ │ │ │ │ + "556e": 48,
│ │ │ │ │ "55799171": 14,
│ │ │ │ │ + "557e": 36,
│ │ │ │ │ "558073": 14,
│ │ │ │ │ "55807323": 14,
│ │ │ │ │ "56": [3, 19, 36, 38, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "5607": 45,
│ │ │ │ │ "561": 43,
│ │ │ │ │ "562": 38,
│ │ │ │ │ "567": 19,
│ │ │ │ │ @@ -3472,18 +3469,17 @@
│ │ │ │ │ "59499": 16,
│ │ │ │ │ "595e": 37,
│ │ │ │ │ "596": 43,
│ │ │ │ │ "596e": 37,
│ │ │ │ │ "598e": 37,
│ │ │ │ │ "5b": [36, 43],
│ │ │ │ │ "5d": 53,
│ │ │ │ │ - "5e": 51,
│ │ │ │ │ "5kb": 54,
│ │ │ │ │ "5x": 54,
│ │ │ │ │ - "5\u017f\u00ff\u017e\u014f": 51,
│ │ │ │ │ + "5\u017e\u013e\u00ee\u00f6": 51,
│ │ │ │ │ "6": [3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19, 25, 27, 30, 32, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "60": [19, 36, 38, 41, 43, 44, 45, 48, 49, 52, 53, 54],
│ │ │ │ │ "600e": 48,
│ │ │ │ │ "601": [36, 38, 44],
│ │ │ │ │ "604": 44,
│ │ │ │ │ "607": [40, 44],
│ │ │ │ │ "609": 40,
│ │ │ │ │ @@ -3495,31 +3491,33 @@
│ │ │ │ │ "616e": 37,
│ │ │ │ │ "617e": 48,
│ │ │ │ │ "619e": 48,
│ │ │ │ │ "62": [19, 36, 38, 41, 43, 44, 45, 48, 54],
│ │ │ │ │ "621": 45,
│ │ │ │ │ "622e": 37,
│ │ │ │ │ "623e": 37,
│ │ │ │ │ - "624e": 37,
│ │ │ │ │ + "624e": [37, 51],
│ │ │ │ │ "625": 45,
│ │ │ │ │ "625e": 37,
│ │ │ │ │ "6285": 41,
│ │ │ │ │ "62kb": 36,
│ │ │ │ │ "63": [3, 19, 36, 38, 41, 43, 44, 45, 48, 54],
│ │ │ │ │ "634": 38,
│ │ │ │ │ "634e": 37,
│ │ │ │ │ "635": 44,
│ │ │ │ │ "63593435": 14,
│ │ │ │ │ "63696169": 36,
│ │ │ │ │ "638e": 48,
│ │ │ │ │ "64": [19, 36, 38, 41, 43, 44, 45, 48, 54],
│ │ │ │ │ + "640e": 51,
│ │ │ │ │ "642": 43,
│ │ │ │ │ "645e": 37,
│ │ │ │ │ "648b": 38,
│ │ │ │ │ - "64b": [35, 36, 40, 43, 49, 50, 51, 52],
│ │ │ │ │ + "648e": 51,
│ │ │ │ │ + "64b": [35, 36, 40, 43, 49, 50, 52],
│ │ │ │ │ "65": [19, 36, 38, 41, 43, 45, 48, 54],
│ │ │ │ │ "650e": 37,
│ │ │ │ │ "651e": 37,
│ │ │ │ │ "6525": 36,
│ │ │ │ │ "652e": 37,
│ │ │ │ │ "653": 38,
│ │ │ │ │ "65348932": 36,
│ │ │ │ │ @@ -3580,15 +3578,14 @@
│ │ │ │ │ "726": [6, 40],
│ │ │ │ │ "72653812": 36,
│ │ │ │ │ "726e": 37,
│ │ │ │ │ "727": 6,
│ │ │ │ │ "728": [6, 52],
│ │ │ │ │ "729": [6, 52],
│ │ │ │ │ "72b": [35, 40, 43, 44],
│ │ │ │ │ - "72b0e4c9db73": 45,
│ │ │ │ │ "73": [6, 36, 38, 41, 43, 45, 48, 54],
│ │ │ │ │ "730": [6, 52],
│ │ │ │ │ "73021329": 36,
│ │ │ │ │ "73078492": 14,
│ │ │ │ │ "731": [6, 14, 52],
│ │ │ │ │ "731locat": 14,
│ │ │ │ │ "732": 6,
│ │ │ │ │ @@ -3617,24 +3614,23 @@
│ │ │ │ │ "7523": 36,
│ │ │ │ │ "753e": 37,
│ │ │ │ │ "754": 43,
│ │ │ │ │ "7544": 36,
│ │ │ │ │ "754e": [37, 48],
│ │ │ │ │ "7553": 54,
│ │ │ │ │ "755e": [37, 48],
│ │ │ │ │ - "756101856880953354": 51,
│ │ │ │ │ "758e": 37,
│ │ │ │ │ "759": 43,
│ │ │ │ │ "76": [36, 38, 41, 43, 45, 48, 54],
│ │ │ │ │ "762e": 37,
│ │ │ │ │ - "765380011776258377": 51,
│ │ │ │ │ "765e": 37,
│ │ │ │ │ - "766e": 37,
│ │ │ │ │ + "766e": [37, 51],
│ │ │ │ │ "767e": 37,
│ │ │ │ │ "76b": [19, 49],
│ │ │ │ │ + "76ee": 45,
│ │ │ │ │ "77": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "771": 45,
│ │ │ │ │ "77192982": 14,
│ │ │ │ │ "772": 45,
│ │ │ │ │ "773": [44, 45],
│ │ │ │ │ "7733": 36,
│ │ │ │ │ "774": 45,
│ │ │ │ │ @@ -3658,37 +3654,38 @@
│ │ │ │ │ "79": [36, 38, 41, 43, 48, 54],
│ │ │ │ │ "790e": 48,
│ │ │ │ │ "791": 45,
│ │ │ │ │ "79119196": 36,
│ │ │ │ │ "7917": 45,
│ │ │ │ │ "792": 45,
│ │ │ │ │ "797e": 53,
│ │ │ │ │ - "798e": [37, 51],
│ │ │ │ │ + "798e": 37,
│ │ │ │ │ "799e": 36,
│ │ │ │ │ - "7c78": 45,
│ │ │ │ │ "8": [3, 6, 7, 8, 11, 12, 13, 14, 16, 18, 19, 25, 27, 30, 32, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "80": [36, 38, 41, 43, 48, 49, 54],
│ │ │ │ │ "800": 30,
│ │ │ │ │ "800b": [25, 36],
│ │ │ │ │ "800e": 37,
│ │ │ │ │ "800mb": 37,
│ │ │ │ │ "801": 30,
│ │ │ │ │ "802": 30,
│ │ │ │ │ + "802e": 51,
│ │ │ │ │ "803": 30,
│ │ │ │ │ "804": 30,
│ │ │ │ │ "805": 44,
│ │ │ │ │ "80527925": 14,
│ │ │ │ │ "805arrai": 14,
│ │ │ │ │ "805xarrai": 14,
│ │ │ │ │ "806": 30,
│ │ │ │ │ "8075": 36,
│ │ │ │ │ "808": 30,
│ │ │ │ │ "8080": 54,
│ │ │ │ │ "809": 30,
│ │ │ │ │ - "80b": [27, 30, 35, 36, 38, 41, 44, 48, 53],
│ │ │ │ │ + "80b": [27, 30, 35, 36, 38, 41, 44, 48, 51, 53],
│ │ │ │ │ + "80f0ce670b67": 45,
│ │ │ │ │ "81": [3, 36, 38, 41, 43, 48, 54],
│ │ │ │ │ "811": 44,
│ │ │ │ │ "812e": 37,
│ │ │ │ │ "81327024": 36,
│ │ │ │ │ "814": 44,
│ │ │ │ │ "814e": 37,
│ │ │ │ │ "81649658": 16,
│ │ │ │ │ @@ -3731,14 +3728,15 @@
│ │ │ │ │ "8568": 41,
│ │ │ │ │ "857e": 37,
│ │ │ │ │ "858e": 53,
│ │ │ │ │ "8599": 43,
│ │ │ │ │ "86": [36, 37, 38, 41, 43, 48, 54],
│ │ │ │ │ "8601": [53, 54],
│ │ │ │ │ "8602": 41,
│ │ │ │ │ + "860e": 51,
│ │ │ │ │ "8618": 35,
│ │ │ │ │ "86184896": 19,
│ │ │ │ │ "861849": 47,
│ │ │ │ │ "862": [43, 47],
│ │ │ │ │ "862e": [37, 48],
│ │ │ │ │ "863": 44,
│ │ │ │ │ "86436763": 19,
│ │ │ │ │ @@ -3782,33 +3780,34 @@
│ │ │ │ │ "9": [3, 6, 7, 8, 12, 14, 19, 25, 27, 30, 32, 33, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53],
│ │ │ │ │ "90": [3, 12, 35, 36, 38, 41, 43, 48, 49, 54],
│ │ │ │ │ "900e": 48,
│ │ │ │ │ "904e": 48,
│ │ │ │ │ "905e": 48,
│ │ │ │ │ "90680094": 19,
│ │ │ │ │ "906e": 48,
│ │ │ │ │ - "91": [12, 36, 38, 41, 43, 48, 51, 54],
│ │ │ │ │ + "91": [12, 36, 38, 41, 43, 48, 54],
│ │ │ │ │ "911": 44,
│ │ │ │ │ "912": 44,
│ │ │ │ │ "91275558": 36,
│ │ │ │ │ "912e": 37,
│ │ │ │ │ "913e": 37,
│ │ │ │ │ "915": 38,
│ │ │ │ │ "915e": 48,
│ │ │ │ │ "916": 36,
│ │ │ │ │ "9167": 45,
│ │ │ │ │ "917": 45,
│ │ │ │ │ "92": [7, 36, 38, 41, 43, 48, 54],
│ │ │ │ │ "921e": 37,
│ │ │ │ │ - "9223372035077253998": 51,
│ │ │ │ │ - "9223372036854723696": 51,
│ │ │ │ │ - "9223372036854727701": 51,
│ │ │ │ │ - "9223372036854737559": 51,
│ │ │ │ │ - "9223372036854759933": 51,
│ │ │ │ │ - "9223372036854775598": 51,
│ │ │ │ │ + "9223372033794027569": 51,
│ │ │ │ │ + "9223372036854727831": 51,
│ │ │ │ │ + "9223372036854734621": 51,
│ │ │ │ │ + "9223372036854746411": 51,
│ │ │ │ │ + "9223372036854754014": 51,
│ │ │ │ │ + "9223372036854775654": 51,
│ │ │ │ │ + "9223372036854775792": 51,
│ │ │ │ │ "927": 38,
│ │ │ │ │ "929e": 37,
│ │ │ │ │ "93": [6, 36, 38, 41, 43, 44, 48, 54],
│ │ │ │ │ "931542": 14,
│ │ │ │ │ "93154201": 14,
│ │ │ │ │ "93221199": 14,
│ │ │ │ │ "933": 36,
│ │ │ │ │ @@ -3818,15 +3817,14 @@
│ │ │ │ │ "9363595": 19,
│ │ │ │ │ "937": 40,
│ │ │ │ │ "9399": 36,
│ │ │ │ │ "94": [6, 36, 38, 41, 43, 48, 54],
│ │ │ │ │ "942": 43,
│ │ │ │ │ "944e": [48, 53],
│ │ │ │ │ "947726688477": 45,
│ │ │ │ │ - "948e": 51,
│ │ │ │ │ "95": [6, 9, 13, 36, 38, 41, 43, 48, 54],
│ │ │ │ │ "9516": 14,
│ │ │ │ │ "9516129": 14,
│ │ │ │ │ "953": 38,
│ │ │ │ │ "9537291": 36,
│ │ │ │ │ "953e": 48,
│ │ │ │ │ "958": 45,
│ │ │ │ │ @@ -3870,14 +3868,15 @@
│ │ │ │ │ "99809483": 19,
│ │ │ │ │ "9986": 36,
│ │ │ │ │ "998e": 37,
│ │ │ │ │ "999": [36, 54],
│ │ │ │ │ "9999": [36, 45],
│ │ │ │ │ "99kb": 53,
│ │ │ │ │ "9b59b6": 48,
│ │ │ │ │ + "9dca": 45,
│ │ │ │ │ "9kb": [48, 54],
│ │ │ │ │ "A": [3, 5, 6, 8, 19, 24, 27, 30, 33, 35, 36, 37, 38, 39, 41, 43, 45, 47, 48, 49, 50, 51, 52, 53, 54],
│ │ │ │ │ "AS": 54,
│ │ │ │ │ "And": [7, 19, 48, 53],
│ │ │ │ │ "As": [12, 16, 24, 25, 32, 36, 37, 38, 40, 41, 43, 45, 47, 48, 49, 50, 53, 54],
│ │ │ │ │ "At": [3, 16, 37, 38, 45, 54],
│ │ │ │ │ "Be": 3,
│ │ │ │ │ @@ -4335,17 +4334,17 @@
│ │ │ │ │ "ax3": 13,
│ │ │ │ │ "ax4": 13,
│ │ │ │ │ "axi": [11, 16, 18, 19, 20, 22, 24, 30, 36, 37, 38, 39, 40, 41, 45, 47, 50, 51, 54],
│ │ │ │ │ "axisarrai": 5,
│ │ │ │ │ "axisgrid": 14,
│ │ │ │ │ "ayrton": 54,
│ │ │ │ │ "azur": 54,
│ │ │ │ │ + "a\u017c\u0129": 51,
│ │ │ │ │ "b": [3, 19, 25, 35, 36, 37, 38, 40, 41, 43, 44, 47, 48, 49, 50, 51, 52, 54],
│ │ │ │ │ "b2": [36, 54],
│ │ │ │ │ - "b4aa": 45,
│ │ │ │ │ "ba": 54,
│ │ │ │ │ "back": [1, 8, 16, 19, 20, 26, 30, 31, 36, 37, 38, 39, 40, 41, 43, 45, 48, 49, 51, 54],
│ │ │ │ │ "backend": [1, 5, 6, 16, 24, 29, 30, 31, 32, 33, 37, 38, 43, 45, 53, 54],
│ │ │ │ │ "backend_agg": 6,
│ │ │ │ │ "backend_arrai": 27,
│ │ │ │ │ "backend_bas": 6,
│ │ │ │ │ "backend_kwarg": [27, 45, 54],
│ │ │ │ │ @@ -4415,15 +4414,14 @@
│ │ │ │ │ "bergemann": 54,
│ │ │ │ │ "besid": 54,
│ │ │ │ │ "best": [21, 24, 36, 43, 54],
│ │ │ │ │ "better": [16, 18, 29, 33, 37, 48, 54],
│ │ │ │ │ "between": [3, 8, 14, 16, 24, 32, 33, 35, 36, 38, 39, 43, 44, 45, 47, 48, 50, 52, 53, 54],
│ │ │ │ │ "bewar": 37,
│ │ │ │ │ "beyond": [3, 16],
│ │ │ │ │ - "bfb46614": 45,
│ │ │ │ │ "bfill": [22, 24, 36, 39, 52, 54],
│ │ │ │ │ "bi": 4,
│ │ │ │ │ "bibtex": 16,
│ │ │ │ │ "big": [3, 5, 25, 27, 37, 45, 54],
│ │ │ │ │ "biggest": 54,
│ │ │ │ │ "bin": [12, 19, 48, 52, 54],
│ │ │ │ │ "binari": [5, 24, 31, 36, 38, 40, 41, 43, 45, 54],
│ │ │ │ │ @@ -4543,14 +4541,15 @@
│ │ │ │ │ "by_coord": [35, 54],
│ │ │ │ │ "byte": [24, 45, 54],
│ │ │ │ │ "bytes_": 54,
│ │ │ │ │ "bytes_io": 6,
│ │ │ │ │ "bytestr": 54,
│ │ │ │ │ "bzip2": 45,
│ │ │ │ │ "c": [3, 5, 7, 13, 16, 18, 19, 24, 29, 35, 36, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 53, 54],
│ │ │ │ │ + "c16": 51,
│ │ │ │ │ "ca": [43, 45],
│ │ │ │ │ "cabl": 54,
│ │ │ │ │ "cach": [6, 7, 8, 9, 10, 11, 12, 13, 26, 27, 30, 32, 33, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ "cache_dir": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "cachedir": 3,
│ │ │ │ │ "cachingfilemanag": [27, 54],
│ │ │ │ │ "calcul": [5, 9, 12, 15, 16, 36, 37, 41, 48, 50, 52, 54],
│ │ │ │ │ @@ -4790,15 +4789,14 @@
│ │ │ │ │ "compet": 37,
│ │ │ │ │ "compil": [8, 20, 29, 36],
│ │ │ │ │ "complementari": [47, 49],
│ │ │ │ │ "complet": [3, 18, 19, 30, 33, 38, 41, 43, 45, 47, 50, 54],
│ │ │ │ │ "complevel": [45, 54],
│ │ │ │ │ "complex": [3, 16, 22, 26, 27, 30, 33, 36, 40, 41, 43, 47, 48, 51, 54],
│ │ │ │ │ "complex128": 54,
│ │ │ │ │ - "complex64": 51,
│ │ │ │ │ "complex_": 54,
│ │ │ │ │ "complex_number_dtyp": 51,
│ │ │ │ │ "compliant": [5, 31, 45, 51, 54],
│ │ │ │ │ "complic": [3, 49, 51],
│ │ │ │ │ "compon": [5, 22, 41, 43, 48, 53],
│ │ │ │ │ "compos": [41, 48],
│ │ │ │ │ "composit": [6, 30, 31],
│ │ │ │ │ @@ -5515,16 +5513,15 @@
│ │ │ │ │ "extract": [22, 37, 38, 41, 43, 45, 49, 54],
│ │ │ │ │ "extractal": 54,
│ │ │ │ │ "extrapol": [44, 54],
│ │ │ │ │ "extrem": [31, 43, 45, 48, 51],
│ │ │ │ │ "ey": [25, 39],
│ │ │ │ │ "ezequiel": 54,
│ │ │ │ │ "f": [3, 6, 7, 8, 9, 10, 11, 12, 13, 19, 26, 30, 32, 36, 38, 41, 45, 48, 54],
│ │ │ │ │ - "f8\u017c\u010d": 51,
│ │ │ │ │ - "fa": 51,
│ │ │ │ │ + "f76aeb1b": 45,
│ │ │ │ │ "fabian": 54,
│ │ │ │ │ "fabien": 54,
│ │ │ │ │ "face": [20, 30, 33],
│ │ │ │ │ "facecolor": [6, 7, 48, 54],
│ │ │ │ │ "facet": [49, 54],
│ │ │ │ │ "facetgrid": 54,
│ │ │ │ │ "facilit": [3, 8, 16, 20, 33, 36, 40, 45, 53, 54],
│ │ │ │ │ @@ -5603,15 +5600,15 @@
│ │ │ │ │ "find_common_ancestor": 41,
│ │ │ │ │ "findal": 54,
│ │ │ │ │ "fine": [3, 19, 45, 51],
│ │ │ │ │ "finer": 54,
│ │ │ │ │ "finish": [3, 54],
│ │ │ │ │ "finit": [5, 12, 36, 54],
│ │ │ │ │ "firm": 16,
│ │ │ │ │ - "first": [3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 18, 19, 24, 28, 30, 32, 33, 35, 36, 38, 41, 43, 44, 45, 48, 49, 52, 54],
│ │ │ │ │ + "first": [3, 8, 9, 11, 13, 14, 18, 19, 24, 28, 32, 33, 35, 36, 38, 41, 43, 44, 45, 48, 52, 54],
│ │ │ │ │ "fiscal": [33, 54],
│ │ │ │ │ "fischer": 54,
│ │ │ │ │ "fish": 41,
│ │ │ │ │ "fit": [16, 33, 37, 41, 45, 48, 54],
│ │ │ │ │ "fitzgerald": [16, 54],
│ │ │ │ │ "five": [36, 48, 54],
│ │ │ │ │ "fix": [3, 8, 16, 37, 38, 45, 48, 50, 53],
│ │ │ │ │ @@ -5627,15 +5624,15 @@
│ │ │ │ │ "flavor": 3,
│ │ │ │ │ "fleischmann": 54,
│ │ │ │ │ "fletcher32": 45,
│ │ │ │ │ "flexibl": [8, 16, 30, 31, 39, 40, 43, 44, 45, 48, 54],
│ │ │ │ │ "flip": 54,
│ │ │ │ │ "float": [8, 16, 26, 35, 36, 37, 40, 45, 50, 54],
│ │ │ │ │ "float16": [51, 54],
│ │ │ │ │ - "float32": [3, 45, 54],
│ │ │ │ │ + "float32": [3, 45, 51, 54],
│ │ │ │ │ "float64": [8, 14, 16, 19, 25, 27, 32, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 54],
│ │ │ │ │ "float6412": 14,
│ │ │ │ │ "float64nan": 14,
│ │ │ │ │ "float_to_top": 54,
│ │ │ │ │ "floor": [22, 52, 53, 54],
│ │ │ │ │ "florian": 54,
│ │ │ │ │ "flow": [21, 38, 54],
│ │ │ │ │ @@ -7157,15 +7154,15 @@
│ │ │ │ │ "instrument": 38,
│ │ │ │ │ "insuffici": 36,
│ │ │ │ │ "int": [24, 36, 50, 51, 54],
│ │ │ │ │ "int16": [3, 45, 51],
│ │ │ │ │ "int32": [3, 54],
│ │ │ │ │ "int64": [3, 14, 19, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 52, 53, 54],
│ │ │ │ │ "int641": 14,
│ │ │ │ │ - "int8": 3,
│ │ │ │ │ + "int8": [3, 51],
│ │ │ │ │ "intact": 54,
│ │ │ │ │ "intarr": 36,
│ │ │ │ │ "integ": [19, 20, 24, 27, 30, 36, 38, 43, 45, 51, 54],
│ │ │ │ │ "integr": [5, 16, 18, 20, 27, 33, 36, 37, 39, 45, 48, 50, 52, 54],
│ │ │ │ │ "intend": [3, 19, 25, 29, 30, 38, 41, 54],
│ │ │ │ │ "intens": 45,
│ │ │ │ │ "intent": [26, 39, 41],
│ │ │ │ │ @@ -7308,14 +7305,15 @@
│ │ │ │ │ "jun": 53,
│ │ │ │ │ "junip": 54,
│ │ │ │ │ "jupyt": 54,
│ │ │ │ │ "jupyterbook": 45,
│ │ │ │ │ "just": [3, 7, 11, 19, 20, 24, 25, 28, 30, 33, 38, 39, 41, 43, 45, 48, 49, 50, 51, 53, 54],
│ │ │ │ │ "justu": 54,
│ │ │ │ │ "jwen": 54,
│ │ │ │ │ + "j\u00e3\u017f\u017e\u0103": 51,
│ │ │ │ │ "j\u00f6rdene": 54,
│ │ │ │ │ "k": [3, 7, 13, 20, 24, 28, 44, 54],
│ │ │ │ │ "kai": 54,
│ │ │ │ │ "kanma": 54,
│ │ │ │ │ "karasiak": 54,
│ │ │ │ │ "karel": 54,
│ │ │ │ │ "karl": 54,
│ │ │ │ │ @@ -7509,14 +7507,15 @@
│ │ │ │ │ "lt": [6, 14],
│ │ │ │ │ "luka": 54,
│ │ │ │ │ "luke": 54,
│ │ │ │ │ "lurcock": 54,
│ │ │ │ │ "lusewel": 54,
│ │ │ │ │ "lxml": 54,
│ │ │ │ │ "lzf": 54,
│ │ │ │ │ + "l\u00e6": 51,
│ │ │ │ │ "m": [3, 6, 8, 14, 18, 24, 37, 47, 52, 53, 54],
│ │ │ │ │ "ma": 54,
│ │ │ │ │ "maahn": 54,
│ │ │ │ │ "machin": [3, 18, 37, 49, 54],
│ │ │ │ │ "machineri": [32, 52, 54],
│ │ │ │ │ "maciek": 54,
│ │ │ │ │ "maco": [3, 54],
│ │ │ │ │ @@ -7960,15 +7959,15 @@
│ │ │ │ │ "numfocu": 54,
│ │ │ │ │ "numpi": [1, 3, 7, 8, 9, 10, 11, 12, 14, 16, 18, 19, 20, 22, 24, 25, 27, 28, 29, 30, 31, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48, 49, 50, 51, 52, 54],
│ │ │ │ │ "numpy_experimental_array_funct": 54,
│ │ │ │ │ "numpyindexingadapt": 54,
│ │ │ │ │ "nx": 40,
│ │ │ │ │ "nxarrai": 5,
│ │ │ │ │ "ny": 40,
│ │ │ │ │ - "o": [6, 7, 8, 9, 10, 11, 12, 13, 18, 24, 27, 30, 32, 44, 47, 48, 54],
│ │ │ │ │ + "o": [6, 7, 8, 9, 10, 11, 12, 13, 18, 24, 27, 30, 32, 44, 47, 48, 51, 54],
│ │ │ │ │ "obei": 25,
│ │ │ │ │ "obj": [6, 22, 24, 37],
│ │ │ │ │ "object": [3, 5, 8, 14, 16, 18, 19, 20, 22, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 37, 38, 41, 43, 44, 45, 47, 49, 50, 51, 52, 53, 54],
│ │ │ │ │ "oblivi": 54,
│ │ │ │ │ "observ": [5, 14, 31, 33, 36, 41, 47, 48, 54],
│ │ │ │ │ "obsolet": 54,
│ │ │ │ │ "obtain": [44, 54],
│ │ │ │ │ @@ -9520,15 +9519,15 @@
│ │ │ │ │ "seamlessli": [3, 39],
│ │ │ │ │ "search": [3, 45, 52],
│ │ │ │ │ "searchstrategi": 51,
│ │ │ │ │ "season": [14, 15, 40, 52, 53, 54],
│ │ │ │ │ "season_mean": 11,
│ │ │ │ │ "sebastian": 54,
│ │ │ │ │ "sec": 19,
│ │ │ │ │ - "second": [3, 8, 13, 19, 27, 32, 35, 38, 39, 43, 45, 47, 52, 53, 54],
│ │ │ │ │ + "second": [3, 6, 7, 8, 9, 10, 11, 12, 13, 19, 27, 30, 32, 35, 38, 39, 41, 43, 44, 45, 47, 48, 49, 52, 53, 54],
│ │ │ │ │ "section": [5, 7, 16, 18, 29, 30, 33, 37, 40, 45, 47, 48, 50, 51, 52, 53, 54],
│ │ │ │ │ "see": [1, 3, 5, 7, 8, 13, 16, 18, 19, 20, 22, 24, 25, 26, 27, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 54],
│ │ │ │ │ "seed": [14, 38, 48],
│ │ │ │ │ "seek": 27,
│ │ │ │ │ "seem": [7, 8, 48, 54],
│ │ │ │ │ "seen": [36, 40, 51],
│ │ │ │ │ "segment": 54,
│ │ │ │ │ @@ -10048,15 +10047,15 @@
│ │ │ │ │ "tim": 54,
│ │ │ │ │ "time": [1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 18, 20, 22, 27, 30, 32, 33, 35, 36, 37, 38, 40, 41, 43, 44, 47, 48, 49, 50, 51, 53, 54],
│ │ │ │ │ "time_stamp": 41,
│ │ │ │ │ "time_stamps1": 41,
│ │ │ │ │ "time_stamps2": 41,
│ │ │ │ │ "time_subset": 37,
│ │ │ │ │ "timedelta": [1, 48, 52, 54],
│ │ │ │ │ - "timedelta64": [45, 51, 52, 53, 54],
│ │ │ │ │ + "timedelta64": [45, 52, 53, 54],
│ │ │ │ │ "timedeltaaccessor": 54,
│ │ │ │ │ "timedeltaindex": 54,
│ │ │ │ │ "timegroup": 54,
│ │ │ │ │ "timelin": 41,
│ │ │ │ │ "timeout": 18,
│ │ │ │ │ "timepandasindexpandasindex": 14,
│ │ │ │ │ "timeresampl": [37, 40, 54],
│ │ │ │ │ @@ -10123,14 +10122,15 @@
│ │ │ │ │ "topic": [3, 5, 51, 54],
│ │ │ │ │ "topo": 5,
│ │ │ │ │ "topograph": 5,
│ │ │ │ │ "total": [30, 37, 40, 41, 43, 52, 54],
│ │ │ │ │ "total_second": 54,
│ │ │ │ │ "touch": [3, 45],
│ │ │ │ │ "toward": [9, 21, 54],
│ │ │ │ │ + "tr": 51,
│ │ │ │ │ "traceback": [6, 7, 8, 9, 10, 11, 12, 13, 25, 26, 30, 32],
│ │ │ │ │ "track": [3, 16, 19, 20, 31, 33, 36, 39, 54],
│ │ │ │ │ "tracker": [3, 18, 24, 25, 39],
│ │ │ │ │ "trajectori": 5,
│ │ │ │ │ "transfer": [45, 48, 50],
│ │ │ │ │ "transform": [5, 6, 7, 9, 12, 13, 27, 31, 45, 48, 54],
│ │ │ │ │ "transform_func": 45,
│ │ │ │ │ @@ -10187,26 +10187,27 @@
│ │ │ │ │ "typeerror": [27, 54],
│ │ │ │ │ "typehint": 54,
│ │ │ │ │ "typic": [3, 7, 14, 16, 30, 33, 37, 45, 50],
│ │ │ │ │ "typing_extens": 54,
│ │ │ │ │ "typo": [3, 23, 54],
│ │ │ │ │ "tyre": 54,
│ │ │ │ │ "u": [3, 8, 12, 19, 21, 24, 26, 31, 33, 41, 43, 44, 45, 48, 49, 54],
│ │ │ │ │ - "u000fb3d5": 51,
│ │ │ │ │ + "u0009ff28": 51,
│ │ │ │ │ + "u000b0bbd": 51,
│ │ │ │ │ "u1": [19, 35, 36, 38, 40, 43, 44, 45, 47, 49, 54],
│ │ │ │ │ "u2": [14, 36, 38, 43],
│ │ │ │ │ "u3": [52, 53, 54],
│ │ │ │ │ - "u4": [51, 54],
│ │ │ │ │ + "u4": 54,
│ │ │ │ │ "u5": [19, 48],
│ │ │ │ │ "u6": [38, 41],
│ │ │ │ │ "u7": [36, 38],
│ │ │ │ │ "u8": [36, 38],
│ │ │ │ │ "ubiqu": 16,
│ │ │ │ │ "ufunc": [1, 8, 24, 36, 37, 39, 54],
│ │ │ │ │ - "uint8": [39, 45, 51],
│ │ │ │ │ + "uint8": [39, 45],
│ │ │ │ │ "uk": [6, 16, 45],
│ │ │ │ │ "ulrich": 54,
│ │ │ │ │ "ultim": 24,
│ │ │ │ │ "unabl": [16, 37],
│ │ │ │ │ "unaddress": 54,
│ │ │ │ │ "unalign": [19, 41],
│ │ │ │ │ "unambigu": [38, 54],
│ │ │ │ │ @@ -10316,15 +10317,14 @@
│ │ │ │ │ "usr": [6, 7, 8, 9, 10, 11, 12, 13, 30, 32],
│ │ │ │ │ "usual": [3, 16, 20, 27, 36, 37, 40, 43, 45, 49, 50, 54],
│ │ │ │ │ "utf": 45,
│ │ │ │ │ "util": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 20, 30, 32, 33, 45, 54],
│ │ │ │ │ "utilis": 52,
│ │ │ │ │ "uw": 34,
│ │ │ │ │ "uxarrai": 26,
│ │ │ │ │ - "u\u017e\u00e2": 51,
│ │ │ │ │ "v": [3, 8, 13, 16, 18, 28, 38, 41, 48, 49, 50],
│ │ │ │ │ "v0": [16, 38, 43, 49],
│ │ │ │ │ "v1": [36, 48, 54],
│ │ │ │ │ "v2": 54,
│ │ │ │ │ "v2022": 28,
│ │ │ │ │ "v3": [45, 54],
│ │ │ │ │ "vacant": 35,
│ │ │ │ │ @@ -10526,31 +10526,39 @@
│ │ │ │ │ "write_inherited_coord": 54,
│ │ │ │ │ "written": [3, 18, 24, 29, 36, 37, 38, 45, 51, 54],
│ │ │ │ │ "wrong": [3, 54],
│ │ │ │ │ "wrongli": 54,
│ │ │ │ │ "wrote": 35,
│ │ │ │ │ "www": [7, 18],
│ │ │ │ │ "x": [3, 5, 7, 8, 12, 13, 14, 18, 19, 20, 24, 25, 27, 28, 30, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 49, 50, 51, 53, 54],
│ │ │ │ │ + "x03": 51,
│ │ │ │ │ + "x08": 51,
│ │ │ │ │ "x0pahjgysxk": 18,
│ │ │ │ │ "x1": 35,
│ │ │ │ │ + "x10q": 51,
│ │ │ │ │ + "x1f": 51,
│ │ │ │ │ "x2": [35, 39],
│ │ │ │ │ "x27": 14,
│ │ │ │ │ "x64": 54,
│ │ │ │ │ + "x85": 51,
│ │ │ │ │ + "x8e": 51,
│ │ │ │ │ + "x9e": 51,
│ │ │ │ │ "x_and_i": 36,
│ │ │ │ │ "x_bin": 40,
│ │ │ │ │ "x_bin_label": 40,
│ │ │ │ │ "x_chunk": 24,
│ │ │ │ │ "x_coars": 49,
│ │ │ │ │ "x_fine": 49,
│ │ │ │ │ "x_matrix_rank": 36,
│ │ │ │ │ "x_onli": 36,
│ │ │ │ │ "x_rank": 37,
│ │ │ │ │ "x_singular_valu": 36,
│ │ │ │ │ "x_win": 36,
│ │ │ │ │ - "xa3h": 51,
│ │ │ │ │ + "xa1ep": 51,
│ │ │ │ │ + "xa2": 51,
│ │ │ │ │ "xalpha": 36,
│ │ │ │ │ "xalpha1": 36,
│ │ │ │ │ "xarrai": [1, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 22, 24, 25, 27, 28, 30, 32, 33, 34, 35, 36, 38, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54],
│ │ │ │ │ "xarray_einstat": 5,
│ │ │ │ │ "xarray_extra": [5, 45],
│ │ │ │ │ "xarray_obj": 26,
│ │ │ │ │ "xarray_object": 8,
│ │ │ │ │ @@ -10559,20 +10567,29 @@
│ │ │ │ │ "xbatcher": 5,
│ │ │ │ │ "xbpch": 5,
│ │ │ │ │ "xc": [12, 36, 45],
│ │ │ │ │ "xc0": 36,
│ │ │ │ │ "xcdat": [5, 54],
│ │ │ │ │ "xclim": 5,
│ │ │ │ │ "xd": 37,
│ │ │ │ │ + "xd23": 51,
│ │ │ │ │ + "xd4f": 51,
│ │ │ │ │ + "xdd": 51,
│ │ │ │ │ "xdev": 34,
│ │ │ │ │ "xdist": [3, 18, 54],
│ │ │ │ │ + "xe0": 51,
│ │ │ │ │ + "xe1": 51,
│ │ │ │ │ + "xe9": 51,
│ │ │ │ │ + "xed": 51,
│ │ │ │ │ "xenomorph": 41,
│ │ │ │ │ "xeof": 5,
│ │ │ │ │ "xesmf": [5, 12],
│ │ │ │ │ + "xf2": 51,
│ │ │ │ │ "xfail": [3, 54],
│ │ │ │ │ + "xfe": 51,
│ │ │ │ │ "xframe": 5,
│ │ │ │ │ "xgcm": [5, 7],
│ │ │ │ │ "xi": 8,
│ │ │ │ │ "xi_rho": 7,
│ │ │ │ │ "xianxiang": 54,
│ │ │ │ │ "xin": 54,
│ │ │ │ │ "xincreas": [48, 54],
│ │ │ │ │ @@ -10597,15 +10614,14 @@
│ │ │ │ │ "xtick": [48, 54],
│ │ │ │ │ "xtrude": 5,
│ │ │ │ │ "xx": 36,
│ │ │ │ │ "xxxx": 3,
│ │ │ │ │ "xy_index": 28,
│ │ │ │ │ "xyz": 38,
│ │ │ │ │ "xyzpi": 5,
│ │ │ │ │ - "x\u00f2\u016f\u016f": 51,
│ │ │ │ │ "y": [7, 11, 12, 18, 19, 20, 24, 25, 28, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 49, 50, 51, 53, 54],
│ │ │ │ │ "y_coars": 49,
│ │ │ │ │ "y_fine": 49,
│ │ │ │ │ "y_rank": 37,
│ │ │ │ │ "y_win": 36,
│ │ │ │ │ "yai": 8,
│ │ │ │ │ "yalpha": 36,
│ │ │ │ │ @@ -10672,56 +10688,52 @@
│ │ │ │ │ "zmetadata": [32, 45],
│ │ │ │ │ "zo_rho": 7,
│ │ │ │ │ "zonal": [5, 37, 48],
│ │ │ │ │ "zoom": 4,
│ │ │ │ │ "zstd": 45,
│ │ │ │ │ "zuckerberg": 54,
│ │ │ │ │ "z\u00fchlke": 54,
│ │ │ │ │ - "\u00b2": 51,
│ │ │ │ │ - "\u00bc\u0121\u00e3\u017e\u017c": 51,
│ │ │ │ │ - "\u00e7": 51,
│ │ │ │ │ - "\u00e7\u0115\u012d\u00fc\u0131": 51,
│ │ │ │ │ - "\u00e9": 51,
│ │ │ │ │ - "\u00ea": 51,
│ │ │ │ │ - "\u00ef\u0135\u017fec": 51,
│ │ │ │ │ - "\u00ef\u0144\u00ec\u0111\u011d": 51,
│ │ │ │ │ - "\u00f5": 51,
│ │ │ │ │ - "\u00f6": 51,
│ │ │ │ │ - "\u00f91": 51,
│ │ │ │ │ - "\u00fc": 51,
│ │ │ │ │ - "\u00fdb\u017c": 51,
│ │ │ │ │ - "\u00ff\u017f\u00be\u017e\u0148": 51,
│ │ │ │ │ - "\u0107\u00f8\u00f8w\u00e3": 51,
│ │ │ │ │ - "\u010f": 51,
│ │ │ │ │ - "\u0115": 51,
│ │ │ │ │ - "\u0123\u010f\u00eb": 51,
│ │ │ │ │ - "\u0125": 51,
│ │ │ │ │ - "\u012d\u017e\u017e\u00e1\u017c": 51,
│ │ │ │ │ - "\u0137": 51,
│ │ │ │ │ - "\u0137\u017f\u0153\u00f6\u017f": 51,
│ │ │ │ │ - "\u0142\u0101\u017e\u0115\u0165": 51,
│ │ │ │ │ - "\u0142\u0135\u017eoe": 51,
│ │ │ │ │ - "\u0157\u0121\u00e7\u00ebu": 51,
│ │ │ │ │ - "\u0161\u017e": 51,
│ │ │ │ │ - "\u0165\u00e3u": 51,
│ │ │ │ │ - "\u0167": 51,
│ │ │ │ │ - "\u0169": 51,
│ │ │ │ │ - "\u0169e": 51,
│ │ │ │ │ - "\u016b\u00e7\u0135\u017c\u017f": 51,
│ │ │ │ │ + "\u00e0\u00b2": 51,
│ │ │ │ │ + "\u00e1\u0148": 51,
│ │ │ │ │ + "\u00e2\u00f2": 51,
│ │ │ │ │ + "\u00e3": 51,
│ │ │ │ │ + "\u00e8h\u0157\u017c": 51,
│ │ │ │ │ + "\u00eeb": 51,
│ │ │ │ │ + "\u00eem": 51,
│ │ │ │ │ + "\u00f3": 51,
│ │ │ │ │ + "\u00fa\u013e\u00e48\u017f": 51,
│ │ │ │ │ + "\u00fc\u00be": 51,
│ │ │ │ │ + "\u00fd": 51,
│ │ │ │ │ + "\u0101\u00f0l\u0140\u0146": 51,
│ │ │ │ │ + "\u0105\u0113\u017e\u00eb\u017f": 51,
│ │ │ │ │ + "\u0115\u0109\u00fc\u00f3\u017f": 51,
│ │ │ │ │ + "\u011f\u013e\u01031": 51,
│ │ │ │ │ + "\u013a\u0175\u013c": 51,
│ │ │ │ │ + "\u013e\u00ff\u017f": 51,
│ │ │ │ │ + "\u0148\u014b\u017ei\u00f0": 51,
│ │ │ │ │ + "\u0148\u017e\u0105": 51,
│ │ │ │ │ + "\u0151": 51,
│ │ │ │ │ + "\u0155": 51,
│ │ │ │ │ + "\u0155\u0117a\u0129n": 51,
│ │ │ │ │ + "\u0155\u017c": 51,
│ │ │ │ │ + "\u015f\u0117": 51,
│ │ │ │ │ + "\u0167\u010b\u00b20": 51,
│ │ │ │ │ + "\u0169b": 51,
│ │ │ │ │ + "\u016bq\u017f\u00e7\u015b": 51,
│ │ │ │ │ "\u016f": 51,
│ │ │ │ │ - "\u0173\u0109\u011b\u00f2\u00e9": 51,
│ │ │ │ │ - "\u0177": 51,
│ │ │ │ │ - "\u017c": 51,
│ │ │ │ │ - "\u017ct\u0137a\u017c": 51,
│ │ │ │ │ - "\u017c\u0127": 51,
│ │ │ │ │ - "\u017c\u01518\u010d": 51,
│ │ │ │ │ - "\u017c\u017c\u00b9": 51,
│ │ │ │ │ - "\u017ev": 51,
│ │ │ │ │ - "\u017e\u00f2\u017f\u017cv": 51,
│ │ │ │ │ - "\u017e\u0148\u00f0\u0105\u017c": 51
│ │ │ │ │ + "\u0173\u00ef\u011f\u016f\u010f": 51,
│ │ │ │ │ + "\u0173\u0109\u0113\u017e\u017c": 51,
│ │ │ │ │ + "\u0173\u0169\u017e\u00ee": 51,
│ │ │ │ │ + "\u0175\u010d\u00f0\u0149\u017c": 51,
│ │ │ │ │ + "\u017c9\u012fc\u00f4": 51,
│ │ │ │ │ + "\u017e": 51,
│ │ │ │ │ + "\u017fi\u0307\u0169\u00bda": 51,
│ │ │ │ │ + "\u017fxa\u00e7\u017c": 51,
│ │ │ │ │ + "\u017f\u00e7\u0107\u0107\u0175": 51,
│ │ │ │ │ + "\u017f\u017c": 51
│ │ │ │ │ },
│ │ │ │ │ "titles": ["xarray", "API reference", "<no title>", "Contributing to xarray", "Developers meeting", "Xarray related projects", "GRIB Data Example", "ROMS Ocean Model Example", "Applying unvectorized functions with apply_ufunc
", "Compare weighted and unweighted mean temperature", "Blank template", "Calculating Seasonal Averages from Time Series of Monthly Means", "Working with Multidimensional Coordinates", "Visualization Gallery", "Toy weather data", "Gallery", "Frequently Asked Questions", "Getting Started", "Installation", "Quick overview", "Overview: Why xarray?", "Getting Help", "How do I \u2026", "Xarray documentation", "Alternative chunked array types", "Integrating with duck arrays", "Extending xarray using accessors", "How to add a new backend", "How to create a custom index", "Xarray Internals", "Internal Design", "Interoperability of Xarray", "Zarr Encoding Specification", "Development roadmap", "Tutorials and Videos", "Combining data", "Computation", "Parallel Computing with Dask", "Data Structures", "Working with numpy-like arrays", "GroupBy: Group and Bin Data", "Hierarchical data", "User Guide", "Indexing and selecting data", "Interpolating data", "Reading and writing files", "Configuration", "Working with pandas", "Plotting", "Reshaping and reorganizing data", "Terminology", "Testing your code", "Time series data", "Weather and climate data", "What\u2019s New"],
│ │ │ │ │ "titleterms": {
│ │ │ │ │ "": [13, 54],
│ │ │ │ │ "0": 54,
│ │ │ │ │ "01": 54,
│ │ │ │ │ "02": 54,
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/computation.html
│ │ │ │ @@ -879,15 +879,15 @@
│ │ │ │ * param (param) <U2 16B 'a' 'xc'
│ │ │ │ * cov_i (cov_i) <U2 16B 'a' 'xc'
│ │ │ │ * cov_j (cov_j) <U2 16B 'a' 'xc'
│ │ │ │ Data variables:
│ │ │ │ var2_curvefit_coefficients (x, param) float64 2kB 3.0 -5.0 3.0 ... 3.0 4.9
│ │ │ │ var2_curvefit_covariance (x, cov_i, cov_j) float64 3kB 9.286e-14 ... 1...
│ │ │ │ var3_curvefit_coefficients (x, param) float64 2kB 0.9999 5.0 ... 1.0 -4.9
│ │ │ │ - var3_curvefit_covariance (x, cov_i, cov_j) float64 3kB 5.825e-11 ... 1...
│ │ │ │ + var3_curvefit_covariance (x, cov_i, cov_j) float64 3kB 5.825e-11 ... 8...
│ │ │ │
│ │ │ │
│ │ │ │ We can also fit multi-dimensional functions, and even use a wrapper function to
│ │ │ │ simultaneously fit a summation of several functions, such as this field containing
│ │ │ │ two gaussian peaks:
│ │ │ │ In [102]: def gaussian_2d ( coords , a , xc , yc , xalpha , yalpha ):
│ │ │ │ .....: x , y = coords
│ │ │ │ @@ -935,15 +935,15 @@
│ │ │ │ Dimensions: (param: 10, cov_i: 10, cov_j: 10)
│ │ │ │ Coordinates:
│ │ │ │ * param (param) <U7 280B 'a0' 'xc0' ... 'xalpha1' 'yalpha1'
│ │ │ │ * cov_i (cov_i) <U7 280B 'a0' 'xc0' ... 'xalpha1' 'yalpha1'
│ │ │ │ * cov_j (cov_j) <U7 280B 'a0' 'xc0' ... 'xalpha1' 'yalpha1'
│ │ │ │ Data variables:
│ │ │ │ curvefit_coefficients (param) float64 80B 1.994 -0.9986 ... 1.999 0.9986
│ │ │ │ - curvefit_covariance (cov_i, cov_j) float64 800B 6.556e-05 ... 4.467e-06
│ │ │ │ + curvefit_covariance (cov_i, cov_j) float64 800B 6.557e-05 ... 4.466e-06
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Note
│ │ │ │
This method replicates the behavior of scipy.optimize.curve_fit()
.
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -721,15 +721,15 @@
│ │ │ │ │ * cov_j (cov_j) 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 [64]: plt . plot (( 2 * ds . temperature . sel ( loc = 0 )) . mean ( "instrument" ))
│ │ │ │ -Out[64]: [<matplotlib.lines.Line2D at 0x7f939a5a2c10>]
│ │ │ │ +Out[64]: [<matplotlib.lines.Line2D at 0x7f39369a6d50>]
│ │ │ │
│ │ │ │ In [65]: ( ds . temperature . sel ( loc = 0 ) . pipe ( lambda x : 2 * x ) . mean ( "instrument" ) . pipe ( plt . plot ))
│ │ │ │ -Out[65]: [<matplotlib.lines.Line2D at 0x7f939a5a2ad0>]
│ │ │ │ +Out[65]: [<matplotlib.lines.Line2D at 0x7f39369a6c10>]
│ │ │ │
│ │ │ │
│ │ │ │ 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 {}
│ │ │ │ │ @@ -585,19 +585,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 [64]: plt.plot((2 * ds.temperature.sel(loc=0)).mean("instrument"))
│ │ │ │ │ -Out[64]: []
│ │ │ │ │ +Out[64]: []
│ │ │ │ │
│ │ │ │ │ In [65]: (ds.temperature.sel(loc=0).pipe(lambda x: 2 * x).mean
│ │ │ │ │ ("instrument").pipe(plt.plot))
│ │ │ │ │ -Out[65]: []
│ │ │ │ │ +Out[65]: []
│ │ │ │ │ Both pipe and assign replicate the pandas methods of the same names
│ │ │ │ │ (_D_a_t_a_F_r_a_m_e_._p_i_p_e and _D_a_t_a_F_r_a_m_e_._a_s_s_i_g_n).
│ │ │ │ │ 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
│ │ │ │ │ of mutating existing objects often results in easier to understand code, so we
│ │ │ │ │ encourage using this approach.
│ │ │ │ │ ******** RReennaammiinngg vvaarriiaabblleess_?¶ ********
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/hierarchical-data.html
│ │ │ │ @@ -982,15 +982,15 @@
│ │ │ │ If you were a previous user of the prototype xarray-contrib/datatree package, this is different from what you’re used to!
│ │ │ │ In that package the data model was that the data stored in each node actually was completely unrelated. The data model is now slightly stricter.
│ │ │ │ This allows us to provide features like Coordinate Inheritance .
│ │ │ │
│ │ │ │ To demonstrate, let’s first generate some example datasets which are not aligned with one another:
│ │ │ │ # (drop the attributes just to make the printed representation shorter)
│ │ │ │ In [89]: ds = xr . tutorial . open_dataset ( "air_temperature" ) . drop_attrs ()
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [90]: ds_daily = ds . resample ( time = "D" ) . mean ( "time" )
│ │ │ │ KeyError: "No variable named 'time'. Variables on the dataset include ['foo', 'x', 'letters']"
│ │ │ │
│ │ │ │
│ │ │ │ In [91]: ds_weekly = ds . resample ( time = "W" ) . mean ( "time" )
│ │ │ │ @@ -1054,15 +1054,15 @@
│ │ │ │ └── Group: /b/B
│ │ │ │
│ │ │ │
│ │ │ │ Now we have a valid DataTree
structure which contains all the data at each different time frequency, stored in a separate group.
│ │ │ │ This is a useful way to organise our data because we can still operate on all the groups at once.
│ │ │ │ For example we can extract all three timeseries at a specific lat-lon location:
│ │ │ │ In [100]: dt . sel ( lat = 75 , lon = 300 )
│ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of set()
│ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of set()
│ │ │ │
│ │ │ │
│ │ │ │ or compute the standard deviation of each timeseries to find out how it varies with sampling frequency:
│ │ │ │ In [101]: dt . std ( dim = "time" )
│ │ │ │ ValueError: Dimension(s) 'time' do not exist. Expected one or more of set()
│ │ │ │
│ │ │ │
│ │ │ │ @@ -1128,15 +1128,15 @@
│ │ │ │ In [107]: print ( dt [ "/daily" ])
│ │ │ │ KeyError: 'Could not find node at /daily'
│ │ │ │
│ │ │ │
│ │ │ │ This helps to differentiate which variables are defined on the datatree node that you are currently looking at, and which were defined somewhere above it.
│ │ │ │ We can also still perform all the same operations on the whole tree:
│ │ │ │ In [108]: dt . sel ( lat = [ 75 ], lon = [ 300 ])
│ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of set()
│ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of set()
│ │ │ │
│ │ │ │
│ │ │ │ In [109]: dt . std ( dim = "time" )
│ │ │ │ ValueError: Dimension(s) 'time' do not exist. Expected one or more of set()
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -868,15 +868,15 @@
│ │ │ │ │ model is now slightly stricter. This allows us to provide features like
│ │ │ │ │ _C_o_o_r_d_i_n_a_t_e_ _I_n_h_e_r_i_t_a_n_c_e.
│ │ │ │ │ To demonstrate, let’s first generate some example datasets which are not
│ │ │ │ │ aligned with one another:
│ │ │ │ │ # (drop the attributes just to make the printed representation shorter)
│ │ │ │ │ In [89]: ds = xr.tutorial.open_dataset("air_temperature").drop_attrs()
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [90]: ds_daily = ds.resample(time="D").mean("time")
│ │ │ │ │ KeyError: "No variable named 'time'. Variables on the dataset include ['foo',
│ │ │ │ │ 'x', 'letters']"
│ │ │ │ │
│ │ │ │ │ @@ -944,15 +944,15 @@
│ │ │ │ │ └── Group: /b/B
│ │ │ │ │ Now we have a valid DataTree structure which contains all the data at each
│ │ │ │ │ different time frequency, stored in a separate group.
│ │ │ │ │ This is a useful way to organise our data because we can still operate on all
│ │ │ │ │ the groups at once. For example we can extract all three timeseries at a
│ │ │ │ │ specific lat-lon location:
│ │ │ │ │ In [100]: dt.sel(lat=75, lon=300)
│ │ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of set
│ │ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of set
│ │ │ │ │ ()
│ │ │ │ │ or compute the standard deviation of each timeseries to find out how it varies
│ │ │ │ │ with sampling frequency:
│ │ │ │ │ In [101]: dt.std(dim="time")
│ │ │ │ │ ValueError: Dimension(s) 'time' do not exist. Expected one or more of set()
│ │ │ │ │ ******** CCoooorrddiinnaattee IInnhheerriittaannccee_?¶ ********
│ │ │ │ │ Notice that in the trees we constructed above there is some redundancy - the
│ │ │ │ │ @@ -1016,15 +1016,15 @@
│ │ │ │ │ coordinates, but explicitly mark them as such:
│ │ │ │ │ In [107]: print(dt["/daily"])
│ │ │ │ │ KeyError: 'Could not find node at /daily'
│ │ │ │ │ This helps to differentiate which variables are defined on the datatree node
│ │ │ │ │ that you are currently looking at, and which were defined somewhere above it.
│ │ │ │ │ We can also still perform all the same operations on the whole tree:
│ │ │ │ │ In [108]: dt.sel(lat=[75], lon=[300])
│ │ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of set
│ │ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of set
│ │ │ │ │ ()
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [109]: dt.std(dim="time")
│ │ │ │ │ ValueError: Dimension(s) 'time' do not exist. Expected one or more of set()
│ │ │ │ │ _[_L_o_g_o_ _o_f_ _x_a_r_r_a_y_]
│ │ │ │ │ ************ _xx_aa_rr_rr_aa_yy ************
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/indexing.html
│ │ │ │ @@ -653,15 +653,15 @@
│ │ │ │ to a collection specified weather station latitudes and longitudes.
│ │ │ │ To trigger vectorized indexing behavior
│ │ │ │ you will need to provide the selection dimensions with a new
│ │ │ │ shared output dimension name. In the example below, the selections
│ │ │ │ of the closest latitude and longitude are renamed to an output
│ │ │ │ dimension named “points”:
│ │ │ │ In [52]: ds = xr . tutorial . open_dataset ( "air_temperature" )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ # Define target latitude and longitude (where weather stations might be)
│ │ │ │ In [53]: target_lon = xr . DataArray ([ 200 , 201 , 202 , 205 ], dims = "points" )
│ │ │ │
│ │ │ │ In [54]: target_lat = xr . DataArray ([ 31 , 41 , 42 , 42 ], dims = "points" )
│ │ │ │
│ │ │ │ @@ -697,15 +697,15 @@
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Assigning values with indexing
│ │ │ │ To select and assign values to a portion of a DataArray()
you
│ │ │ │ can use indexing with .loc
:
│ │ │ │ In [57]: ds = xr . tutorial . open_dataset ( "air_temperature" )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ # add an empty 2D dataarray
│ │ │ │ In [58]: ds [ "empty" ] = xr . full_like ( ds . air . mean ( "time" ), fill_value = 0 )
│ │ │ │ AttributeError: 'Dataset' object has no attribute 'air'
│ │ │ │
│ │ │ │
│ │ │ │ @@ -869,15 +869,15 @@
│ │ │ │
│ │ │ │
│ │ │ │ You can also assign values to all variables of a Dataset
at once:
│ │ │ │ In [83]: ds_org = xr . tutorial . open_dataset ( "eraint_uvz" ) . isel (
│ │ │ │ ....: latitude = slice ( 56 , 59 ), longitude = slice ( 255 , 258 ), level = 0
│ │ │ │ ....: )
│ │ │ │ ....:
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ # set all values to 0
│ │ │ │ In [84]: ds = xr . zeros_like ( ds_org )
│ │ │ │ NameError: name 'ds_org' is not defined
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -474,15 +474,15 @@
│ │ │ │ │ collection specified weather station latitudes and longitudes. To trigger
│ │ │ │ │ vectorized indexing behavior you will need to provide the selection dimensions
│ │ │ │ │ with a new shared output dimension name. In the example below, the selections
│ │ │ │ │ of the closest latitude and longitude are renamed to an output dimension named
│ │ │ │ │ “points”:
│ │ │ │ │ In [52]: ds = xr.tutorial.open_dataset("air_temperature")
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ # Define target latitude and longitude (where weather stations might be)
│ │ │ │ │ In [53]: target_lon = xr.DataArray([200, 201, 202, 205], dims="points")
│ │ │ │ │
│ │ │ │ │ In [54]: target_lat = xr.DataArray([31, 41, 42, 42], dims="points")
│ │ │ │ │ @@ -513,15 +513,15 @@
│ │ │ │ │ selected subpart of the target array (except for the explicitly indexed
│ │ │ │ │ dimensions with .loc/.sel). Otherwise, IndexError will be raised.
│ │ │ │ │ ********** AAssssiiggnniinngg vvaalluueess wwiitthh iinnddeexxiinngg_?¶ **********
│ │ │ │ │ To select and assign values to a portion of a DataArray() you can use indexing
│ │ │ │ │ with .loc :
│ │ │ │ │ In [57]: ds = xr.tutorial.open_dataset("air_temperature")
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ # add an empty 2D dataarray
│ │ │ │ │ In [58]: ds["empty"] = xr.full_like(ds.air.mean("time"), fill_value=0)
│ │ │ │ │ AttributeError: 'Dataset' object has no attribute 'air'
│ │ │ │ │
│ │ │ │ │ @@ -673,15 +673,15 @@
│ │ │ │ │ Dimensions without coordinates: x
│ │ │ │ │ You can also assign values to all variables of a Dataset at once:
│ │ │ │ │ In [83]: ds_org = xr.tutorial.open_dataset("eraint_uvz").isel(
│ │ │ │ │ ....: latitude=slice(56, 59), longitude=slice(255, 258), level=0
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ # set all values to 0
│ │ │ │ │ In [84]: ds = xr.zeros_like(ds_org)
│ │ │ │ │ NameError: name 'ds_org' is not defined
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/interpolation.html
│ │ │ │ @@ -237,24 +237,24 @@
│ │ │ │ ....: 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]: [<matplotlib.lines.Line2D at 0x7f93c339b250>]
│ │ │ │ +Out[17]: [<matplotlib.lines.Line2D at 0x7f39570fb9d0>]
│ │ │ │
│ │ │ │ In [18]: da . interp ( x = np . linspace ( 0 , 1 , 100 )) . plot . line ( label = "linear (default)" )
│ │ │ │ -Out[18]: [<matplotlib.lines.Line2D at 0x7f93c323e5d0>]
│ │ │ │ +Out[18]: [<matplotlib.lines.Line2D at 0x7f39570fb750>]
│ │ │ │
│ │ │ │ In [19]: da . interp ( x = np . linspace ( 0 , 1 , 100 ), method = "cubic" ) . plot . line ( label = "cubic" )
│ │ │ │ -Out[19]: [<matplotlib.lines.Line2D at 0x7f93c323e490>]
│ │ │ │ +Out[19]: [<matplotlib.lines.Line2D at 0x7f39570fbd90>]
│ │ │ │
│ │ │ │ In [20]: plt . legend ()
│ │ │ │ -Out[20]: <matplotlib.legend.Legend at 0x7f93c3208c20>
│ │ │ │ +Out[20]: <matplotlib.legend.Legend at 0x7f39570846e0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 })
│ │ │ │ @@ -439,15 +439,15 @@
│ │ │ │ see Missing values .
│ │ │ │
│ │ │ │
│ │ │ │ Example
│ │ │ │ Let’s see how interp()
works on real data.
│ │ │ │ # Raw data
│ │ │ │ In [44]: ds = xr . tutorial . open_dataset ( "air_temperature" ) . isel ( time = 0 )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [45]: fig , axes = plt . subplots ( ncols = 2 , figsize = ( 10 , 4 ))
│ │ │ │
│ │ │ │ In [46]: ds . air . plot ( ax = axes [ 0 ])
│ │ │ │ AttributeError: 'Dataset' object has no attribute 'air'
│ │ │ │
│ │ │ │ @@ -511,15 +511,15 @@
│ │ │ │ ....: axes [ 0 ] . plot ( * xr . broadcast ( lon . isel ( z = idx ), lat . isel ( z = idx )), "--k" )
│ │ │ │ ....:
│ │ │ │
│ │ │ │ In [61]: axes [ 0 ] . set_title ( "Raw data" )
│ │ │ │ Out[61]: Text(0.5, 1.0, 'Raw data')
│ │ │ │
│ │ │ │ In [62]: dsi = ds . interp ( lon = lon , lat = lat )
│ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of FrozenMappingWarningOnValuesAccess({'x': 3, 'y': 4})
│ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of FrozenMappingWarningOnValuesAccess({'x': 3, 'y': 4})
│ │ │ │
│ │ │ │
│ │ │ │ In [63]: dsi . air . plot ( ax = axes [ 1 ])
│ │ │ │ NameError: name 'dsi' is not defined
│ │ │ │
│ │ │ │
│ │ │ │ In [64]: axes [ 1 ] . set_title ( "Remapped data" )
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -154,26 +154,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]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_i_n_t_e_r_p_o_l_a_t_i_o_n___s_a_m_p_l_e_1_._p_n_g_]
│ │ │ │ │ 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]:
│ │ │ │ │ Size: 80B
│ │ │ │ │ array([ 0. , 0. , 0. , 0.814, 0.604, -0.604, -0.814, 0. , 0. ,
│ │ │ │ │ @@ -337,15 +337,15 @@
│ │ │ │ │ * x (x) float64 24B 0.5 1.5 2.5
│ │ │ │ │ For the details of interpolate_na(), see _M_i_s_s_i_n_g_ _v_a_l_u_e_s.
│ │ │ │ │ ********** EExxaammppllee_?¶ **********
│ │ │ │ │ Let’s see how interp() works on real data.
│ │ │ │ │ # Raw data
│ │ │ │ │ In [44]: ds = xr.tutorial.open_dataset("air_temperature").isel(time=0)
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [45]: fig, axes = plt.subplots(ncols=2, figsize=(10, 4))
│ │ │ │ │
│ │ │ │ │ In [46]: ds.air.plot(ax=axes[0])
│ │ │ │ │ AttributeError: 'Dataset' object has no attribute 'air'
│ │ │ │ │ @@ -410,15 +410,15 @@
│ │ │ │ │ k")
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [61]: axes[0].set_title("Raw data")
│ │ │ │ │ Out[61]: Text(0.5, 1.0, 'Raw data')
│ │ │ │ │
│ │ │ │ │ In [62]: dsi = ds.interp(lon=lon, lat=lat)
│ │ │ │ │ -ValueError: Dimensions {'lon', 'lat'} do not exist. Expected one or more of
│ │ │ │ │ +ValueError: Dimensions {'lat', 'lon'} do not exist. Expected one or more of
│ │ │ │ │ FrozenMappingWarningOnValuesAccess({'x': 3, 'y': 4})
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [63]: dsi.air.plot(ax=axes[1])
│ │ │ │ │ NameError: name 'dsi' is not defined
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/io.html
│ │ │ │ @@ -630,15 +630,15 @@
│ │ │ │ ....: "y" : pd . date_range ( "2000-01-01" , periods = 5 ),
│ │ │ │ ....: "z" : ( "x" , list ( "abcd" )),
│ │ │ │ ....: },
│ │ │ │ ....: )
│ │ │ │ ....:
│ │ │ │
│ │ │ │ In [13]: ds . to_zarr ( "path/to/directory.zarr" )
│ │ │ │ -Out[13]: <xarray.backends.zarr.ZarrStore at 0x7f93961ee4d0>
│ │ │ │ +Out[13]: <xarray.backends.zarr.ZarrStore at 0x7f39324264d0>
│ │ │ │
│ │ │ │
│ │ │ │ (The suffix .zarr
is optional–just a reminder that a zarr store lives
│ │ │ │ there.) If the directory does not exist, it will be created. If a zarr
│ │ │ │ store is already present at that path, an error will be raised, preventing it
│ │ │ │ from being overwritten. To override this behavior and overwrite an existing
│ │ │ │ store, add mode='w'
when invoking to_zarr()
.
│ │ │ │ @@ -724,36 +724,36 @@
│ │ │ │
│ │ │ │ In [18]: ds = xr . Dataset ({ "foo" : ( "x" , dummies )}, coords = { "x" : np . arange ( 30 )})
│ │ │ │
│ │ │ │ In [19]: path = "path/to/directory.zarr"
│ │ │ │
│ │ │ │ # Now we write the metadata without computing any array values
│ │ │ │ In [20]: ds . to_zarr ( path , compute = False )
│ │ │ │ -Out[20]: Delayed('_finalize_store-bfb46614-7c78-48e0-b4aa-72b0e4c9db73')
│ │ │ │ +Out[20]: Delayed('_finalize_store-f76aeb1b-76ee-4d49-9dca-80f0ce670b67')
│ │ │ │
│ │ │ │
│ │ │ │ Now, a Zarr store with the correct variable shapes and attributes exists that
│ │ │ │ can be filled out by subsequent calls to to_zarr
.
│ │ │ │ Setting region="auto"
will open the existing store and determine the
│ │ │ │ correct alignment of the new data with the existing dimensions, or as an
│ │ │ │ explicit mapping from dimension names to Python slice
objects indicating
│ │ │ │ where the data should be written (in index space, not label space), e.g.,
│ │ │ │ # For convenience, we'll slice a single dataset, but in the real use-case
│ │ │ │ # we would create them separately possibly even from separate processes.
│ │ │ │ In [21]: ds = xr . Dataset ({ "foo" : ( "x" , np . arange ( 30 ))}, coords = { "x" : np . arange ( 30 )})
│ │ │ │
│ │ │ │ # Any of the following region specifications are valid
│ │ │ │ In [22]: ds . isel ( x = slice ( 0 , 10 )) . to_zarr ( path , region = "auto" )
│ │ │ │ -Out[22]: <xarray.backends.zarr.ZarrStore at 0x7f93961efb50>
│ │ │ │ +Out[22]: <xarray.backends.zarr.ZarrStore at 0x7f3932427b50>
│ │ │ │
│ │ │ │ In [23]: ds . isel ( x = slice ( 10 , 20 )) . to_zarr ( path , region = { "x" : "auto" })
│ │ │ │ -Out[23]: <xarray.backends.zarr.ZarrStore at 0x7f93961ef520>
│ │ │ │ +Out[23]: <xarray.backends.zarr.ZarrStore at 0x7f3932427520>
│ │ │ │
│ │ │ │ In [24]: ds . isel ( x = slice ( 20 , 30 )) . to_zarr ( path , region = { "x" : slice ( 20 , 30 )})
│ │ │ │ -Out[24]: <xarray.backends.zarr.ZarrStore at 0x7f9396579e10>
│ │ │ │ +Out[24]: <xarray.backends.zarr.ZarrStore at 0x7f39325b5e10>
│ │ │ │
│ │ │ │
│ │ │ │ Concurrent writes with region
are safe as long as they modify distinct
│ │ │ │ chunks in the underlying Zarr arrays (or use an appropriate lock
).
│ │ │ │ As a safety check to make it harder to inadvertently override existing values,
│ │ │ │ if you set region
then all variables included in a Dataset must have
│ │ │ │ dimensions included in region
. Other variables (typically coordinates)
│ │ │ │ @@ -769,15 +769,15 @@
│ │ │ │
In [25]: import zarr
│ │ │ │
│ │ │ │ In [26]: from numcodecs.blosc import Blosc
│ │ │ │
│ │ │ │ In [27]: compressor = Blosc ( cname = "zstd" , clevel = 3 , shuffle = 2 )
│ │ │ │
│ │ │ │ In [28]: ds . to_zarr ( "foo.zarr" , encoding = { "foo" : { "compressor" : compressor }})
│ │ │ │ -Out[28]: <xarray.backends.zarr.ZarrStore at 0x7f93e390c4c0>
│ │ │ │ +Out[28]: <xarray.backends.zarr.ZarrStore at 0x7f39322c84c0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Note
│ │ │ │
Not all native zarr compression and filtering options have been tested with
│ │ │ │ xarray.
│ │ │ │
│ │ │ │ @@ -816,28 +816,28 @@
│ │ │ │ ....: "y" : [ 1 , 2 , 3 , 4 , 5 ],
│ │ │ │ ....: "t" : pd . date_range ( "2001-01-01" , periods = 2 ),
│ │ │ │ ....: },
│ │ │ │ ....: )
│ │ │ │ ....:
│ │ │ │
│ │ │ │ In [30]: ds1 . to_zarr ( "path/to/directory.zarr" )
│ │ │ │ -Out[30]: <xarray.backends.zarr.ZarrStore at 0x7f93e390cdc0>
│ │ │ │ +Out[30]: <xarray.backends.zarr.ZarrStore at 0x7f39322c8dc0>
│ │ │ │
│ │ │ │ In [31]: ds2 = xr . Dataset (
│ │ │ │ ....: { "foo" : (( "x" , "y" , "t" ), np . random . rand ( 4 , 5 , 2 ))},
│ │ │ │ ....: coords = {
│ │ │ │ ....: "x" : [ 10 , 20 , 30 , 40 ],
│ │ │ │ ....: "y" : [ 1 , 2 , 3 , 4 , 5 ],
│ │ │ │ ....: "t" : pd . date_range ( "2001-01-03" , periods = 2 ),
│ │ │ │ ....: },
│ │ │ │ ....: )
│ │ │ │ ....:
│ │ │ │
│ │ │ │ In [32]: ds2 . to_zarr ( "path/to/directory.zarr" , append_dim = "t" )
│ │ │ │ -Out[32]: <xarray.backends.zarr.ZarrStore at 0x7f93e390ce50>
│ │ │ │ +Out[32]: <xarray.backends.zarr.ZarrStore at 0x7f39322c8e50>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Specifying chunks in a zarr store
│ │ │ │ Chunk sizes may be specified in one of three ways when writing to a zarr store:
│ │ │ │
│ │ │ │ @@ -861,15 +861,15 @@
│ │ │ │ positional ordering of the dimensions in each array. Watch out for arrays with
│ │ │ │ differently-ordered dimensions within a single Dataset.
│ │ │ │
│ │ │ │ For example, let’s say we’re working with a dataset with dimensions
│ │ │ │ ('time', 'x', 'y')
, a variable Tair
which is chunked in x
and y
,
│ │ │ │ and two multi-dimensional coordinates xc
and yc
:
│ │ │ │ In [33]: ds = xr . tutorial . open_dataset ( "rasm" )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [34]: ds [ "Tair" ] = ds [ "Tair" ] . chunk ({ "x" : 100 , "y" : 100 })
│ │ │ │ KeyError: "No variable named 'Tair'. Variables on the dataset include ['foo', 'x']"
│ │ │ │
│ │ │ │
│ │ │ │ In [35]: ds
│ │ │ │ @@ -882,15 +882,15 @@
│ │ │ │ foo (x) int64 240B 0 1 2 3 4 5 6 7 8 9 ... 21 22 23 24 25 26 27 28 29
│ │ │ │
│ │ │ │
│ │ │ │ These multi-dimensional coordinates are only two-dimensional and take up very little
│ │ │ │ space on disk or in memory, yet when writing to disk the default zarr behavior is to
│ │ │ │ split them into chunks:
│ │ │ │ In [36]: ds . to_zarr ( "path/to/directory.zarr" , mode = "w" )
│ │ │ │ -Out[36]: <xarray.backends.zarr.ZarrStore at 0x7f93e390d900>
│ │ │ │ +Out[36]: <xarray.backends.zarr.ZarrStore at 0x7f39322c9900>
│ │ │ │
│ │ │ │ In [37]: ! ls -R path/to/directory.zarr
│ │ │ │ path/to/directory.zarr:
│ │ │ │ foo x
│ │ │ │
│ │ │ │ path/to/directory.zarr/foo:
│ │ │ │ 0
│ │ │ │ @@ -1062,15 +1062,15 @@
│ │ │ │ Ncdata
│ │ │ │ Ncdata provides more sophisticated means of transferring data, including entire
│ │ │ │ datasets. It uses the file saving and loading functions in both projects to provide a
│ │ │ │ more “correct” translation between them, but still with very low overhead and not
│ │ │ │ using actual disk files.
│ │ │ │ For example:
│ │ │ │ In [48]: ds = xr . tutorial . open_dataset ( "air_temperature_gradient" )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [49]: cubes = ncdata . iris_xarray . cubes_from_xarray ( ds )
│ │ │ │ NameError: name 'ncdata' is not defined
│ │ │ │
│ │ │ │
│ │ │ │ In [50]: print ( cubes )
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -481,15 +481,15 @@
│ │ │ │ │ ....: "y": pd.date_range("2000-01-01", periods=5),
│ │ │ │ │ ....: "z": ("x", list("abcd")),
│ │ │ │ │ ....: },
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [13]: ds.to_zarr("path/to/directory.zarr")
│ │ │ │ │ -Out[13]:
│ │ │ │ │ +Out[13]:
│ │ │ │ │ (The suffix .zarr is optional–just a reminder that a zarr store lives there.)
│ │ │ │ │ If the directory does not exist, it will be created. If a zarr store is already
│ │ │ │ │ present at that path, an error will be raised, preventing it from being
│ │ │ │ │ overwritten. To override this behavior and overwrite an existing store, add
│ │ │ │ │ mode='w' when invoking to_zarr().
│ │ │ │ │ DataArrays can also be saved to disk using the DataArray.to_zarr() method, and
│ │ │ │ │ loaded from disk using the open_dataarray() function with engine='zarr'.
│ │ │ │ │ @@ -562,35 +562,35 @@
│ │ │ │ │
│ │ │ │ │ In [18]: ds = xr.Dataset({"foo": ("x", dummies)}, coords={"x": np.arange(30)})
│ │ │ │ │
│ │ │ │ │ In [19]: path = "path/to/directory.zarr"
│ │ │ │ │
│ │ │ │ │ # Now we write the metadata without computing any array values
│ │ │ │ │ In [20]: ds.to_zarr(path, compute=False)
│ │ │ │ │ -Out[20]: Delayed('_finalize_store-bfb46614-7c78-48e0-b4aa-72b0e4c9db73')
│ │ │ │ │ +Out[20]: Delayed('_finalize_store-f76aeb1b-76ee-4d49-9dca-80f0ce670b67')
│ │ │ │ │ Now, a Zarr store with the correct variable shapes and attributes exists that
│ │ │ │ │ can be filled out by subsequent calls to to_zarr. Setting region="auto" will
│ │ │ │ │ open the existing store and determine the correct alignment of the new data
│ │ │ │ │ with the existing dimensions, or as an explicit mapping from dimension names to
│ │ │ │ │ Python slice objects indicating where the data should be written (in index
│ │ │ │ │ space, not label space), e.g.,
│ │ │ │ │ # For convenience, we'll slice a single dataset, but in the real use-case
│ │ │ │ │ # we would create them separately possibly even from separate processes.
│ │ │ │ │ In [21]: ds = xr.Dataset({"foo": ("x", np.arange(30))}, coords={"x": np.arange
│ │ │ │ │ (30)})
│ │ │ │ │
│ │ │ │ │ # Any of the following region specifications are valid
│ │ │ │ │ In [22]: ds.isel(x=slice(0, 10)).to_zarr(path, region="auto")
│ │ │ │ │ -Out[22]:
│ │ │ │ │ +Out[22]:
│ │ │ │ │
│ │ │ │ │ In [23]: ds.isel(x=slice(10, 20)).to_zarr(path, region={"x": "auto"})
│ │ │ │ │ -Out[23]:
│ │ │ │ │ +Out[23]:
│ │ │ │ │
│ │ │ │ │ In [24]: ds.isel(x=slice(20, 30)).to_zarr(path, region={"x": slice(20, 30)})
│ │ │ │ │ -Out[24]:
│ │ │ │ │ +Out[24]:
│ │ │ │ │ Concurrent writes with region are safe as long as they modify distinct chunks
│ │ │ │ │ in the underlying Zarr arrays (or use an appropriate lock).
│ │ │ │ │ As a safety check to make it harder to inadvertently override existing values,
│ │ │ │ │ if you set region then aallll variables included in a Dataset must have dimensions
│ │ │ │ │ included in region. Other variables (typically coordinates) need to be
│ │ │ │ │ explicitly dropped and/or written in a separate calls to to_zarr with mode='a'.
│ │ │ │ │ ******** ZZaarrrr CCoommpprreessssoorrss aanndd FFiilltteerrss_?¶ ********
│ │ │ │ │ @@ -601,15 +601,15 @@
│ │ │ │ │ In [25]: import zarr
│ │ │ │ │
│ │ │ │ │ In [26]: from numcodecs.blosc import Blosc
│ │ │ │ │
│ │ │ │ │ In [27]: compressor = Blosc(cname="zstd", clevel=3, shuffle=2)
│ │ │ │ │
│ │ │ │ │ In [28]: ds.to_zarr("foo.zarr", encoding={"foo": {"compressor": compressor}})
│ │ │ │ │ -Out[28]:
│ │ │ │ │ +Out[28]:
│ │ │ │ │ Note
│ │ │ │ │ Not all native zarr compression and filtering options have been tested with
│ │ │ │ │ xarray.
│ │ │ │ │ ******** MMooddiiffyyiinngg eexxiissttiinngg ZZaarrrr ssttoorreess_?¶ ********
│ │ │ │ │ Xarray supports several ways of incrementally writing variables to a Zarr
│ │ │ │ │ store. These options are useful for scenarios when it is infeasible or
│ │ │ │ │ undesirable to write your entire dataset at once.
│ │ │ │ │ @@ -635,28 +635,28 @@
│ │ │ │ │ ....: "y": [1, 2, 3, 4, 5],
│ │ │ │ │ ....: "t": pd.date_range("2001-01-01", periods=2),
│ │ │ │ │ ....: },
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [30]: ds1.to_zarr("path/to/directory.zarr")
│ │ │ │ │ -Out[30]:
│ │ │ │ │ +Out[30]:
│ │ │ │ │
│ │ │ │ │ In [31]: ds2 = xr.Dataset(
│ │ │ │ │ ....: {"foo": (("x", "y", "t"), np.random.rand(4, 5, 2))},
│ │ │ │ │ ....: coords={
│ │ │ │ │ ....: "x": [10, 20, 30, 40],
│ │ │ │ │ ....: "y": [1, 2, 3, 4, 5],
│ │ │ │ │ ....: "t": pd.date_range("2001-01-03", periods=2),
│ │ │ │ │ ....: },
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [32]: ds2.to_zarr("path/to/directory.zarr", append_dim="t")
│ │ │ │ │ -Out[32]:
│ │ │ │ │ +Out[32]:
│ │ │ │ │ ******** SSppeecciiffyyiinngg cchhuunnkkss iinn aa zzaarrrr ssttoorree_?¶ ********
│ │ │ │ │ Chunk sizes may be specified in one of three ways when writing to a zarr store:
│ │ │ │ │ 1. Manual chunk sizing through the use of the encoding argument in
│ │ │ │ │ Dataset.to_zarr():
│ │ │ │ │ 2. Automatic chunking based on chunks in dask arrays
│ │ │ │ │ 3. Default chunk behavior determined by the zarr library
│ │ │ │ │ The resulting chunks will be determined based on the order of the above list;
│ │ │ │ │ @@ -675,15 +675,15 @@
│ │ │ │ │ positional ordering of the dimensions in each array. Watch out for arrays with
│ │ │ │ │ differently-ordered dimensions within a single Dataset.
│ │ │ │ │ For example, let’s say we’re working with a dataset with dimensions ('time',
│ │ │ │ │ 'x', 'y'), a variable Tair which is chunked in x and y, and two multi-
│ │ │ │ │ dimensional coordinates xc and yc:
│ │ │ │ │ In [33]: ds = xr.tutorial.open_dataset("rasm")
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [34]: ds["Tair"] = ds["Tair"].chunk({"x": 100, "y": 100})
│ │ │ │ │ KeyError: "No variable named 'Tair'. Variables on the dataset include ['foo',
│ │ │ │ │ 'x']"
│ │ │ │ │
│ │ │ │ │ @@ -696,15 +696,15 @@
│ │ │ │ │ * x (x) int64 240B 0 1 2 3 4 5 6 7 8 9 ... 21 22 23 24 25 26 27 28 29
│ │ │ │ │ Data variables:
│ │ │ │ │ foo (x) int64 240B 0 1 2 3 4 5 6 7 8 9 ... 21 22 23 24 25 26 27 28 29
│ │ │ │ │ These multi-dimensional coordinates are only two-dimensional and take up very
│ │ │ │ │ little space on disk or in memory, yet when writing to disk the default zarr
│ │ │ │ │ behavior is to split them into chunks:
│ │ │ │ │ In [36]: ds.to_zarr("path/to/directory.zarr", mode="w")
│ │ │ │ │ -Out[36]:
│ │ │ │ │ +Out[36]:
│ │ │ │ │
│ │ │ │ │ In [37]: ! ls -R path/to/directory.zarr
│ │ │ │ │ path/to/directory.zarr:
│ │ │ │ │ foo x
│ │ │ │ │
│ │ │ │ │ path/to/directory.zarr/foo:
│ │ │ │ │ 0
│ │ │ │ │ @@ -850,15 +850,15 @@
│ │ │ │ │ _N_c_d_a_t_a provides more sophisticated means of transferring data, including entire
│ │ │ │ │ datasets. It uses the file saving and loading functions in both projects to
│ │ │ │ │ provide a more “correct” translation between them, but still with very low
│ │ │ │ │ overhead and not using actual disk files.
│ │ │ │ │ For example:
│ │ │ │ │ In [48]: ds = xr.tutorial.open_dataset("air_temperature_gradient")
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [49]: cubes = ncdata.iris_xarray.cubes_from_xarray(ds)
│ │ │ │ │ NameError: name 'ncdata' is not defined
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/plotting.html
│ │ │ │ @@ -100,15 +100,15 @@
│ │ │ │ In [3]: import matplotlib.pyplot as plt
│ │ │ │
│ │ │ │ In [4]: import xarray as xr
│ │ │ │
│ │ │ │
│ │ │ │ For these examples we’ll use the North American air temperature dataset.
│ │ │ │ In [5]: airtemps = xr . tutorial . open_dataset ( "air_temperature" )
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [6]: airtemps
│ │ │ │ NameError: name 'airtemps' is not defined
│ │ │ │
│ │ │ │
│ │ │ │ # Convert to celsius
│ │ │ │ @@ -445,15 +445,15 @@
│ │ │ │
│ │ │ │ # Apply a nonlinear transformation to one of the coords
│ │ │ │ In [50]: b . coords [ "lat" ] = np . log ( b . coords [ "lat" ])
│ │ │ │ KeyError: 'lat'
│ │ │ │
│ │ │ │
│ │ │ │ In [51]: b . plot ()
│ │ │ │ -Out[51]: [<matplotlib.lines.Line2D at 0x7f93e369b250>]
│ │ │ │ +Out[51]: [<matplotlib.lines.Line2D at 0x7f3970777c50>]
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Other types of plot
│ │ │ │ @@ -857,117 +857,117 @@
│ │ │ │ * y (y) float64 88B 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 32B 0 1 2 3
│ │ │ │ * w (w) <U5 80B 'one' 'two' 'three' 'five'
│ │ │ │ Attributes:
│ │ │ │ units: Aunits
│ │ │ │
│ │ │ │ In [99]: ds . A . plot . scatter ( x = "y" )
│ │ │ │ -Out[99]: <matplotlib.collections.PathCollection at 0x7f93e333c440>
│ │ │ │ +Out[99]: <matplotlib.collections.PathCollection at 0x7f3970854440>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Same plot can be displayed using the dataset:
│ │ │ │ In [100]: ds . plot . scatter ( x = "y" , y = "A" )
│ │ │ │ -Out[100]: <matplotlib.collections.PathCollection at 0x7f93e31307d0>
│ │ │ │ +Out[100]: <matplotlib.collections.PathCollection at 0x7f39706e2ad0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e2fcf390>
│ │ │ │ +Out[101]: <matplotlib.collections.PathCollection at 0x7f397071e0d0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e3016c10>
│ │ │ │ +Out[102]: <matplotlib.collections.PathCollection at 0x7f3970564f50>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e2fcc2d0>
│ │ │ │ +Out[103]: <matplotlib.collections.PathCollection at 0x7f39706e0050>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ In [104]: ds . plot . scatter ( x = "A" , y = "B" , hue = "w" , add_legend = False , add_colorbar = True )
│ │ │ │ -Out[104]: <matplotlib.collections.PathCollection at 0x7f93e2fcce10>
│ │ │ │ +Out[104]: <matplotlib.collections.PathCollection at 0x7f393252fed0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93c32b0a50>
│ │ │ │ +Out[105]: <matplotlib.collections.PathCollection at 0x7f395709bb10>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e3699310>
│ │ │ │ +Out[106]: <mpl_toolkits.mplot3d.art3d.Path3DCollection at 0x7f395662cf50>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93c3209400>
│ │ │ │ +Out[107]: <xarray.plot.facetgrid.FacetGrid at 0x7f39570842f0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e2a4a710>
│ │ │ │ +Out[108]: <xarray.plot.facetgrid.FacetGrid at 0x7f396ff62710>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ For more advanced scatter plots, we recommend converting the relevant data variables
│ │ │ │ to a pandas DataFrame and using the extensive plotting capabilities of seaborn
.
│ │ │ │
│ │ │ │
│ │ │ │ Quiver
│ │ │ │ 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 0x7f9399bbc1a0>
│ │ │ │ +Out[109]: <matplotlib.quiver.Quiver at 0x7f395757fa10>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e280f4d0>
│ │ │ │ +Out[110]: <xarray.plot.facetgrid.FacetGrid at 0x7f396ff1b4d0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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.
│ │ │ │
│ │ │ │
│ │ │ │ Streamplot
│ │ │ │ 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 0x7f93e2306fd0>
│ │ │ │ +Out[111]: <matplotlib.collections.LineCollection at 0x7f3970223d90>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f9395de3950>
│ │ │ │ +Out[112]: <xarray.plot.facetgrid.FacetGrid at 0x7f393289b6f0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Maps
│ │ │ │ To follow this section you’ll need to have Cartopy installed and working.
│ │ │ │ This script will plot the air temperature on a map.
│ │ │ │ In [113]: import cartopy.crs as ccrs
│ │ │ │
│ │ │ │ In [114]: air = xr . tutorial . open_dataset ( "air_temperature" ) . air
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [115]: p = air . isel ( time = 0 ) . plot (
│ │ │ │ .....: subplot_kws = dict ( projection = ccrs . Orthographic ( - 80 , 35 ), facecolor = "gray" ),
│ │ │ │ .....: transform = ccrs . PlateCarree (),
│ │ │ │ .....: )
│ │ │ │ .....:
│ │ │ │ @@ -1024,24 +1024,24 @@
│ │ │ │ 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 0x7f93e23ade50>]
│ │ │ │ +Out[124]: [<matplotlib.lines.Line2D at 0x7f396f123c50>]
│ │ │ │
│ │ │ │ In [125]: da . plot . line ( ax = axs [ 0 , 1 ])
│ │ │ │ -Out[125]: [<matplotlib.lines.Line2D at 0x7f93e23adf90>]
│ │ │ │ +Out[125]: [<matplotlib.lines.Line2D at 0x7f396f123b10>]
│ │ │ │
│ │ │ │ In [126]: xplt . plot ( da , ax = axs [ 1 , 0 ])
│ │ │ │ -Out[126]: [<matplotlib.lines.Line2D at 0x7f93e23af250>]
│ │ │ │ +Out[126]: [<matplotlib.lines.Line2D at 0x7f396f1239d0>]
│ │ │ │
│ │ │ │ In [127]: xplt . line ( da , ax = axs [ 1 , 1 ])
│ │ │ │ -Out[127]: [<matplotlib.lines.Line2D at 0x7f93e23c9590>]
│ │ │ │ +Out[127]: [<matplotlib.lines.Line2D at 0x7f396f120b90>]
│ │ │ │
│ │ │ │ In [128]: plt . tight_layout ()
│ │ │ │
│ │ │ │ In [129]: plt . draw ()
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ @@ -1091,15 +1091,15 @@
│ │ │ │
│ │ │ │
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 0x7f93e1b15090>
│ │ │ │ +Out[134]: <matplotlib.collections.QuadMesh at 0x7f396f065090>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
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
│ │ │ │ @@ -1122,57 +1122,57 @@
│ │ │ │ .....: 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 0x7f93e2967ed0>
│ │ │ │ +Out[139]: <matplotlib.collections.QuadMesh at 0x7f396f094a50>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e1a5e210>
│ │ │ │ +Out[142]: <cartopy.mpl.geocollection.GeoQuadMesh at 0x7f3934ab3890>
│ │ │ │
│ │ │ │ In [143]: ax . scatter ( lon , lat , transform = ccrs . PlateCarree ())
│ │ │ │ -Out[143]: <matplotlib.collections.PathCollection at 0x7f93e2323ed0>
│ │ │ │ +Out[143]: <matplotlib.collections.PathCollection at 0x7f396fa3c190>
│ │ │ │
│ │ │ │ In [144]: ax . coastlines ()
│ │ │ │ -Out[144]: <cartopy.mpl.feature_artist.FeatureArtist at 0x7f9397503cb0>
│ │ │ │ +Out[144]: <cartopy.mpl.feature_artist.FeatureArtist at 0x7f3935fa3770>
│ │ │ │
│ │ │ │ In [145]: ax . gridlines ( draw_labels = True )
│ │ │ │ -Out[145]: <cartopy.mpl.gridliner.Gridliner at 0x7f93975becf0>
│ │ │ │ +Out[145]: <cartopy.mpl.gridliner.Gridliner at 0x7f3933703b60>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ 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 0x7f93e2af2ad0>
│ │ │ │ +Out[147]: <cartopy.mpl.geocollection.GeoQuadMesh at 0x7f396f9c1590>
│ │ │ │
│ │ │ │ In [148]: ax . scatter ( lon , lat , transform = ccrs . PlateCarree ())
│ │ │ │ -Out[148]: <matplotlib.collections.PathCollection at 0x7f93e2304f50>
│ │ │ │ +Out[148]: <matplotlib.collections.PathCollection at 0x7f396f1b2850>
│ │ │ │
│ │ │ │ In [149]: ax . coastlines ()
│ │ │ │ -Out[149]: <cartopy.mpl.feature_artist.FeatureArtist at 0x7f93e2304e10>
│ │ │ │ +Out[149]: <cartopy.mpl.feature_artist.FeatureArtist at 0x7f396f1b2710>
│ │ │ │
│ │ │ │ In [150]: ax . gridlines ( draw_labels = True )
│ │ │ │ -Out[150]: <cartopy.mpl.gridliner.Gridliner at 0x7f93e2307750>
│ │ │ │ +Out[150]: <cartopy.mpl.gridliner.Gridliner at 0x7f396f1b25d0>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Note
│ │ │ │
The data model of xarray does not support datasets with cell boundaries
│ │ │ │ @@ -1180,26 +1180,26 @@
│ │ │ │ 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 0x7f93e18fe490>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e18fe5d0>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e18fe710>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e18fe850>]
│ │ │ │ +[<matplotlib.lines.Line2D at 0x7f396ee9a490>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396ee9a5d0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396ee9a710>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396ee9a850>]
│ │ │ │
│ │ │ │ In [153]: da . plot . line ( x = "lon" , hue = "x" , ax = ax [ 1 ])
│ │ │ │ Out[153]:
│ │ │ │ -[<matplotlib.lines.Line2D at 0x7f93e17a4b90>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e17a4cd0>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e17a4e10>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e17a4f50>,
│ │ │ │ - <matplotlib.lines.Line2D at 0x7f93e17a5090>]
│ │ │ │ +[<matplotlib.lines.Line2D at 0x7f396eebcb90>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396eebccd0>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396eebce10>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396eebcf50>,
│ │ │ │ + <matplotlib.lines.Line2D at 0x7f396eebd090>]
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -30,15 +30,15 @@
│ │ │ │ │
│ │ │ │ │ In [3]: import matplotlib.pyplot as plt
│ │ │ │ │
│ │ │ │ │ In [4]: import xarray as xr
│ │ │ │ │ For these examples we’ll use the North American air temperature dataset.
│ │ │ │ │ In [5]: airtemps = xr.tutorial.open_dataset("air_temperature")
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [6]: airtemps
│ │ │ │ │ NameError: name 'airtemps' is not defined
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ @@ -292,15 +292,15 @@
│ │ │ │ │
│ │ │ │ │ # Apply a nonlinear transformation to one of the coords
│ │ │ │ │ In [50]: b.coords["lat"] = np.log(b.coords["lat"])
│ │ │ │ │ KeyError: 'lat'
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [51]: b.plot()
│ │ │ │ │ -Out[51]: []
│ │ │ │ │ +Out[51]: []
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___n_o_n_u_n_i_f_o_r_m___c_o_o_r_d_s_._p_n_g_]
│ │ │ │ │ ****** OOtthheerr ttyyppeess ooff pplloott_?¶ ******
│ │ │ │ │ There are several other options for plotting 2D data.
│ │ │ │ │ Contour plot using DataArray.plot.contour()
│ │ │ │ │ In [52]: air2d.plot.contour()
│ │ │ │ │ NameError: name 'air2d' is not defined
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___c_o_n_t_o_u_r_._p_n_g_]
│ │ │ │ │ @@ -613,92 +613,92 @@
│ │ │ │ │ * y (y) float64 88B 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 32B 0 1 2 3
│ │ │ │ │ * w (w)
│ │ │ │ │ +Out[99]:
│ │ │ │ │ [_build/html/_static/da_A_y.png]
│ │ │ │ │ Same plot can be displayed using the dataset:
│ │ │ │ │ In [100]: ds.plot.scatter(x="y", y="A")
│ │ │ │ │ -Out[100]:
│ │ │ │ │ +Out[100]:
│ │ │ │ │ [_build/html/_static/ds_A_y.png]
│ │ │ │ │ Now suppose we want to scatter the A DataArray against the B DataArray
│ │ │ │ │ In [101]: ds.plot.scatter(x="A", y="B")
│ │ │ │ │ -Out[101]:
│ │ │ │ │ +Out[101]:
│ │ │ │ │ [_build/html/_static/ds_simple_scatter.png]
│ │ │ │ │ The hue kwarg lets you vary the color by variable value
│ │ │ │ │ In [102]: ds.plot.scatter(x="A", y="B", hue="w")
│ │ │ │ │ -Out[102]:
│ │ │ │ │ +Out[102]:
│ │ │ │ │ [_build/html/_static/ds_hue_scatter.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[103]:
│ │ │ │ │ [_build/html/_static/ds_discrete_legend_hue_scatter.png]
│ │ │ │ │ In [104]: ds.plot.scatter(x="A", y="B", hue="w", add_legend=False,
│ │ │ │ │ add_colorbar=True)
│ │ │ │ │ -Out[104]:
│ │ │ │ │ +Out[104]:
│ │ │ │ │ [_build/html/_static/ds_discrete_colorbar_hue_scatter.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[105]:
│ │ │ │ │ [_build/html/_static/ds_hue_size_scatter.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[106]:
│ │ │ │ │ [_build/html/_static/ds_hue_size_scatter_z.png]
│ │ │ │ │ Faceting is also possible
│ │ │ │ │ In [107]: ds.plot.scatter(x="A", y="B", hue="y", markersize="x", row="x",
│ │ │ │ │ col="w")
│ │ │ │ │ -Out[107]:
│ │ │ │ │ +Out[107]:
│ │ │ │ │ [_build/html/_static/ds_facet_scatter.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[108]:
│ │ │ │ │ [_build/html/_static/ds_facet_scatter_z.png]
│ │ │ │ │ For more advanced scatter plots, we recommend converting the relevant data
│ │ │ │ │ variables to a pandas DataFrame and using the extensive plotting capabilities
│ │ │ │ │ of seaborn.
│ │ │ │ │ ******** QQuuiivveerr_?¶ ********
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[109]:
│ │ │ │ │ [_build/html/_static/ds_simple_quiver.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[110]:
│ │ │ │ │ [_build/html/_static/ds_facet_quiver.png]
│ │ │ │ │ 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.
│ │ │ │ │ ******** SSttrreeaammpplloott_?¶ ********
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[111]:
│ │ │ │ │ [_build/html/_static/ds_simple_streamplot.png]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[112]:
│ │ │ │ │ [_build/html/_static/ds_facet_streamplot.png]
│ │ │ │ │ ********** MMaappss_?¶ **********
│ │ │ │ │ To follow this section you’ll need to have Cartopy installed and working.
│ │ │ │ │ This script will plot the air temperature on a map.
│ │ │ │ │ In [113]: import cartopy.crs as ccrs
│ │ │ │ │
│ │ │ │ │ In [114]: air = xr.tutorial.open_dataset("air_temperature").air
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [115]: p = air.isel(time=0).plot(
│ │ │ │ │ .....: subplot_kws=dict(projection=ccrs.Orthographic(-80, 35),
│ │ │ │ │ facecolor="gray"),
│ │ │ │ │ .....: transform=ccrs.PlateCarree(),
│ │ │ │ │ @@ -745,24 +745,24 @@
│ │ │ │ │ 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]: []
│ │ │ │ │ +Out[124]: []
│ │ │ │ │
│ │ │ │ │ In [125]: da.plot.line(ax=axs[0, 1])
│ │ │ │ │ -Out[125]: []
│ │ │ │ │ +Out[125]: []
│ │ │ │ │
│ │ │ │ │ In [126]: xplt.plot(da, ax=axs[1, 0])
│ │ │ │ │ -Out[126]: []
│ │ │ │ │ +Out[126]: []
│ │ │ │ │
│ │ │ │ │ In [127]: xplt.line(da, ax=axs[1, 1])
│ │ │ │ │ -Out[127]: []
│ │ │ │ │ +Out[127]: []
│ │ │ │ │
│ │ │ │ │ In [128]: plt.tight_layout()
│ │ │ │ │
│ │ │ │ │ In [129]: plt.draw()
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___w_a_y_s___t_o___u_s_e_._p_n_g_]
│ │ │ │ │ Here the output is the same. Since the data is 1 dimensional the line plot was
│ │ │ │ │ used.
│ │ │ │ │ @@ -793,15 +793,15 @@
│ │ │ │ │ [0., 0., 0.]], shape=(4, 3))
│ │ │ │ │ Dimensions without coordinates: y, x
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[134]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___e_x_a_m_p_l_e___2_d___s_i_m_p_l_e_._p_n_g_]
│ │ │ │ │ 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 coordinates.
│ │ │ │ │ ******** MMuullttiiddiimmeennssiioonnaall ccoooorrddiinnaatteess_?¶ ********
│ │ │ │ │ See also: _W_o_r_k_i_n_g_ _w_i_t_h_ _M_u_l_t_i_d_i_m_e_n_s_i_o_n_a_l_ _C_o_o_r_d_i_n_a_t_e_s.
│ │ │ │ │ You can plot irregular grids defined by multidimensional coordinates with
│ │ │ │ │ @@ -818,74 +818,74 @@
│ │ │ │ │ .....: 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]:
│ │ │ │ │ +Out[139]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___e_x_a_m_p_l_e___2_d___i_r_r_e_g_._p_n_g_]
│ │ │ │ │ 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 (_G_H_7_8_1). 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]:
│ │ │ │ │ +Out[142]:
│ │ │ │ │
│ │ │ │ │ In [143]: ax.scatter(lon, lat, transform=ccrs.PlateCarree())
│ │ │ │ │ -Out[143]:
│ │ │ │ │ +Out[143]:
│ │ │ │ │
│ │ │ │ │ In [144]: ax.coastlines()
│ │ │ │ │ -Out[144]:
│ │ │ │ │ +Out[144]:
│ │ │ │ │
│ │ │ │ │ In [145]: ax.gridlines(draw_labels=True)
│ │ │ │ │ -Out[145]:
│ │ │ │ │ +Out[145]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___e_x_a_m_p_l_e___2_d___i_r_r_e_g___m_a_p_._p_n_g_]
│ │ │ │ │ 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]:
│ │ │ │ │ +Out[147]:
│ │ │ │ │
│ │ │ │ │ In [148]: ax.scatter(lon, lat, transform=ccrs.PlateCarree())
│ │ │ │ │ -Out[148]:
│ │ │ │ │ +Out[148]:
│ │ │ │ │
│ │ │ │ │ In [149]: ax.coastlines()
│ │ │ │ │ -Out[149]:
│ │ │ │ │ +Out[149]:
│ │ │ │ │
│ │ │ │ │ In [150]: ax.gridlines(draw_labels=True)
│ │ │ │ │ -Out[150]:
│ │ │ │ │ +Out[150]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_p_l_o_t_t_i_n_g___e_x_a_m_p_l_e___2_d___i_r_r_e_g___m_a_p___i_n_f_e_r_._p_n_g_]
│ │ │ │ │ Note
│ │ │ │ │ The data model of xarray does not support datasets with _c_e_l_l_ _b_o_u_n_d_a_r_i_e_s 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]:
│ │ │ │ │ -[,
│ │ │ │ │ - ,
│ │ │ │ │ - ,
│ │ │ │ │ - ]
│ │ │ │ │ +[,
│ │ │ │ │ + ,
│ │ │ │ │ + ,
│ │ │ │ │ + ]
│ │ │ │ │
│ │ │ │ │ In [153]: da.plot.line(x="lon", hue="x", ax=ax[1])
│ │ │ │ │ Out[153]:
│ │ │ │ │ -[,
│ │ │ │ │ - ,
│ │ │ │ │ - ,
│ │ │ │ │ - ,
│ │ │ │ │ - ]
│ │ │ │ │ +[,
│ │ │ │ │ + ,
│ │ │ │ │ + ,
│ │ │ │ │ + ,
│ │ │ │ │ + ]
│ │ │ │ │ [_build/html/_static/plotting_example_2d_hue_xy.png]
│ │ │ │ │ _[_L_o_g_o_ _o_f_ _x_a_r_r_a_y_]
│ │ │ │ │ ************ _xx_aa_rr_rr_aa_yy ************
│ │ │ │ │ ******** NNaavviiggaattiioonn ********
│ │ │ │ │ For users
│ │ │ │ │ * _G_e_t_t_i_n_g_ _S_t_a_r_t_e_d
│ │ │ │ │ * _U_s_e_r_ _G_u_i_d_e
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/reshaping.html
│ │ │ │ @@ -554,15 +554,15 @@
│ │ │ │
│ │ │ │ Reshaping via coarsen
│ │ │ │ Whilst coarsen
is normally used for reducing your data’s resolution by applying a reduction function
│ │ │ │ (see the page on computation ),
│ │ │ │ it can also be used to reorganise your data without applying a computation via construct()
.
│ │ │ │ Taking our example tutorial air temperature dataset over the Northern US
│ │ │ │ In [56]: air = xr . tutorial . open_dataset ( "air_temperature" )[ "air" ]
│ │ │ │ -PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/first-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ +PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not create data cache folder '/nonexistent/second-build/.cache/xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │
│ │ │ │
│ │ │ │ In [57]: air . isel ( time = 0 ) . plot ( x = "lon" , y = "lat" )
│ │ │ │ NameError: name 'air' is not defined
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -440,15 +440,15 @@
│ │ │ │ │ ********** RReesshhaappiinngg vviiaa ccooaarrsseenn_?¶ **********
│ │ │ │ │ Whilst coarsen is normally used for reducing your data’s resolution by applying
│ │ │ │ │ a reduction function (see the _p_a_g_e_ _o_n_ _c_o_m_p_u_t_a_t_i_o_n), it can also be used to
│ │ │ │ │ reorganise your data without applying a computation via construct().
│ │ │ │ │ Taking our example tutorial air temperature dataset over the Northern US
│ │ │ │ │ In [56]: air = xr.tutorial.open_dataset("air_temperature")["air"]
│ │ │ │ │ PermissionError: [Errno 13] Permission denied: '/nonexistent' | Pooch could not
│ │ │ │ │ -create data cache folder '/nonexistent/first-build/.cache/
│ │ │ │ │ +create data cache folder '/nonexistent/second-build/.cache/
│ │ │ │ │ xarray_tutorial_data'. Will not be able to download data files.
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │ In [57]: air.isel(time=0).plot(x="lon", y="lat")
│ │ │ │ │ NameError: name 'air' is not defined
│ │ │ │ │ [_build/html/_static/pre_coarsening.png]
│ │ │ │ │ we can split this up into sub-regions of size (9, 18) points using construct():
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/user-guide/testing.html
│ │ │ │ @@ -84,34 +84,43 @@
│ │ │ │ Generating Examples
│ │ │ │ To see an example of what each of these strategies might produce, you can call one followed by the .example()
method,
│ │ │ │ which is a general hypothesis method valid for all strategies.
│ │ │ │ In [2]: import xarray.testing.strategies as xrst
│ │ │ │
│ │ │ │ In [3]: xrst . variables () . example ()
│ │ │ │ Out[3]:
│ │ │ │ -<xarray.Variable (Żő8Č: 3)> Size: 24B
│ │ │ │ -array([ nan+nanj, -1.175e-38 +2.j, -3.333e-01 +0.j], dtype=complex64)
│ │ │ │ +<xarray.Variable (âò: 4)> Size: 16B
│ │ │ │ +array([nan, nan, -0., nan], dtype=float32)
│ │ │ │ +Attributes:
│ │ │ │ + Áň: {'Ŧċ²0': 'Ŕż', 'ūQſçś': 'ż9įcô'}
│ │ │ │ + ĕĈÜóſ: {'āÐlŀŅ': 'ÈHŗż', 'AŻĩ': '', 'ſİŨ½A': True, '': False, 'ſż': Tr...
│ │ │ │
│ │ │ │ In [4]: xrst . variables () . example ()
│ │ │ │ Out[4]:
│ │ │ │ -<xarray.Variable (ýBŻ: 2)> Size: 16B
│ │ │ │ -array([-1.9 , -0.333])
│ │ │ │ +<xarray.Variable (ŨB: 4, ſçĆćŴ: 4)> Size: 32B
│ │ │ │ +array([[17709, 27830, 17709, 17709],
│ │ │ │ + [17709, 17709, 17709, 17709],
│ │ │ │ + [17709, 17709, 17709, 17709],
│ │ │ │ + [17709, 17709, 17709, 17709]], shape=(4, 4), dtype=int16)
│ │ │ │ Attributes:
│ │ │ │ - ż: None
│ │ │ │ - ĶſœÖſ: None
│ │ │ │ + ĄēŽëſ: ['' '\x9e¦=S']
│ │ │ │ + : False
│ │ │ │ + ňŊŽIð: 5Žľîö
│ │ │ │ + ÚľÄ8ſ: True
│ │ │ │ + ğľă1: None
│ │ │ │ + ŞĖ: Ňžą
│ │ │ │ + ü¾: [b'\x03\x10Q(/+26\xa2\xe9\xa1Ep\x85@']
│ │ │ │
│ │ │ │ In [5]: xrst . variables () . example ()
│ │ │ │ Out[5]:
│ │ │ │ -<xarray.Variable (ÏŃìđĜ: 1, žňÐąŻ: 1, ŲĉěÒé: 3)> Size: 24B
│ │ │ │ -array([[[1.798e+308, 1.798e+308, 1.798e+308]]])
│ │ │ │ +<xarray.Variable (o: 5)> Size: 80B
│ │ │ │ +array([-1.500e+00+1.000e+000j, 9.007e+15-6.429e+016j, nan +nanj,
│ │ │ │ + 4.802e+16-1.766e+084j, -inf-2.225e-308j])
│ │ │ │ Attributes:
│ │ │ │ - 1ŻĽÆÊ: Ê
│ │ │ │ - ĭŽžáż: False
│ │ │ │ - ũE: [['Ö' 'Ö']\n ['Ö' 'Ö']]
│ │ │ │ - łĵŽOE: None
│ │ │ │ + Îb: [b'\x1f']
│ │ │ │
│ │ │ │
│ │ │ │ You can see that calling .example()
multiple times will generate different examples, giving you an idea of the wide
│ │ │ │ range of data that the xarray strategies can generate.
│ │ │ │ In your tests however you should not use .example()
- instead you should parameterize your tests with the
│ │ │ │ hypothesis.given()
decorator:
│ │ │ │ In [6]: from hypothesis import given
│ │ │ │ @@ -129,66 +138,65 @@
│ │ │ │ Xarray’s strategies can accept other strategies as arguments, allowing you to customise the contents of the generated
│ │ │ │ examples.
│ │ │ │ # generate a Variable containing an array with a complex number dtype, but all other details still arbitrary
│ │ │ │ In [8]: from hypothesis.extra.numpy import complex_number_dtypes
│ │ │ │
│ │ │ │ In [9]: xrst . variables ( dtype = complex_number_dtypes ()) . example ()
│ │ │ │ Out[9]:
│ │ │ │ -<xarray.Variable (Ĥ: 6)> Size: 48B
│ │ │ │ -array([-6.948e+15 +nanj, -1.000e+07-6.104e-05j, -0.000e+00-0.000e+00j, -0.000e+00+1.401e-45j,
│ │ │ │ - 0.000e+00-1.401e-45j, -3.403e+16+1.175e-38j], dtype=complex64)
│ │ │ │ +<xarray.Variable (ųŨŽÎ: 2, J: 4)> Size: 128B
│ │ │ │ +array([[-1.175e-038-6.860e+016j, 1.100e+000-3.624e+016j, -2.335e+153-1.113e-308j,
│ │ │ │ + 5.351e+016+2.225e-311j],
│ │ │ │ + [ 4.032e+016+3.356e+116j, -2.640e-174 +nanj, -2.225e-311+5.357e+016j,
│ │ │ │ + -1.648e-093-5.000e-001j]], dtype='>c16')
│ │ │ │ Attributes:
│ │ │ │ - : [b'']
│ │ │ │ - ŻTĶaż: [['\U000fb3d5' '`']\n ['{' '{']]
│ │ │ │ - Ĕ: [b'\xa3h']
│ │ │ │ - ¼ĠÞż: ŖĠçËU
│ │ │ │ - Ů: False
│ │ │ │ - Ç:
│ │ │ │ + Ã: [[b'B\xe1?' b'\xfe\x08\xd4f']\n [b'=dO\xd23\xe0\xdd\xf2\xe9\xed...
│ │ │ │ + ŲĈēžż: ľÿſ
│ │ │ │
│ │ │ │
│ │ │ │ This also works with custom strategies, or strategies defined in other packages.
│ │ │ │ For example you could imagine creating a chunks
strategy to specify particular chunking patterns for a dask-backed array.
│ │ │ │
│ │ │ │
│ │ │ │ Fixing Arguments
│ │ │ │ If you want to fix one aspect of the data structure, whilst allowing variation in the generated examples
│ │ │ │ over all other aspects, then use hypothesis.strategies.just()
.
│ │ │ │ In [10]: import hypothesis.strategies as st
│ │ │ │
│ │ │ │ # Generates only variable objects with dimensions ["x", "y"]
│ │ │ │ In [11]: xrst . variables ( dims = st . just ([ "x" , "y" ])) . example ()
│ │ │ │ Out[11]:
│ │ │ │ -<xarray.Variable (x: 3, y: 6)> Size: 36B
│ │ │ │ -array([[ inf, -0.0e+00, inf, inf, inf, inf],
│ │ │ │ - [ inf, inf, inf, inf, inf, inf],
│ │ │ │ - [ inf, 1.2e-07, 1.5e+00, inf, inf, inf]], shape=(3, 6), dtype=float16)
│ │ │ │ -Attributes:
│ │ │ │ - xòůů: {'ď': ''}
│ │ │ │ - ÿſ¾žň: {}
│ │ │ │ - ÇĔĬÜı: {'²': array([[2547821043, 51546]], dtype='>u4'), 'užÂ': Fa...
│ │ │ │ +<xarray.Variable (x: 5, y: 6)> Size: 30B
│ │ │ │ +array([[ 43, -108, -108, -108, -108, -108],
│ │ │ │ + [-108, -108, -108, -108, 122, -108],
│ │ │ │ + [-108, -45, -122, -108, -108, -108],
│ │ │ │ + [-108, -108, -108, -108, -108, -108],
│ │ │ │ + [-108, -108, -108, -108, -108, -108]], shape=(5, 6), dtype=int8)
│ │ │ │
│ │ │ │
│ │ │ │ (This is technically another example of chaining strategies - hypothesis.strategies.just()
is simply a
│ │ │ │ special strategy that just contains a single example.)
│ │ │ │ To fix the length of dimensions you can instead pass dims
as a mapping of dimension names to lengths
│ │ │ │ (i.e. following xarray objects’ .sizes()
property), e.g.
│ │ │ │ # Generates only variables with dimensions ["x", "y"], of lengths 2 & 3 respectively
│ │ │ │ In [12]: xrst . variables ( dims = st . just ({ "x" : 2 , "y" : 3 })) . example ()
│ │ │ │ Out[12]:
│ │ │ │ -<xarray.Variable (x: 2, y: 3)> Size: 6B
│ │ │ │ -array([[ 18, 221, 159],
│ │ │ │ - [ 91, 239, 30]], dtype=uint8)
│ │ │ │ +<xarray.Variable (x: 2, y: 3)> Size: 48B
│ │ │ │ +array([[-3083827208917602196, -3083827208917602196, -3083827208917602196],
│ │ │ │ + [-3083827208917602196, -3083827208917602196, -3083827208917602196]])
│ │ │ │ +Attributes:
│ │ │ │ + : [False False]
│ │ │ │ + JÃſžĂ: ['NaT']
│ │ │ │
│ │ │ │
│ │ │ │ You can also use this to specify that you want examples which are missing some part of the data structure, for instance
│ │ │ │ # Generates a Variable with no attributes
│ │ │ │ In [13]: xrst . variables ( attrs = st . just ({})) . example ()
│ │ │ │ Out[13]:
│ │ │ │ -<xarray.Variable (Õ: 5)> Size: 40B
│ │ │ │ -array([ inf, inf, 5.169e+115, 2.225e-308, 1.401e-045])
│ │ │ │ +<xarray.Variable (Ŕėaĩn: 2)> Size: 16B
│ │ │ │ +array([-9223372036854727831, -9223372036854746411])
│ │ │ │
│ │ │ │
│ │ │ │ Through a combination of chaining strategies and fixing arguments, you can specify quite complicated requirements on the
│ │ │ │ objects your chained strategy will generate.
│ │ │ │ In [14]: fixed_x_variable_y_maybe_z = st . fixed_dictionaries (
│ │ │ │ ....: { "x" : st . just ( 2 ), "y" : st . integers ( 3 , 4 )}, optional = { "z" : st . just ( 2 )}
│ │ │ │ ....: )
│ │ │ │ @@ -197,32 +205,39 @@
│ │ │ │ In [15]: fixed_x_variable_y_maybe_z . example ()
│ │ │ │ Out[15]: {'x': 2, 'y': 3, 'z': 2}
│ │ │ │
│ │ │ │ In [16]: special_variables = xrst . variables ( dims = fixed_x_variable_y_maybe_z )
│ │ │ │
│ │ │ │ In [17]: special_variables . example ()
│ │ │ │ Out[17]:
│ │ │ │ -<xarray.Variable (x: 2, y: 4)> Size: 64B
│ │ │ │ -array([[-9223372036854775598, -9223372036854727701, -765380011776258377, -9223372035077253998],
│ │ │ │ - [ -756101856880953354, -9223372036854737559, -9223372036854723696, -9223372036854759933]])
│ │ │ │ +<xarray.Variable (x: 2, y: 4, z: 2)> Size: 128B
│ │ │ │ +array([[[-9223372036854734621, -9223372036854734621],
│ │ │ │ + [-9223372036854734621, -9223372036854734621],
│ │ │ │ + [-9223372036854775654, -9223372036854734621],
│ │ │ │ + [-9223372036854734621, -9223372036854734621]],
│ │ │ │ +
│ │ │ │ + [[-9223372036854734621, -9223372036854734621],
│ │ │ │ + [-9223372036854754014, -9223372036854734621],
│ │ │ │ + [-9223372036854734621, -9223372036854734621],
│ │ │ │ + [-9223372036854775792, -9223372036854734621]]], shape=(2, 4, 2))
│ │ │ │ Attributes:
│ │ │ │ - ÏĴſeC: {'ŪçĵŻſ': array([['NaT', 'NaT']], dtype='timedelta64[Y]'), '': ...
│ │ │ │ + Læ: ŕ
│ │ │ │ + ųÏĞŮď: True
│ │ │ │ + ĺŵļ: True
│ │ │ │ + ſXaçŻ: ['\x8e\U000b0bbd\U0009ff28']
│ │ │ │ + Ő: ů
│ │ │ │ + ž: True
│ │ │ │ + ŵČðʼnż: True
│ │ │ │ + : Îm
│ │ │ │
│ │ │ │ In [18]: special_variables . example ()
│ │ │ │ Out[18]:
│ │ │ │ -<xarray.Variable (x: 2, y: 3)> Size: 12B
│ │ │ │ -array([[ 11855, -14645, -2561],
│ │ │ │ - [-18322, -22316, -20968]], dtype=int16)
│ │ │ │ -Attributes:
│ │ │ │ - : False
│ │ │ │ - Ü: True
│ │ │ │ - ŠŽ: False
│ │ │ │ - Ŧ: Ŷ
│ │ │ │ - Ķ: True
│ │ │ │ - 5ſÿŽŏ: é
│ │ │ │ +<xarray.Variable (x: 2, y: 3)> Size: 6B
│ │ │ │ +array([[0, 0, 0],
│ │ │ │ + [0, 0, 0]], dtype=int8)
│ │ │ │
│ │ │ │
│ │ │ │ Here we have used one of hypothesis’ built-in strategies hypothesis.strategies.fixed_dictionaries()
to create a
│ │ │ │ strategy which generates mappings of dimension names to lengths (i.e. the size
of the xarray object we want).
│ │ │ │ This particular strategy will always generate an x
dimension of length 2, and a y
dimension of
│ │ │ │ length either 3 or 4, and will sometimes also generate a z
dimension of length 2.
│ │ │ │ By feeding this strategy for dictionaries into the dims
argument of xarray’s variables()
strategy,
│ │ │ │ @@ -323,53 +338,47 @@
│ │ │ │ ....: array_strategy_fn = xps . arrays ,
│ │ │ │ ....: dtype = xps . scalar_dtypes (),
│ │ │ │ ....: )
│ │ │ │ ....:
│ │ │ │
│ │ │ │ In [32]: xp_variables . example ()
│ │ │ │ Out[32]:
│ │ │ │ -<xarray.Variable (ŻĦ: 2, Ù1: 1)> Size: 4B
│ │ │ │ -array([[23794],
│ │ │ │ - [-2592]], dtype=int16)
│ │ │ │ +<xarray.Variable (Ó: 5)> Size: 40B
│ │ │ │ +array([-9223372033794027569, -9223372033794027569, -9223372033794027569, -9223372033794027569,
│ │ │ │ + -9223372033794027569])
│ │ │ │ Attributes:
│ │ │ │ - f8żč: Żż¹
│ │ │ │ - žÒſżv: None
│ │ │ │ - ģĎë: None
│ │ │ │ - žv: [[2.]]
│ │ │ │ - łĀžĕť: [[-2147469683 -2147483559]\n [ 2147483646 -2147440432]]
│ │ │ │ - ťÃu: ũ
│ │ │ │ - ĆØØwã: False
│ │ │ │ - :
│ │ │ │ + à²: None
│ │ │ │ + ý: None
│ │ │ │
│ │ │ │
│ │ │ │ Another array API-compliant duck array library would replace the import, e.g. import cupy as cp
instead.
│ │ │ │
│ │ │ │
│ │ │ │ Testing over Subsets of Dimensions
│ │ │ │ A common task when testing xarray user code is checking that your function works for all valid input dimensions.
│ │ │ │ We can chain strategies to achieve this, for which the helper strategy unique_subset_of()
│ │ │ │ is useful.
│ │ │ │ It works for lists of dimension names
│ │ │ │ In [33]: dims = [ "x" , "y" , "z" ]
│ │ │ │
│ │ │ │ In [34]: xrst . unique_subset_of ( dims ) . example ()
│ │ │ │ -Out[34]: ['x', 'z']
│ │ │ │ +Out[34]: ['x', 'y', 'z']
│ │ │ │
│ │ │ │ In [35]: xrst . unique_subset_of ( dims ) . example ()
│ │ │ │ -Out[35]: ['x', 'z']
│ │ │ │ +Out[35]: ['y', 'x', 'z']
│ │ │ │
│ │ │ │
│ │ │ │ as well as for mappings of dimension names to sizes
│ │ │ │ In [36]: dim_sizes = { "x" : 2 , "y" : 3 , "z" : 4 }
│ │ │ │
│ │ │ │ In [37]: xrst . unique_subset_of ( dim_sizes ) . example ()
│ │ │ │ -Out[37]: {'y': 3}
│ │ │ │ +Out[37]: {'z': 4, 'x': 2, 'y': 3}
│ │ │ │
│ │ │ │ In [38]: xrst . unique_subset_of ( dim_sizes ) . example ()
│ │ │ │ -Out[38]: {'y': 3, 'x': 2, 'z': 4}
│ │ │ │ +Out[38]: {'z': 4, 'x': 2}
│ │ │ │
│ │ │ │
│ │ │ │ This is useful because operations like reductions can be performed over any subset of the xarray object’s dimensions.
│ │ │ │ For example we can write a pytest test that tests that a reduction gives the expected result when applying that reduction
│ │ │ │ along any possible valid subset of the Variable’s dimensions.
│ │ │ │ import numpy.testing as npt
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -28,34 +28,44 @@
│ │ │ │ │ To see an example of what each of these strategies might produce, you can call
│ │ │ │ │ one followed by the .example() method, which is a general hypothesis method
│ │ │ │ │ valid for all strategies.
│ │ │ │ │ In [2]: import xarray.testing.strategies as xrst
│ │ │ │ │
│ │ │ │ │ In [3]: xrst.variables().example()
│ │ │ │ │ Out[3]:
│ │ │ │ │ - Size: 24B
│ │ │ │ │ -array([ nan+nanj, -1.175e-38 +2.j, -3.333e-01 +0.j], dtype=complex64)
│ │ │ │ │ + Size: 16B
│ │ │ │ │ +array([nan, nan, -0., nan], dtype=float32)
│ │ │ │ │ +Attributes:
│ │ │ │ │ + Áň: {'Ŧċ²0': 'Ŕż', 'ūQſçś': 'ż9įcô'}
│ │ │ │ │ + ĕĈÜóſ: {'āÐlŀŅ': 'ÈHŗż', 'AŻĩ': '', 'ſİŨ½A': True, '': False, 'ſż':
│ │ │ │ │ +Tr...
│ │ │ │ │
│ │ │ │ │ In [4]: xrst.variables().example()
│ │ │ │ │ Out[4]:
│ │ │ │ │ - Size: 16B
│ │ │ │ │ -array([-1.9 , -0.333])
│ │ │ │ │ + Size: 32B
│ │ │ │ │ +array([[17709, 27830, 17709, 17709],
│ │ │ │ │ + [17709, 17709, 17709, 17709],
│ │ │ │ │ + [17709, 17709, 17709, 17709],
│ │ │ │ │ + [17709, 17709, 17709, 17709]], shape=(4, 4), dtype=int16)
│ │ │ │ │ Attributes:
│ │ │ │ │ - ż: None
│ │ │ │ │ - ĶſœÖſ: None
│ │ │ │ │ + ĄēŽëſ: ['' '\x9e¦=S']
│ │ │ │ │ + : False
│ │ │ │ │ + ňŊŽIð: 5Žľîö
│ │ │ │ │ + ÚľÄ8ſ: True
│ │ │ │ │ + ğľă1: None
│ │ │ │ │ + ŞĖ: Ňžą
│ │ │ │ │ + ü¾: [b'\x03\x10Q(/+26\xa2\xe9\xa1Ep\x85@']
│ │ │ │ │
│ │ │ │ │ In [5]: xrst.variables().example()
│ │ │ │ │ Out[5]:
│ │ │ │ │ - Size: 24B
│ │ │ │ │ -array([[[1.798e+308, 1.798e+308, 1.798e+308]]])
│ │ │ │ │ + Size: 80B
│ │ │ │ │ +array([-1.500e+00+1.000e+000j, 9.007e+15-6.429e+016j, nan +nanj,
│ │ │ │ │ + 4.802e+16-1.766e+084j, -inf-2.225e-308j])
│ │ │ │ │ Attributes:
│ │ │ │ │ - 1ŻĽÆÊ: Ê
│ │ │ │ │ - ĭŽžáż: False
│ │ │ │ │ - ũE: [['Ö' 'Ö']\n ['Ö' 'Ö']]
│ │ │ │ │ - łĵŽOE: None
│ │ │ │ │ + Îb: [b'\x1f']
│ │ │ │ │ You can see that calling .example() multiple times will generate different
│ │ │ │ │ examples, giving you an idea of the wide range of data that the xarray
│ │ │ │ │ strategies can generate.
│ │ │ │ │ In your tests however you should not use .example() - instead you should
│ │ │ │ │ parameterize your tests with the hypothesis.given() decorator:
│ │ │ │ │ In [6]: from hypothesis import given
│ │ │ │ │ In [7]: @given(xrst.variables())
│ │ │ │ │ @@ -67,67 +77,66 @@
│ │ │ │ │ customise the contents of the generated examples.
│ │ │ │ │ # generate a Variable containing an array with a complex number dtype, but all
│ │ │ │ │ other details still arbitrary
│ │ │ │ │ In [8]: from hypothesis.extra.numpy import complex_number_dtypes
│ │ │ │ │
│ │ │ │ │ In [9]: xrst.variables(dtype=complex_number_dtypes()).example()
│ │ │ │ │ Out[9]:
│ │ │ │ │ - Size: 48B
│ │ │ │ │ -array([-6.948e+15 +nanj, -1.000e+07-6.104e-05j, -0.000e+00-0.000e+00j, -
│ │ │ │ │ -0.000e+00+1.401e-45j,
│ │ │ │ │ - 0.000e+00-1.401e-45j, -3.403e+16+1.175e-38j], dtype=complex64)
│ │ │ │ │ + Size: 128B
│ │ │ │ │ +array([[-1.175e-038-6.860e+016j, 1.100e+000-3.624e+016j, -2.335e+153-1.113e-
│ │ │ │ │ +308j,
│ │ │ │ │ + 5.351e+016+2.225e-311j],
│ │ │ │ │ + [ 4.032e+016+3.356e+116j, -2.640e-174 +nanj, -2.225e-
│ │ │ │ │ +311+5.357e+016j,
│ │ │ │ │ + -1.648e-093-5.000e-001j]], dtype='>c16')
│ │ │ │ │ Attributes:
│ │ │ │ │ - : [b'']
│ │ │ │ │ - ŻTĶaż: [['\U000fb3d5' '`']\n ['{' '{']]
│ │ │ │ │ - Ĕ: [b'\xa3h']
│ │ │ │ │ - ¼ĠÞż: ŖĠçËU
│ │ │ │ │ - Ů: False
│ │ │ │ │ - Ç:
│ │ │ │ │ + Ã: [[b'B\xe1?' b'\xfe\x08\xd4f']\n
│ │ │ │ │ +[b'=dO\xd23\xe0\xdd\xf2\xe9\xed...
│ │ │ │ │ + ŲĈēžż: ľÿſ
│ │ │ │ │ This also works with custom strategies, or strategies defined in other
│ │ │ │ │ packages. For example you could imagine creating a chunks strategy to specify
│ │ │ │ │ particular chunking patterns for a dask-backed array.
│ │ │ │ │ ******** FFiixxiinngg AArrgguummeennttss_?¶ ********
│ │ │ │ │ If you want to fix one aspect of the data structure, whilst allowing variation
│ │ │ │ │ in the generated examples over all other aspects, then use
│ │ │ │ │ hypothesis.strategies.just().
│ │ │ │ │ In [10]: import hypothesis.strategies as st
│ │ │ │ │
│ │ │ │ │ # Generates only variable objects with dimensions ["x", "y"]
│ │ │ │ │ In [11]: xrst.variables(dims=st.just(["x", "y"])).example()
│ │ │ │ │ Out[11]:
│ │ │ │ │ - Size: 36B
│ │ │ │ │ -array([[ inf, -0.0e+00, inf, inf, inf, inf],
│ │ │ │ │ - [ inf, inf, inf, inf, inf, inf],
│ │ │ │ │ - [ inf, 1.2e-07, 1.5e+00, inf, inf, inf]], shape=(3,
│ │ │ │ │ -6), dtype=float16)
│ │ │ │ │ -Attributes:
│ │ │ │ │ - xòůů: {'ď': ''}
│ │ │ │ │ - ÿſ¾žň: {}
│ │ │ │ │ - ÇĔĬÜı: {'²': array([[2547821043, 51546]], dtype='>u4'), 'užÂ':
│ │ │ │ │ -Fa...
│ │ │ │ │ + Size: 30B
│ │ │ │ │ +array([[ 43, -108, -108, -108, -108, -108],
│ │ │ │ │ + [-108, -108, -108, -108, 122, -108],
│ │ │ │ │ + [-108, -45, -122, -108, -108, -108],
│ │ │ │ │ + [-108, -108, -108, -108, -108, -108],
│ │ │ │ │ + [-108, -108, -108, -108, -108, -108]], shape=(5, 6), dtype=int8)
│ │ │ │ │ (This is technically another example of chaining strategies -
│ │ │ │ │ hypothesis.strategies.just() is simply a special strategy that just contains a
│ │ │ │ │ single example.)
│ │ │ │ │ To fix the length of dimensions you can instead pass dims as a mapping of
│ │ │ │ │ dimension names to lengths (i.e. following xarray objects’ .sizes() property),
│ │ │ │ │ e.g.
│ │ │ │ │ # Generates only variables with dimensions ["x", "y"], of lengths 2 & 3
│ │ │ │ │ respectively
│ │ │ │ │ In [12]: xrst.variables(dims=st.just({"x": 2, "y": 3})).example()
│ │ │ │ │ Out[12]:
│ │ │ │ │ - Size: 6B
│ │ │ │ │ -array([[ 18, 221, 159],
│ │ │ │ │ - [ 91, 239, 30]], dtype=uint8)
│ │ │ │ │ + Size: 48B
│ │ │ │ │ +array([[-3083827208917602196, -3083827208917602196, -3083827208917602196],
│ │ │ │ │ + [-3083827208917602196, -3083827208917602196, -3083827208917602196]])
│ │ │ │ │ +Attributes:
│ │ │ │ │ + : [False False]
│ │ │ │ │ + JÃſžĂ: ['NaT']
│ │ │ │ │ You can also use this to specify that you want examples which are missing some
│ │ │ │ │ part of the data structure, for instance
│ │ │ │ │ # Generates a Variable with no attributes
│ │ │ │ │ In [13]: xrst.variables(attrs=st.just({})).example()
│ │ │ │ │ Out[13]:
│ │ │ │ │ - Size: 40B
│ │ │ │ │ -array([ inf, inf, 5.169e+115, 2.225e-308, 1.401e-045])
│ │ │ │ │ + Size: 16B
│ │ │ │ │ +array([-9223372036854727831, -9223372036854746411])
│ │ │ │ │ Through a combination of chaining strategies and fixing arguments, you can
│ │ │ │ │ specify quite complicated requirements on the objects your chained strategy
│ │ │ │ │ will generate.
│ │ │ │ │ In [14]: fixed_x_variable_y_maybe_z = st.fixed_dictionaries(
│ │ │ │ │ ....: {"x": st.just(2), "y": st.integers(3, 4)}, optional={"z": st.just
│ │ │ │ │ (2)}
│ │ │ │ │ ....: )
│ │ │ │ │ @@ -136,35 +145,39 @@
│ │ │ │ │ In [15]: fixed_x_variable_y_maybe_z.example()
│ │ │ │ │ Out[15]: {'x': 2, 'y': 3, 'z': 2}
│ │ │ │ │
│ │ │ │ │ In [16]: special_variables = xrst.variables(dims=fixed_x_variable_y_maybe_z)
│ │ │ │ │
│ │ │ │ │ In [17]: special_variables.example()
│ │ │ │ │ Out[17]:
│ │ │ │ │ - Size: 64B
│ │ │ │ │ -array([[-9223372036854775598, -9223372036854727701, -765380011776258377, -
│ │ │ │ │ -9223372035077253998],
│ │ │ │ │ - [ -756101856880953354, -9223372036854737559, -9223372036854723696, -
│ │ │ │ │ -9223372036854759933]])
│ │ │ │ │ + Size: 128B
│ │ │ │ │ +array([[[-9223372036854734621, -9223372036854734621],
│ │ │ │ │ + [-9223372036854734621, -9223372036854734621],
│ │ │ │ │ + [-9223372036854775654, -9223372036854734621],
│ │ │ │ │ + [-9223372036854734621, -9223372036854734621]],
│ │ │ │ │ +
│ │ │ │ │ + [[-9223372036854734621, -9223372036854734621],
│ │ │ │ │ + [-9223372036854754014, -9223372036854734621],
│ │ │ │ │ + [-9223372036854734621, -9223372036854734621],
│ │ │ │ │ + [-9223372036854775792, -9223372036854734621]]], shape=(2, 4, 2))
│ │ │ │ │ Attributes:
│ │ │ │ │ - ÏĴſeC: {'ŪçĵŻſ': array([['NaT', 'NaT']], dtype='timedelta64[Y]'), '':
│ │ │ │ │ -...
│ │ │ │ │ + Læ: ŕ
│ │ │ │ │ + ųÏĞŮď: True
│ │ │ │ │ + ĺŵļ: True
│ │ │ │ │ + ſXaçŻ: ['\x8e\U000b0bbd\U0009ff28']
│ │ │ │ │ + Ő: ů
│ │ │ │ │ + ž: True
│ │ │ │ │ + ŵČðʼnż: True
│ │ │ │ │ + : Îm
│ │ │ │ │
│ │ │ │ │ In [18]: special_variables.example()
│ │ │ │ │ Out[18]:
│ │ │ │ │ - Size: 12B
│ │ │ │ │ -array([[ 11855, -14645, -2561],
│ │ │ │ │ - [-18322, -22316, -20968]], dtype=int16)
│ │ │ │ │ -Attributes:
│ │ │ │ │ - : False
│ │ │ │ │ - Ü: True
│ │ │ │ │ - ŠŽ: False
│ │ │ │ │ - Ŧ: Ŷ
│ │ │ │ │ - Ķ: True
│ │ │ │ │ - 5ſÿŽŏ: é
│ │ │ │ │ + Size: 6B
│ │ │ │ │ +array([[0, 0, 0],
│ │ │ │ │ + [0, 0, 0]], dtype=int8)
│ │ │ │ │ Here we have used one of hypothesis’ built-in strategies
│ │ │ │ │ hypothesis.strategies.fixed_dictionaries() to create a strategy which generates
│ │ │ │ │ mappings of dimension names to lengths (i.e. the size of the xarray object we
│ │ │ │ │ want). This particular strategy will always generate an x dimension of length
│ │ │ │ │ 2, and a y dimension of length either 3 or 4, and will sometimes also generate
│ │ │ │ │ a z dimension of length 2. By feeding this strategy for dictionaries into the
│ │ │ │ │ dims argument of xarray’s variables() strategy, we can generate arbitrary
│ │ │ │ │ @@ -258,48 +271,43 @@
│ │ │ │ │ ....: array_strategy_fn=xps.arrays,
│ │ │ │ │ ....: dtype=xps.scalar_dtypes(),
│ │ │ │ │ ....: )
│ │ │ │ │ ....:
│ │ │ │ │
│ │ │ │ │ In [32]: xp_variables.example()
│ │ │ │ │ Out[32]:
│ │ │ │ │ - Size: 4B
│ │ │ │ │ -array([[23794],
│ │ │ │ │ - [-2592]], dtype=int16)
│ │ │ │ │ + Size: 40B
│ │ │ │ │ +array([-9223372033794027569, -9223372033794027569, -9223372033794027569, -
│ │ │ │ │ +9223372033794027569,
│ │ │ │ │ + -9223372033794027569])
│ │ │ │ │ Attributes:
│ │ │ │ │ - f8żč: Żż¹
│ │ │ │ │ - žÒſżv: None
│ │ │ │ │ - ģĎë: None
│ │ │ │ │ - žv: [[2.]]
│ │ │ │ │ - łĀžĕť: [[-2147469683 -2147483559]\n [ 2147483646 -2147440432]]
│ │ │ │ │ - ťÃu: ũ
│ │ │ │ │ - ĆØØwã: False
│ │ │ │ │ - :
│ │ │ │ │ + à²: None
│ │ │ │ │ + ý: None
│ │ │ │ │ Another array API-compliant duck array library would replace the import, e.g.
│ │ │ │ │ import cupy as cp instead.
│ │ │ │ │ ******** TTeessttiinngg oovveerr SSuubbsseettss ooff DDiimmeennssiioonnss_?¶ ********
│ │ │ │ │ A common task when testing xarray user code is checking that your function
│ │ │ │ │ works for all valid input dimensions. We can chain strategies to achieve this,
│ │ │ │ │ for which the helper strategy unique_subset_of() is useful.
│ │ │ │ │ It works for lists of dimension names
│ │ │ │ │ In [33]: dims = ["x", "y", "z"]
│ │ │ │ │
│ │ │ │ │ In [34]: xrst.unique_subset_of(dims).example()
│ │ │ │ │ -Out[34]: ['x', 'z']
│ │ │ │ │ +Out[34]: ['x', 'y', 'z']
│ │ │ │ │
│ │ │ │ │ In [35]: xrst.unique_subset_of(dims).example()
│ │ │ │ │ -Out[35]: ['x', 'z']
│ │ │ │ │ +Out[35]: ['y', 'x', 'z']
│ │ │ │ │ as well as for mappings of dimension names to sizes
│ │ │ │ │ In [36]: dim_sizes = {"x": 2, "y": 3, "z": 4}
│ │ │ │ │
│ │ │ │ │ In [37]: xrst.unique_subset_of(dim_sizes).example()
│ │ │ │ │ -Out[37]: {'y': 3}
│ │ │ │ │ +Out[37]: {'z': 4, 'x': 2, 'y': 3}
│ │ │ │ │
│ │ │ │ │ In [38]: xrst.unique_subset_of(dim_sizes).example()
│ │ │ │ │ -Out[38]: {'y': 3, 'x': 2, 'z': 4}
│ │ │ │ │ +Out[38]: {'z': 4, 'x': 2}
│ │ │ │ │ This is useful because operations like reductions can be performed over any
│ │ │ │ │ subset of the xarray object’s dimensions. For example we can write a pytest
│ │ │ │ │ test that tests that a reduction gives the expected result when applying that
│ │ │ │ │ reduction along any possible valid subset of the Variable’s dimensions.
│ │ │ │ │ import numpy.testing as npt
│ │ │ ├── ./usr/share/doc/python-xarray-doc/html/whats-new.html
│ │ │ │ @@ -7936,15 +7936,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]: <matplotlib.collections.QuadMesh at 0x7f93962802d0>
│ │ │ │ +Out[46]: <matplotlib.collections.QuadMesh at 0x7f39570ce710>
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │ Added new methods xray.DataArray.diff
and xray.Dataset.diff
│ │ │ │ for finite difference calculations along a given axis.
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -5100,15 +5100,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]:
│ │ │ │ │ + Out[46]:
│ │ │ │ │ _[___b_u_i_l_d_/_h_t_m_l_/___s_t_a_t_i_c_/_w_h_e_r_e___e_x_a_m_p_l_e_._p_n_g_]
│ │ │ │ │ * 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 returning a
│ │ │ │ │ numpy.ma.MaskedArray.
│ │ │ │ │ In [47]: da = xray.DataArray(np.random.random_sample(size=(5, 4)))