xarray 2025.4.0__tar.gz → 2025.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/ci-additional.yaml +4 -4
  2. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/ci.yaml +1 -1
  3. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/upstream-dev-ci.yaml +1 -1
  4. {xarray-2025.4.0 → xarray-2025.6.1}/.gitignore +0 -1
  5. {xarray-2025.4.0 → xarray-2025.6.1}/.pre-commit-config.yaml +2 -2
  6. xarray-2025.6.1/CONTRIBUTING.md +1 -0
  7. {xarray-2025.4.0 → xarray-2025.6.1}/CORE_TEAM_GUIDE.md +1 -1
  8. {xarray-2025.4.0 → xarray-2025.6.1}/HOW_TO_RELEASE.md +1 -1
  9. {xarray-2025.4.0/xarray.egg-info → xarray-2025.6.1}/PKG-INFO +3 -4
  10. {xarray-2025.4.0 → xarray-2025.6.1}/README.md +1 -1
  11. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/indexing.py +38 -12
  12. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/environment.yml +1 -0
  13. {xarray-2025.4.0 → xarray-2025.6.1}/design_notes/named_array_design_doc.md +2 -2
  14. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/style.css +8 -0
  15. {xarray-2025.4.0 → xarray-2025.6.1}/doc/api-hidden.rst +1 -0
  16. {xarray-2025.4.0 → xarray-2025.6.1}/doc/api.rst +3 -0
  17. {xarray-2025.4.0 → xarray-2025.6.1}/doc/conf.py +11 -9
  18. {xarray-2025.4.0 → xarray-2025.6.1}/doc/contribute/contributing.rst +9 -10
  19. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/ROMS_ocean_model.ipynb +1 -1
  20. {xarray-2025.4.0 → xarray-2025.6.1}/doc/get-help/faq.rst +5 -5
  21. xarray-2025.6.1/doc/get-help/help-diagram.rst +104 -0
  22. {xarray-2025.4.0 → xarray-2025.6.1}/doc/get-help/howdoi.rst +1 -1
  23. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/duck-arrays-integration.rst +8 -1
  24. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/extending-xarray.rst +9 -5
  25. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/how-to-add-new-backend.rst +45 -20
  26. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/internal-design.rst +10 -10
  27. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/time-coding.rst +64 -49
  28. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/zarr-encoding-spec.rst +58 -7
  29. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/combining.rst +48 -33
  30. xarray-2025.6.1/doc/user-guide/complex-numbers.rst +128 -0
  31. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/computation.rst +121 -75
  32. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/dask.rst +68 -69
  33. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/data-structures.rst +104 -59
  34. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/duckarrays.rst +20 -12
  35. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/ecosystem.rst +3 -0
  36. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/groupby.rst +38 -21
  37. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/hierarchical-data.rst +131 -106
  38. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/index.rst +2 -1
  39. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/indexing.rst +130 -59
  40. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/interpolation.rst +46 -26
  41. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/io.rst +209 -160
  42. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/pandas.rst +27 -17
  43. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/plotting.rst +136 -272
  44. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/reshaping.rst +73 -40
  45. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/terminology.rst +16 -13
  46. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/testing.rst +39 -20
  47. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/time-series.rst +145 -49
  48. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/weather-climate.rst +53 -22
  49. {xarray-2025.4.0 → xarray-2025.6.1}/doc/whats-new.rst +272 -145
  50. {xarray-2025.4.0 → xarray-2025.6.1}/properties/test_pandas_roundtrip.py +36 -6
  51. xarray-2025.6.1/properties/test_properties.py +63 -0
  52. {xarray-2025.4.0 → xarray-2025.6.1}/pyproject.toml +23 -14
  53. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/__init__.py +2 -1
  54. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/api.py +12 -6
  55. xarray-2025.6.1/xarray/backends/chunks.py +273 -0
  56. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/common.py +7 -5
  57. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/h5netcdf_.py +10 -11
  58. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/locks.py +1 -3
  59. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/netcdf3.py +4 -5
  60. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/zarr.py +62 -92
  61. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/cftime_offsets.py +16 -20
  62. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/frequencies.py +1 -1
  63. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/times.py +200 -82
  64. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/variables.py +13 -3
  65. xarray-2025.6.1/xarray/compat/toolzcompat.py +56 -0
  66. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/apply_ufunc.py +20 -24
  67. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/computation.py +4 -6
  68. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/ops.py +1 -1
  69. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/rolling.py +16 -13
  70. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/conventions.py +31 -29
  71. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/convert.py +1 -1
  72. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/accessor_dt.py +8 -1
  73. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/accessor_str.py +1 -1
  74. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/common.py +1 -1
  75. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/coordinate_transform.py +27 -3
  76. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/coordinates.py +60 -19
  77. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/dataarray.py +25 -26
  78. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/dataset.py +119 -101
  79. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/datatree_render.py +6 -3
  80. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/duck_array_ops.py +45 -16
  81. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/extension_array.py +44 -3
  82. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/formatting.py +12 -5
  83. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/groupby.py +24 -13
  84. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/indexes.py +118 -25
  85. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/indexing.py +17 -5
  86. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/missing.py +5 -6
  87. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/parallel.py +8 -6
  88. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/resample_cftime.py +22 -23
  89. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/treenode.py +11 -13
  90. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/types.py +4 -4
  91. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/utils.py +5 -5
  92. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/variable.py +44 -25
  93. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/groupers.py +395 -13
  94. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/indexes/range_index.py +7 -4
  95. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/_typing.py +1 -2
  96. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/dtypes.py +4 -4
  97. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/facetgrid.py +1 -1
  98. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/utils.py +17 -18
  99. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/static/css/style.css +92 -19
  100. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/alignment.py +155 -83
  101. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/chunks.py +3 -3
  102. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/concat.py +15 -8
  103. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/merge.py +11 -4
  104. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/testing/assertions.py +4 -4
  105. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/__init__.py +12 -1
  106. xarray-2025.6.1/xarray/tests/indexes.py +73 -0
  107. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_accessor_dt.py +4 -4
  108. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_accessor_str.py +8 -8
  109. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends.py +111 -30
  110. xarray-2025.6.1/xarray/tests/test_backends_chunks.py +114 -0
  111. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_datatree.py +2 -3
  112. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_cftime_offsets.py +10 -12
  113. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coding_times.py +216 -26
  114. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_combine.py +2 -2
  115. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_computation.py +21 -7
  116. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_concat.py +65 -15
  117. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coordinate_transform.py +3 -1
  118. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dask.py +14 -6
  119. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dataarray.py +57 -9
  120. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dataset.py +121 -53
  121. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_datatree.py +1 -1
  122. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_distributed.py +22 -18
  123. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_duck_array_ops.py +28 -0
  124. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_formatting_html.py +2 -2
  125. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_groupby.py +326 -8
  126. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_interp.py +2 -3
  127. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_merge.py +20 -0
  128. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_missing.py +28 -0
  129. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_plot.py +4 -8
  130. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_rolling.py +14 -0
  131. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_sparse.py +6 -7
  132. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_ufuncs.py +13 -0
  133. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_units.py +2 -3
  134. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_variable.py +83 -3
  135. xarray-2025.6.1/xarray/typing.py +23 -0
  136. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/util/generate_aggregations.py +9 -2
  137. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/util/print_versions.py +2 -3
  138. {xarray-2025.4.0 → xarray-2025.6.1/xarray.egg-info}/PKG-INFO +3 -4
  139. {xarray-2025.4.0 → xarray-2025.6.1}/xarray.egg-info/SOURCES.txt +6 -0
  140. xarray-2025.4.0/CONTRIBUTING.md +0 -1
  141. xarray-2025.4.0/doc/get-help/help-diagram.rst +0 -90
  142. xarray-2025.4.0/properties/test_properties.py +0 -17
  143. {xarray-2025.4.0 → xarray-2025.6.1}/.binder/environment.yml +0 -0
  144. {xarray-2025.4.0 → xarray-2025.6.1}/.codecov.yml +0 -0
  145. {xarray-2025.4.0 → xarray-2025.6.1}/.git-blame-ignore-revs +0 -0
  146. {xarray-2025.4.0 → xarray-2025.6.1}/.git_archival.txt +0 -0
  147. {xarray-2025.4.0 → xarray-2025.6.1}/.gitattributes +0 -0
  148. {xarray-2025.4.0 → xarray-2025.6.1}/.github/FUNDING.yml +0 -0
  149. {xarray-2025.4.0 → xarray-2025.6.1}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
  150. {xarray-2025.4.0 → xarray-2025.6.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  151. {xarray-2025.4.0 → xarray-2025.6.1}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
  152. {xarray-2025.4.0 → xarray-2025.6.1}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
  153. {xarray-2025.4.0 → xarray-2025.6.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  154. {xarray-2025.4.0 → xarray-2025.6.1}/.github/config.yml +0 -0
  155. {xarray-2025.4.0 → xarray-2025.6.1}/.github/dependabot.yml +0 -0
  156. {xarray-2025.4.0 → xarray-2025.6.1}/.github/labeler.yml +0 -0
  157. {xarray-2025.4.0 → xarray-2025.6.1}/.github/release.yml +0 -0
  158. {xarray-2025.4.0 → xarray-2025.6.1}/.github/stale.yml +0 -0
  159. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/benchmarks-last-release.yml +0 -0
  160. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/benchmarks.yml +0 -0
  161. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/configure-testpypi-version.py +0 -0
  162. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/hypothesis.yaml +0 -0
  163. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/label-prs.yml +0 -0
  164. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/nightly-wheels.yml +0 -0
  165. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/publish-test-results.yaml +0 -0
  166. {xarray-2025.4.0 → xarray-2025.6.1}/.github/workflows/pypi-release.yaml +0 -0
  167. {xarray-2025.4.0 → xarray-2025.6.1}/.readthedocs.yaml +0 -0
  168. {xarray-2025.4.0 → xarray-2025.6.1}/CITATION.cff +0 -0
  169. {xarray-2025.4.0 → xarray-2025.6.1}/CODE_OF_CONDUCT.md +0 -0
  170. {xarray-2025.4.0 → xarray-2025.6.1}/DATATREE_MIGRATION_GUIDE.md +0 -0
  171. {xarray-2025.4.0 → xarray-2025.6.1}/LICENSE +0 -0
  172. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/asv.conf.json +0 -0
  173. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/README_CI.md +0 -0
  174. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/__init__.py +0 -0
  175. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/accessors.py +0 -0
  176. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/alignment.py +0 -0
  177. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/coding.py +0 -0
  178. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/combine.py +0 -0
  179. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/dataarray_missing.py +0 -0
  180. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/dataset.py +0 -0
  181. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/dataset_io.py +0 -0
  182. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/datatree.py +0 -0
  183. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/groupby.py +0 -0
  184. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/import.py +0 -0
  185. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/interp.py +0 -0
  186. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/merge.py +0 -0
  187. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/pandas.py +0 -0
  188. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/polyfit.py +0 -0
  189. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/reindexing.py +0 -0
  190. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/renaming.py +0 -0
  191. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/repr.py +0 -0
  192. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/rolling.py +0 -0
  193. {xarray-2025.4.0 → xarray-2025.6.1}/asv_bench/benchmarks/unstacking.py +0 -0
  194. {xarray-2025.4.0 → xarray-2025.6.1}/ci/install-upstream-wheels.sh +0 -0
  195. {xarray-2025.4.0 → xarray-2025.6.1}/ci/minimum_versions.py +0 -0
  196. {xarray-2025.4.0 → xarray-2025.6.1}/ci/release_contributors.py +0 -0
  197. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/all-but-dask.yml +0 -0
  198. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/all-but-numba.yml +0 -0
  199. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/bare-minimum.yml +0 -0
  200. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/doc.yml +0 -0
  201. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/environment-3.14.yml +0 -0
  202. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/environment-windows-3.14.yml +0 -0
  203. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/environment-windows.yml +0 -0
  204. {xarray-2025.4.0 → xarray-2025.6.1}/ci/requirements/min-all-deps.yml +0 -0
  205. {xarray-2025.4.0 → xarray-2025.6.1}/conftest.py +0 -0
  206. {xarray-2025.4.0 → xarray-2025.6.1}/design_notes/flexible_indexes_notes.md +0 -0
  207. {xarray-2025.4.0 → xarray-2025.6.1}/design_notes/grouper_objects.md +0 -0
  208. {xarray-2025.4.0 → xarray-2025.6.1}/doc/Makefile +0 -0
  209. {xarray-2025.4.0 → xarray-2025.6.1}/doc/README.rst +0 -0
  210. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/.gitignore +0 -0
  211. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/advanced_selection_interpolation.svg +0 -0
  212. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/ci.png +0 -0
  213. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/dask-array.svg +0 -0
  214. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/dataset-diagram.png +0 -0
  215. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/index_api.svg +0 -0
  216. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/index_contribute.svg +0 -0
  217. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/index_getting_started.svg +0 -0
  218. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/index_user_guide.svg +0 -0
  219. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
  220. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
  221. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
  222. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
  223. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
  224. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
  225. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/numfocus_logo.png +0 -0
  226. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/opendap-prism-tmax.png +0 -0
  227. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
  228. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
  229. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
  230. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/monthly-means.png +0 -0
  231. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
  232. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/toy-weather-data.png +0 -0
  233. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/thumbnails/visualization_gallery.png +0 -0
  234. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_static/view-docs.png +0 -0
  235. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_templates/autosummary/accessor.rst +0 -0
  236. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
  237. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_templates/autosummary/accessor_callable.rst +0 -0
  238. {xarray-2025.4.0 → xarray-2025.6.1}/doc/_templates/autosummary/accessor_method.rst +0 -0
  239. {xarray-2025.4.0 → xarray-2025.6.1}/doc/combined.json +0 -0
  240. {xarray-2025.4.0 → xarray-2025.6.1}/doc/contribute/developers-meeting.rst +0 -0
  241. {xarray-2025.4.0 → xarray-2025.6.1}/doc/contribute/index.rst +0 -0
  242. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
  243. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/_code/accessor_example.py +0 -0
  244. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
  245. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/area_weighted_temperature.ipynb +0 -0
  246. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/blank_template.ipynb +0 -0
  247. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/monthly-means.ipynb +0 -0
  248. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/multidimensional-coords.ipynb +0 -0
  249. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/visualization_gallery.ipynb +0 -0
  250. {xarray-2025.4.0 → xarray-2025.6.1}/doc/examples/weather-data.ipynb +0 -0
  251. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery/README.txt +0 -0
  252. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
  253. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery/plot_colorbar_center.py +0 -0
  254. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery/plot_control_colorbar.py +0 -0
  255. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery/plot_lines_from_2d.py +0 -0
  256. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery.rst +0 -0
  257. {xarray-2025.4.0 → xarray-2025.6.1}/doc/gallery.yml +0 -0
  258. {xarray-2025.4.0 → xarray-2025.6.1}/doc/get-help/socials.rst +0 -0
  259. {xarray-2025.4.0 → xarray-2025.6.1}/doc/getting-started-guide/index.rst +0 -0
  260. {xarray-2025.4.0 → xarray-2025.6.1}/doc/getting-started-guide/installing.rst +0 -0
  261. {xarray-2025.4.0 → xarray-2025.6.1}/doc/getting-started-guide/quick-overview.rst +0 -0
  262. {xarray-2025.4.0 → xarray-2025.6.1}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
  263. {xarray-2025.4.0 → xarray-2025.6.1}/doc/getting-started-guide/why-xarray.rst +0 -0
  264. {xarray-2025.4.0 → xarray-2025.6.1}/doc/index.rst +0 -0
  265. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/chunked-arrays.rst +0 -0
  266. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/how-to-create-custom-index.rst +0 -0
  267. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/index.rst +0 -0
  268. {xarray-2025.4.0 → xarray-2025.6.1}/doc/internals/interoperability.rst +0 -0
  269. {xarray-2025.4.0 → xarray-2025.6.1}/doc/roadmap.rst +0 -0
  270. {xarray-2025.4.0 → xarray-2025.6.1}/doc/user-guide/options.rst +0 -0
  271. {xarray-2025.4.0 → xarray-2025.6.1}/doc/videos.yml +0 -0
  272. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/ANYTREE_LICENSE +0 -0
  273. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/DASK_LICENSE +0 -0
  274. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/ICOMOON_LICENSE +0 -0
  275. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/NUMPY_LICENSE +0 -0
  276. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/PANDAS_LICENSE +0 -0
  277. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/PYTHON_LICENSE +0 -0
  278. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/SCIKIT_LEARN_LICENSE +0 -0
  279. {xarray-2025.4.0 → xarray-2025.6.1}/licenses/SEABORN_LICENSE +0 -0
  280. {xarray-2025.4.0 → xarray-2025.6.1}/properties/README.md +0 -0
  281. {xarray-2025.4.0 → xarray-2025.6.1}/properties/__init__.py +0 -0
  282. {xarray-2025.4.0 → xarray-2025.6.1}/properties/conftest.py +0 -0
  283. {xarray-2025.4.0 → xarray-2025.6.1}/properties/test_encode_decode.py +0 -0
  284. {xarray-2025.4.0 → xarray-2025.6.1}/properties/test_index_manipulation.py +0 -0
  285. {xarray-2025.4.0 → xarray-2025.6.1}/setup.cfg +0 -0
  286. {xarray-2025.4.0 → xarray-2025.6.1}/setup.py +0 -0
  287. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/__init__.py +0 -0
  288. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/file_manager.py +0 -0
  289. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/lru_cache.py +0 -0
  290. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/memory.py +0 -0
  291. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/netCDF4_.py +0 -0
  292. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/plugins.py +0 -0
  293. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/pydap_.py +0 -0
  294. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/scipy_.py +0 -0
  295. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/backends/store.py +0 -0
  296. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coders.py +0 -0
  297. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/__init__.py +0 -0
  298. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/calendar_ops.py +0 -0
  299. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/cftimeindex.py +0 -0
  300. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/common.py +0 -0
  301. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/coding/strings.py +0 -0
  302. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/__init__.py +0 -0
  303. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/array_api_compat.py +0 -0
  304. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/dask_array_compat.py +0 -0
  305. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/dask_array_ops.py +0 -0
  306. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/npcompat.py +0 -0
  307. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/compat/pdcompat.py +0 -0
  308. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/__init__.py +0 -0
  309. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/arithmetic.py +0 -0
  310. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/fit.py +0 -0
  311. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/nanops.py +0 -0
  312. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/rolling_exp.py +0 -0
  313. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/computation/weighted.py +0 -0
  314. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/__init__.py +0 -0
  315. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/_aggregations.py +0 -0
  316. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/_typed_ops.py +0 -0
  317. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/dataset_utils.py +0 -0
  318. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/dataset_variables.py +0 -0
  319. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/datatree.py +0 -0
  320. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/datatree_io.py +0 -0
  321. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/datatree_mapping.py +0 -0
  322. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/dtypes.py +0 -0
  323. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/extensions.py +0 -0
  324. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/formatting_html.py +0 -0
  325. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/nputils.py +0 -0
  326. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/options.py +0 -0
  327. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/core/resample.py +0 -0
  328. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/indexes/__init__.py +0 -0
  329. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/__init__.py +0 -0
  330. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/_aggregations.py +0 -0
  331. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/_array_api.py +0 -0
  332. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/core.py +0 -0
  333. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/daskmanager.py +0 -0
  334. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/parallelcompat.py +0 -0
  335. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/pycompat.py +0 -0
  336. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/namedarray/utils.py +0 -0
  337. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/__init__.py +0 -0
  338. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/accessor.py +0 -0
  339. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/dataarray_plot.py +0 -0
  340. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/plot/dataset_plot.py +0 -0
  341. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/py.typed +0 -0
  342. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/static/__init__.py +0 -0
  343. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/static/css/__init__.py +0 -0
  344. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/static/html/__init__.py +0 -0
  345. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/static/html/icons-svg-inline.html +0 -0
  346. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/__init__.py +0 -0
  347. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/structure/combine.py +0 -0
  348. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/testing/__init__.py +0 -0
  349. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/testing/strategies.py +0 -0
  350. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/arrays.py +0 -0
  351. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/conftest.py +0 -0
  352. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/bears.nc +0 -0
  353. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/example.grib +0 -0
  354. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/example.ict +0 -0
  355. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/example.uamiv +0 -0
  356. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/example_1.nc +0 -0
  357. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/data/example_1.nc.gz +0 -0
  358. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/namespace.py +0 -0
  359. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_array_api.py +0 -0
  360. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_assertions.py +0 -0
  361. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_api.py +0 -0
  362. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_common.py +0 -0
  363. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_file_manager.py +0 -0
  364. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_locks.py +0 -0
  365. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_backends_lru_cache.py +0 -0
  366. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_calendar_ops.py +0 -0
  367. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_cftimeindex.py +0 -0
  368. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_cftimeindex_resample.py +0 -0
  369. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coarsen.py +0 -0
  370. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coding.py +0 -0
  371. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coding_strings.py +0 -0
  372. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_conventions.py +0 -0
  373. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_coordinates.py +0 -0
  374. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_cupy.py +0 -0
  375. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dataarray_typing.yml +0 -0
  376. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dataset_typing.yml +0 -0
  377. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_datatree_mapping.py +0 -0
  378. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_datatree_typing.yml +0 -0
  379. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_deprecation_helpers.py +0 -0
  380. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_dtypes.py +0 -0
  381. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_duck_array_wrapping.py +0 -0
  382. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_error_messages.py +0 -0
  383. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_extensions.py +0 -0
  384. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_formatting.py +0 -0
  385. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_hashable.py +0 -0
  386. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_indexes.py +0 -0
  387. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_indexing.py +0 -0
  388. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_namedarray.py +0 -0
  389. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_nputils.py +0 -0
  390. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_options.py +0 -0
  391. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_pandas_to_xarray.py +0 -0
  392. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_parallelcompat.py +0 -0
  393. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_plugins.py +0 -0
  394. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_print_versions.py +0 -0
  395. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_range_index.py +0 -0
  396. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_strategies.py +0 -0
  397. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_treenode.py +0 -0
  398. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_tutorial.py +0 -0
  399. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_typed_ops.py +0 -0
  400. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_utils.py +0 -0
  401. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tests/test_weighted.py +0 -0
  402. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/tutorial.py +0 -0
  403. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/ufuncs.py +0 -0
  404. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/util/__init__.py +0 -0
  405. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/util/deprecation_helpers.py +0 -0
  406. {xarray-2025.4.0 → xarray-2025.6.1}/xarray/util/generate_ops.py +0 -0
  407. {xarray-2025.4.0 → xarray-2025.6.1}/xarray.egg-info/dependency_links.txt +0 -0
  408. {xarray-2025.4.0 → xarray-2025.6.1}/xarray.egg-info/entry_points.txt +0 -0
  409. {xarray-2025.4.0 → xarray-2025.6.1}/xarray.egg-info/requires.txt +0 -0
  410. {xarray-2025.4.0 → xarray-2025.6.1}/xarray.egg-info/top_level.txt +0 -0
@@ -123,7 +123,7 @@ jobs:
123
123
  python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
124
124
 
125
125
  - name: Upload mypy coverage to Codecov
126
- uses: codecov/codecov-action@v5.4.2
126
+ uses: codecov/codecov-action@v5.4.3
127
127
  with:
128
128
  file: mypy_report/cobertura.xml
129
129
  flags: mypy
@@ -174,7 +174,7 @@ jobs:
174
174
  python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
175
175
 
176
176
  - name: Upload mypy coverage to Codecov
177
- uses: codecov/codecov-action@v5.4.2
177
+ uses: codecov/codecov-action@v5.4.3
178
178
  with:
179
179
  file: mypy_report/cobertura.xml
180
180
  flags: mypy-min
@@ -230,7 +230,7 @@ jobs:
230
230
  python -m pyright xarray/
231
231
 
232
232
  - name: Upload pyright coverage to Codecov
233
- uses: codecov/codecov-action@v5.4.2
233
+ uses: codecov/codecov-action@v5.4.3
234
234
  with:
235
235
  file: pyright_report/cobertura.xml
236
236
  flags: pyright
@@ -286,7 +286,7 @@ jobs:
286
286
  python -m pyright xarray/
287
287
 
288
288
  - name: Upload pyright coverage to Codecov
289
- uses: codecov/codecov-action@v5.4.2
289
+ uses: codecov/codecov-action@v5.4.3
290
290
  with:
291
291
  file: pyright_report/cobertura.xml
292
292
  flags: pyright39
@@ -172,7 +172,7 @@ jobs:
172
172
  path: pytest.xml
173
173
 
174
174
  - name: Upload code coverage to Codecov
175
- uses: codecov/codecov-action@v5.4.2
175
+ uses: codecov/codecov-action@v5.4.3
176
176
  env:
177
177
  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
178
178
  with:
@@ -140,7 +140,7 @@ jobs:
140
140
  run: |
141
141
  python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
142
142
  - name: Upload mypy coverage to Codecov
143
- uses: codecov/codecov-action@v5.4.2
143
+ uses: codecov/codecov-action@v5.4.3
144
144
  with:
145
145
  file: mypy_report/cobertura.xml
146
146
  flags: mypy
@@ -10,7 +10,6 @@ __pycache__
10
10
  doc/*.nc
11
11
  doc/auto_gallery
12
12
  doc/rasm.zarr
13
- doc/savefig
14
13
 
15
14
  # C extensions
16
15
  *.so
@@ -25,7 +25,7 @@ repos:
25
25
  - id: text-unicode-replacement-char
26
26
  - repo: https://github.com/astral-sh/ruff-pre-commit
27
27
  # Ruff version.
28
- rev: v0.11.4
28
+ rev: v0.11.12
29
29
  hooks:
30
30
  - id: ruff-format
31
31
  - id: ruff
@@ -42,7 +42,7 @@ repos:
42
42
  - id: prettier
43
43
  args: [--cache-location=.prettier_cache/cache]
44
44
  - repo: https://github.com/pre-commit/mirrors-mypy
45
- rev: v1.15.0
45
+ rev: v1.16.0
46
46
  hooks:
47
47
  - id: mypy
48
48
  # Copied from setup.cfg
@@ -0,0 +1 @@
1
+ Xarray's contributor guidelines [can be found in our online documentation](https://docs.xarray.dev/en/stable/contribute/contributing.html)
@@ -272,7 +272,7 @@ resources such as:
272
272
  - [`pre-commit`](https://pre-commit.com) hooks for autoformatting.
273
273
  - [`ruff`](https://github.com/astral-sh/ruff) autoformatting and linting.
274
274
  - [python-xarray](https://stackoverflow.com/questions/tagged/python-xarray) on Stack Overflow.
275
- - [@xarray_dev](https://twitter.com/xarray_dev) on Twitter.
275
+ - [@xarray_dev](https://x.com/xarray_dev) on X.
276
276
  - [xarray-dev](https://discord.gg/bsSGdwBn) discord community (normally only used for remote synchronous chat during sprints).
277
277
 
278
278
  You are not required to monitor any of the social resources.
@@ -114,7 +114,7 @@ upstream https://github.com/pydata/xarray (push)
114
114
  - SHA256 hash (Click "Show Hashes" next to the link to the wheel)
115
115
  - Open a pull request to pyodide
116
116
 
117
- 14. Issue the release announcement to mailing lists & Twitter. For bug fix releases, I
117
+ 14. Issue the release announcement to mailing lists & Twitter (X). For bug fix releases, I
118
118
  usually only email xarray@googlegroups.com. For major/feature releases, I will email a broader
119
119
  list (no more than once every 3-6 months):
120
120
 
@@ -1,16 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xarray
3
- Version: 2025.4.0
3
+ Version: 2025.6.1
4
4
  Summary: N-D labeled arrays and datasets in Python
5
5
  Author-email: xarray Developers <xarray@googlegroups.com>
6
- License: Apache-2.0
6
+ License-Expression: Apache-2.0
7
7
  Project-URL: Documentation, https://docs.xarray.dev
8
8
  Project-URL: SciPy2015-talk, https://www.youtube.com/watch?v=X0pAhJgySxk
9
9
  Project-URL: homepage, https://xarray.dev/
10
10
  Project-URL: issue-tracker, https://github.com/pydata/xarray/issues
11
11
  Project-URL: source-code, https://github.com/pydata/xarray
12
12
  Classifier: Development Status :: 5 - Production/Stable
13
- Classifier: License :: OSI Approved :: Apache Software License
14
13
  Classifier: Operating System :: OS Independent
15
14
  Classifier: Intended Audience :: Science/Research
16
15
  Classifier: Programming Language :: Python
@@ -85,7 +84,7 @@ Dynamic: license-file
85
84
  [![Conda - Downloads](https://img.shields.io/conda/dn/anaconda/xarray?label=conda%7Cdownloads)](https://anaconda.org/anaconda/xarray)
86
85
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11183201.svg)](https://doi.org/10.5281/zenodo.11183201)
87
86
  [![Examples on binder](https://img.shields.io/badge/launch-binder-579ACA.svg?logo=data:image/png;base64,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)](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/weather-data.ipynb)
88
- [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://twitter.com/xarray_dev)
87
+ [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://x.com/xarray_dev)
89
88
 
90
89
  **xarray** (pronounced "ex-array", formerly known as **xray**) is an open source project and Python
91
90
  package that makes working with labelled multi-dimensional arrays
@@ -11,7 +11,7 @@
11
11
  [![Conda - Downloads](https://img.shields.io/conda/dn/anaconda/xarray?label=conda%7Cdownloads)](https://anaconda.org/anaconda/xarray)
12
12
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11183201.svg)](https://doi.org/10.5281/zenodo.11183201)
13
13
  [![Examples on binder](https://img.shields.io/badge/launch-binder-579ACA.svg?logo=data:image/png;base64,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)](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/weather-data.ipynb)
14
- [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://twitter.com/xarray_dev)
14
+ [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://x.com/xarray_dev)
15
15
 
16
16
  **xarray** (pronounced "ex-array", formerly known as **xray**) is an open source project and Python
17
17
  package that makes working with labelled multi-dimensional arrays
@@ -39,18 +39,30 @@ outer_assignment_values = {
39
39
  "2d-1scalar": xr.DataArray(randn(100, frac_nan=0.1), dims=["x"]),
40
40
  }
41
41
 
42
- vectorized_indexes = {
43
- "1-1d": {"x": xr.DataArray(randint(0, nx, 400), dims="a")},
44
- "2-1d": {
45
- "x": xr.DataArray(randint(0, nx, 400), dims="a"),
46
- "y": xr.DataArray(randint(0, ny, 400), dims="a"),
47
- },
48
- "3-2d": {
49
- "x": xr.DataArray(randint(0, nx, 400).reshape(4, 100), dims=["a", "b"]),
50
- "y": xr.DataArray(randint(0, ny, 400).reshape(4, 100), dims=["a", "b"]),
51
- "t": xr.DataArray(randint(0, nt, 400).reshape(4, 100), dims=["a", "b"]),
52
- },
53
- }
42
+
43
+ def make_vectorized_indexes(n_index):
44
+ return {
45
+ "1-1d": {"x": xr.DataArray(randint(0, nx, n_index), dims="a")},
46
+ "2-1d": {
47
+ "x": xr.DataArray(randint(0, nx, n_index), dims="a"),
48
+ "y": xr.DataArray(randint(0, ny, n_index), dims="a"),
49
+ },
50
+ "3-2d": {
51
+ "x": xr.DataArray(
52
+ randint(0, nx, n_index).reshape(n_index // 100, 100), dims=["a", "b"]
53
+ ),
54
+ "y": xr.DataArray(
55
+ randint(0, ny, n_index).reshape(n_index // 100, 100), dims=["a", "b"]
56
+ ),
57
+ "t": xr.DataArray(
58
+ randint(0, nt, n_index).reshape(n_index // 100, 100), dims=["a", "b"]
59
+ ),
60
+ },
61
+ }
62
+
63
+
64
+ vectorized_indexes = make_vectorized_indexes(400)
65
+ big_vectorized_indexes = make_vectorized_indexes(400_000)
54
66
 
55
67
  vectorized_assignment_values = {
56
68
  "1-1d": xr.DataArray(randn((400, ny)), dims=["a", "y"], coords={"a": randn(400)}),
@@ -101,6 +113,20 @@ class Indexing(Base):
101
113
  self.ds_large.isel(**basic_indexes[key]).load()
102
114
 
103
115
 
116
+ class IndexingOnly(Base):
117
+ @parameterized(["key"], [list(basic_indexes.keys())])
118
+ def time_indexing_basic(self, key):
119
+ self.ds.isel(**basic_indexes[key])
120
+
121
+ @parameterized(["key"], [list(outer_indexes.keys())])
122
+ def time_indexing_outer(self, key):
123
+ self.ds.isel(**outer_indexes[key])
124
+
125
+ @parameterized(["key"], [list(big_vectorized_indexes.keys())])
126
+ def time_indexing_big_vectorized(self, key):
127
+ self.ds.isel(**big_vectorized_indexes[key])
128
+
129
+
104
130
  class Assignment(Base):
105
131
  @parameterized(["key"], [list(basic_indexes.keys())])
106
132
  def time_assignment_basic(self, key):
@@ -20,6 +20,7 @@ dependencies:
20
20
  - iris
21
21
  - lxml # Optional dep of pydap
22
22
  - matplotlib-base
23
+ - mypy==1.15 # mypy 1.16 breaks CI
23
24
  - nc-time-axis
24
25
  - netcdf4
25
26
  - numba
@@ -167,8 +167,8 @@ We plan to publicize this document on :
167
167
 
168
168
  - [x] `Xarray dev call`
169
169
  - [ ] `Scientific Python discourse`
170
- - [ ] `Xarray Github`
171
- - [ ] `Twitter`
170
+ - [ ] `Xarray GitHub`
171
+ - [ ] `Twitter (X)`
172
172
  - [ ] `Respond to NamedTensor and Scikit-Learn issues?`
173
173
  - [ ] `Pangeo Discourse`
174
174
  - [ ] `Numpy, SciPy email lists?`
@@ -44,3 +44,11 @@ html[data-theme="dark"] .sd-card img[src*=".svg"] {
44
44
  .bd-content .sd-card .sd-card-body {
45
45
  background-color: unset !important;
46
46
  }
47
+
48
+ /* workaround Pydata Sphinx theme using light colors for widget cell outputs in dark-mode */
49
+ /* works for many widgets but not for Xarray html reprs */
50
+ /* https://github.com/pydata/pydata-sphinx-theme/issues/2189 */
51
+ html[data-theme="dark"] div.cell_output .text_html:has(div.xr-wrap) {
52
+ background-color: var(--pst-color-on-background) !important;
53
+ color: var(--pst-color-text-base) !important;
54
+ }
@@ -520,6 +520,7 @@
520
520
  Index.stack
521
521
  Index.unstack
522
522
  Index.create_variables
523
+ Index.should_add_coord_to_array
523
524
  Index.to_pandas_index
524
525
  Index.isel
525
526
  Index.sel
@@ -1329,6 +1329,8 @@ Grouper Objects
1329
1329
  groupers.BinGrouper
1330
1330
  groupers.UniqueGrouper
1331
1331
  groupers.TimeResampler
1332
+ groupers.SeasonGrouper
1333
+ groupers.SeasonResampler
1332
1334
 
1333
1335
 
1334
1336
  Rolling objects
@@ -1645,6 +1647,7 @@ Exceptions
1645
1647
  :toctree: generated/
1646
1648
 
1647
1649
  AlignmentError
1650
+ CoordinateValidationError
1648
1651
  MergeError
1649
1652
  SerializationWarning
1650
1653
 
@@ -6,7 +6,7 @@ import subprocess
6
6
  import sys
7
7
  from contextlib import suppress
8
8
  from textwrap import dedent, indent
9
-
9
+ import packaging.version
10
10
  import sphinx_autosummary_accessors
11
11
  import yaml
12
12
  from sphinx.application import Sphinx
@@ -61,8 +61,6 @@ extensions = [
61
61
  "sphinx.ext.extlinks",
62
62
  "sphinx.ext.mathjax",
63
63
  "sphinx.ext.napoleon",
64
- "IPython.sphinxext.ipython_directive",
65
- "IPython.sphinxext.ipython_console_highlighting",
66
64
  "jupyter_sphinx",
67
65
  "nbsphinx",
68
66
  "sphinx_autosummary_accessors",
@@ -182,8 +180,10 @@ napoleon_type_aliases = {
182
180
  "pd.NaT": "~pandas.NaT",
183
181
  }
184
182
 
183
+ autodoc_type_aliases = napoleon_type_aliases # Keep both in sync
184
+
185
185
  # mermaid config
186
- mermaid_version = "10.9.1"
186
+ mermaid_version = "11.6.0"
187
187
 
188
188
  # Add any paths that contain templates here, relative to this directory.
189
189
  templates_path = ["_templates", sphinx_autosummary_accessors.templates_path]
@@ -199,10 +199,9 @@ language = "en"
199
199
  project = "xarray"
200
200
  copyright = f"2014-{datetime.datetime.now().year}, xarray Developers"
201
201
 
202
- # The short X.Y version.
203
- version = xarray.__version__.split("+")[0]
204
- # The full version, including alpha/beta/rc tags.
205
- release = xarray.__version__
202
+ # The short Y.M.D version.
203
+ v = packaging.version.parse(xarray.__version__)
204
+ version = ".".join(str(p) for p in v.release)
206
205
 
207
206
  # There are two options for replacing |today|: either, you set today to some
208
207
  # non-false value, then it is used:
@@ -212,7 +211,7 @@ today_fmt = "%Y-%m-%d"
212
211
 
213
212
  # List of patterns, relative to source directory, that match files and
214
213
  # directories to ignore when looking for source files.
215
- exclude_patterns = ["_build", "**.ipynb_checkpoints"]
214
+ exclude_patterns = ["_build", "debug.ipynb", "**.ipynb_checkpoints"]
216
215
 
217
216
 
218
217
  # The name of the Pygments (syntax highlighting) style to use.
@@ -311,6 +310,8 @@ rediraffe_redirects = {
311
310
  "why-xarray.rst": "getting-started-guide/why-xarray.rst",
312
311
  "installing.rst": "getting-started-guide/installing.rst",
313
312
  "quick-overview.rst": "getting-started-guide/quick-overview.rst",
313
+ "contributing.rst": "contribute/contributing.rst",
314
+ "developers-meeting.rst": "contribute/developers-meeting.rst",
314
315
  }
315
316
 
316
317
  # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
@@ -338,6 +339,7 @@ intersphinx_mapping = {
338
339
  "sparse": ("https://sparse.pydata.org/en/latest/", None),
339
340
  "xarray-tutorial": ("https://tutorial.xarray.dev/", None),
340
341
  "zarr": ("https://zarr.readthedocs.io/en/stable/", None),
342
+ "xarray-lmfit": ("https://xarray-lmfit.readthedocs.io/stable", None),
341
343
  }
342
344
 
343
345
  # based on numpy doc/source/conf.py
@@ -387,24 +387,24 @@ Some other important things to know about the docs:
387
387
  for a detailed explanation, or look at some of the existing functions to
388
388
  extend it in a similar manner.
389
389
 
390
- - The tutorials make heavy use of the `ipython directive
391
- <https://matplotlib.org/sampledoc/ipython_directive.html>`_ sphinx extension.
392
- This directive lets you put code in the documentation which will be run
390
+ - The documentation makes heavy use of the `jupyter-sphinx extension
391
+ <https://jupyter-sphinx.readthedocs.io>`_.
392
+ The ``jupyter-execute`` directive lets you put code in the documentation which will be run
393
393
  during the doc build. For example:
394
394
 
395
395
  .. code:: rst
396
396
 
397
- .. ipython:: python
397
+ .. jupyter-execute::
398
398
 
399
399
  x = 2
400
400
  x**3
401
401
 
402
- will be rendered as::
402
+ will be rendered as:
403
403
 
404
- In [1]: x = 2
404
+ .. jupyter-execute::
405
405
 
406
- In [2]: x**3
407
- Out[2]: 8
406
+ x = 2
407
+ x**3
408
408
 
409
409
  Almost all code examples in the docs are run (and the output saved) during the
410
410
  doc build. This approach means that code examples will always be up to date,
@@ -549,8 +549,7 @@ Code Formatting
549
549
 
550
550
  xarray uses several tools to ensure a consistent code format throughout the project:
551
551
 
552
- - `ruff <https://github.com/astral-sh/ruff>`_ for formatting, code quality checks and standardized order in imports
553
- - `absolufy-imports <https://github.com/MarcoGorelli/absolufy-imports>`_ for absolute instead of relative imports from different files,
552
+ - `ruff <https://github.com/astral-sh/ruff>`_ for formatting, code quality checks and standardized order in imports, and
554
553
  - `mypy <https://mypy-lang.org/>`_ for static type checking on `type hints
555
554
  <https://docs.python.org/3/library/typing.html>`_.
556
555
 
@@ -87,7 +87,7 @@
87
87
  "source": [
88
88
  "### Add a lazilly calculated vertical coordinates\n",
89
89
  "\n",
90
- "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]\n",
90
+ "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).\n",
91
91
  "\n",
92
92
  "In short, for `Vtransform==2` as used in this example, \n",
93
93
  "\n",
@@ -3,8 +3,8 @@
3
3
  Frequently Asked Questions
4
4
  ==========================
5
5
 
6
- .. ipython:: python
7
- :suppress:
6
+ .. jupyter-execute::
7
+ :hide-code:
8
8
 
9
9
  import numpy as np
10
10
  import pandas as pd
@@ -101,7 +101,7 @@ Unfortunately, this means we sometimes have to explicitly cast our results from
101
101
  xarray when using them in other libraries. As an illustration, the following
102
102
  code fragment
103
103
 
104
- .. ipython:: python
104
+ .. jupyter-execute::
105
105
 
106
106
  arr = xr.DataArray([1, 2, 3])
107
107
  pd.Series({"x": arr[0], "mean": arr.mean(), "std": arr.std()})
@@ -109,14 +109,14 @@ code fragment
109
109
  does not yield the pandas DataFrame we expected. We need to specify the type
110
110
  conversion ourselves:
111
111
 
112
- .. ipython:: python
112
+ .. jupyter-execute::
113
113
 
114
114
  pd.Series({"x": arr[0], "mean": arr.mean(), "std": arr.std()}, dtype=float)
115
115
 
116
116
  Alternatively, we could use the ``item`` method or the ``float`` constructor to
117
117
  convert values one at a time
118
118
 
119
- .. ipython:: python
119
+ .. jupyter-execute::
120
120
 
121
121
  pd.Series({"x": arr[0].item(), "mean": float(arr.mean())})
122
122
 
@@ -0,0 +1,104 @@
1
+ Getting Help
2
+ ============
3
+
4
+ Navigating the wealth of resources available for Xarray can be overwhelming.
5
+ We've created this flow chart to help guide you towards the best way to get help, depending on what you're working towards.
6
+
7
+ Also be sure to check out our :ref:`faq`. and :ref:`howdoi` pages for solutions to common questions.
8
+
9
+ A major strength of Xarray is in the user community. Sometimes you might not yet have a concrete question but would simply like to connect with other Xarray users. We have a few accounts on different social platforms for that! :ref:`socials`.
10
+
11
+ We look forward to hearing from you!
12
+
13
+ Help Flowchart
14
+ --------------
15
+ ..
16
+ _comment: mermaid Flowcharg "link" text gets secondary color background, SVG icon fill gets primary color
17
+
18
+ .. raw:: html
19
+
20
+ <style>
21
+ /* Ensure PST link colors don't override mermaid text colors */
22
+ .mermaid a {
23
+ color: white;
24
+ }
25
+ .mermaid a:hover {
26
+ color: magenta;
27
+ text-decoration-color: magenta;
28
+ }
29
+ .mermaid a:visited {
30
+ color: white;
31
+ text-decoration-color: white;
32
+ }
33
+ </style>
34
+
35
+ .. mermaid::
36
+ :config: {"theme":"base","themeVariables":{"fontSize":"20px","primaryColor":"#fff","primaryTextColor":"#fff","primaryBorderColor":"#59c7d6","lineColor":"#e28126","secondaryColor":"#767985"}}
37
+ :alt: Flowchart illustrating the different ways to access help using or contributing to Xarray.
38
+
39
+ flowchart TD
40
+ intro[Welcome to Xarray! How can we help?]:::quesNodefmt
41
+ usage([fa:fa-chalkboard-user <a href="https://tutorial.xarray.dev">Xarray Tutorial</a>
42
+ fab:fa-readme <a href="https://docs.xarray.dev">Xarray Docs</a>
43
+ fab:fa-stack-overflow <a href="https://stackoverflow.com/questions/tagged/python-xarray">Stack Exchange</a>
44
+ fab:fa-google <a href="https://www.google.com">Ask Google</a>
45
+ fa:fa-robot Ask AI ChatBot]):::ansNodefmt
46
+ extensions([Extension docs:
47
+ fab:fa-readme <a href="https://docs.dask.org">Dask</a>
48
+ fab:fa-readme <a href="https://corteva.github.io/rioxarray">Rioxarray</a>]):::ansNodefmt
49
+ help([fab:fa-github <a href="https://github.com/pydata/xarray/discussions">Xarray Discussions</a>
50
+ fab:fa-discord <a href="https://discord.com/invite/wEKPCt4PDu">Xarray Discord</a>
51
+ fa:fa-globe <a href="https://discourse.pangeo.io">Pangeo Discourse</a>]):::ansNodefmt
52
+ bug([Let us know:
53
+ fab:fa-github <a href="https://github.com/pydata/xarray/issues">Xarray Issues</a>]):::ansNodefmt
54
+ contrib([fa:fa-book-open <a href="https://docs.xarray.dev/en/latest/contribute">Xarray Contributor's Guide</a>]):::ansNodefmt
55
+ pr([fab:fa-github <a href="https://github.com/pydata/xarray/pulls">Pull Request</a>]):::ansNodefmt
56
+ dev([fab:fa-github Add PR Comment
57
+ fa:fa-users <a href="https://docs.xarray.dev/en/stable/contribute/developers-meeting.html">Attend Developer's Meeting</a> ]):::ansNodefmt
58
+ report[Thanks for letting us know!]:::quesNodefmt
59
+ merged[fa:fa-hands-clapping Thanks for contributing to Xarray!]:::quesNodefmt
60
+
61
+
62
+ intro -->|How do I use Xarray?| usage
63
+ usage -->|"With extensions (like Dask, Rioxarray, etc.)"| extensions
64
+
65
+ usage -->|I still have questions or could use some guidance | help
66
+ intro -->|I think I found a bug| bug
67
+ bug
68
+ contrib
69
+ bug -->|I just wanted to tell you| report
70
+ bug<-->|I'd like to fix the bug!| contrib
71
+ pr -->|my PR was approved| merged
72
+
73
+
74
+ intro -->|I wish Xarray could...| bug
75
+
76
+
77
+ pr <-->|my PR is quiet| dev
78
+ contrib -->pr
79
+
80
+ classDef quesNodefmt font-size:20pt,fill:#0e4666,stroke:#59c7d6,stroke-width:3
81
+ classDef ansNodefmt font-size:18pt,fill:#4a4a4a,stroke:#17afb4,stroke-width:3
82
+ linkStyle default font-size:16pt,stroke-width:4
83
+
84
+
85
+ Flowchart links
86
+ ---------------
87
+ - `Xarray Tutorials <https://tutorial.xarray.dev/>`__
88
+ - `Xarray Docs <https://docs.xarray.dev>`__
89
+ - `Stack Exchange <https://stackoverflow.com/questions/tagged/python-xarray>`__
90
+ - `Xarray Discussions <https://github.com/pydata/xarray/discussions>`__
91
+ - `Xarray Discord <https://discord.com/invite/wEKPCt4PDu>`__
92
+ - `Xarray Office Hours <https://github.com/pydata/xarray/discussions/categories/office-hours>`__
93
+ - `Pangeo Discourse <https://discourse.pangeo.io/>`__
94
+ - `Xarray Issues <https://github.com/pydata/xarray/issues>`__
95
+ - :ref:`contributing`
96
+ - :ref:`developers-meeting`
97
+
98
+ .. toctree::
99
+ :maxdepth: 1
100
+ :hidden:
101
+
102
+ faq
103
+ howdoi
104
+ socials
@@ -69,7 +69,7 @@ How do I ...
69
69
  - ``obj.dt.month`` for example where ``obj`` is a :py:class:`~xarray.DataArray` containing ``datetime64`` or ``cftime`` values. See :ref:`dt_accessor` for more.
70
70
  * - round off time values to a specified frequency
71
71
  - ``obj.dt.ceil``, ``obj.dt.floor``, ``obj.dt.round``. See :ref:`dt_accessor` for more.
72
- * - make a mask that is ``True`` where an object contains any of the values in a array
72
+ * - make a mask that is ``True`` where an object contains any of the values in an array
73
73
  - :py:meth:`Dataset.isin`, :py:meth:`DataArray.isin`
74
74
  * - Index using a boolean mask
75
75
  - :py:meth:`Dataset.query`, :py:meth:`DataArray.query`, :py:meth:`Dataset.where`, :py:meth:`DataArray.where`
@@ -70,18 +70,25 @@ To avoid duplicated information, this method must omit information about the sha
70
70
  :term:`dtype`. For example, the string representation of a ``dask`` array or a
71
71
  ``sparse`` matrix would be:
72
72
 
73
- .. ipython:: python
73
+ .. jupyter-execute::
74
74
 
75
75
  import dask.array as da
76
76
  import xarray as xr
77
+ import numpy as np
77
78
  import sparse
78
79
 
80
+ .. jupyter-execute::
81
+
79
82
  a = da.linspace(0, 1, 20, chunks=2)
80
83
  a
81
84
 
85
+ .. jupyter-execute::
86
+
82
87
  b = np.eye(10)
83
88
  b[[5, 7, 3, 0], [6, 8, 2, 9]] = 2
84
89
  b = sparse.COO.from_numpy(b)
85
90
  b
86
91
 
92
+ .. jupyter-execute::
93
+
87
94
  xr.Dataset(dict(a=("x", a), b=(("y", "z"), b)))
@@ -4,10 +4,11 @@
4
4
  Extending xarray using accessors
5
5
  ================================
6
6
 
7
- .. ipython:: python
8
- :suppress:
7
+ .. jupyter-execute::
8
+ :hide-code:
9
9
 
10
10
  import xarray as xr
11
+ import numpy as np
11
12
 
12
13
 
13
14
  Xarray is designed as a general purpose library and hence tries to avoid
@@ -89,15 +90,18 @@ reasons:
89
90
 
90
91
  Back in an interactive IPython session, we can use these properties:
91
92
 
92
- .. ipython:: python
93
- :suppress:
93
+ .. jupyter-execute::
94
+ :hide-code:
94
95
 
95
96
  exec(open("examples/_code/accessor_example.py").read())
96
97
 
97
- .. ipython:: python
98
+ .. jupyter-execute::
98
99
 
99
100
  ds = xr.Dataset({"longitude": np.linspace(0, 10), "latitude": np.linspace(0, 20)})
100
101
  ds.geo.center
102
+
103
+ .. jupyter-execute::
104
+
101
105
  ds.geo.plot()
102
106
 
103
107
  The intent here is that libraries that extend xarray could add such an accessor