xarray 2025.1.1__tar.gz → 2025.3.0__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 (396) hide show
  1. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/ci-additional.yaml +6 -6
  2. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/ci.yaml +24 -11
  3. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/pypi-release.yaml +2 -2
  4. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/upstream-dev-ci.yaml +1 -1
  5. {xarray-2025.1.1 → xarray-2025.3.0}/.gitignore +5 -0
  6. {xarray-2025.1.1 → xarray-2025.3.0}/.pre-commit-config.yaml +9 -3
  7. {xarray-2025.1.1/xarray.egg-info → xarray-2025.3.0}/PKG-INFO +21 -17
  8. {xarray-2025.1.1 → xarray-2025.3.0}/README.md +1 -1
  9. {xarray-2025.1.1 → xarray-2025.3.0}/ci/minimum_versions.py +2 -1
  10. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/all-but-dask.yml +2 -1
  11. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/all-but-numba.yml +2 -2
  12. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/bare-minimum.yml +2 -1
  13. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/doc.yml +1 -1
  14. xarray-2025.1.1/ci/requirements/environment-3.13.yml → xarray-2025.3.0/ci/requirements/environment-3.14.yml +14 -2
  15. xarray-2025.1.1/ci/requirements/environment-windows-3.13.yml → xarray-2025.3.0/ci/requirements/environment-windows-3.14.yml +15 -2
  16. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/environment-windows.yml +15 -2
  17. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/environment.yml +14 -2
  18. {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/min-all-deps.yml +2 -1
  19. {xarray-2025.1.1 → xarray-2025.3.0}/conftest.py +19 -1
  20. {xarray-2025.1.1 → xarray-2025.3.0}/doc/api-hidden.rst +51 -49
  21. {xarray-2025.1.1 → xarray-2025.3.0}/doc/api.rst +87 -25
  22. {xarray-2025.1.1 → xarray-2025.3.0}/doc/contributing.rst +2 -2
  23. {xarray-2025.1.1 → xarray-2025.3.0}/doc/ecosystem.rst +1 -0
  24. {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/faq.rst +13 -1
  25. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/chunked-arrays.rst +1 -1
  26. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/index.rst +1 -0
  27. xarray-2025.3.0/doc/internals/time-coding.rst +537 -0
  28. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/zarr-encoding-spec.rst +1 -0
  29. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/data-structures.rst +1 -1
  30. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/io.rst +9 -2
  31. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/pandas.rst +1 -1
  32. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/reshaping.rst +2 -2
  33. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/terminology.rst +1 -1
  34. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/time-series.rst +33 -14
  35. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/weather-climate.rst +24 -20
  36. {xarray-2025.1.1 → xarray-2025.3.0}/doc/whats-new.rst +229 -12
  37. {xarray-2025.1.1 → xarray-2025.3.0}/pyproject.toml +116 -44
  38. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/__init__.py +9 -7
  39. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/api.py +52 -29
  40. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/h5netcdf_.py +40 -2
  41. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/zarr.py +77 -47
  42. xarray-2025.3.0/xarray/coders.py +8 -0
  43. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/calendar_ops.py +1 -1
  44. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/cftime_offsets.py +246 -62
  45. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/cftimeindex.py +66 -28
  46. xarray-2025.3.0/xarray/coding/common.py +136 -0
  47. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/frequencies.py +4 -2
  48. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/times.py +428 -146
  49. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/variables.py +85 -144
  50. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/dask_array_ops.py +14 -39
  51. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/pdcompat.py +7 -9
  52. xarray-2025.1.1/xarray/core/computation.py → xarray-2025.3.0/xarray/computation/apply_ufunc.py +9 -998
  53. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/arithmetic.py +4 -3
  54. xarray-2025.3.0/xarray/computation/computation.py +1030 -0
  55. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/nanops.py +1 -1
  56. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/ops.py +7 -5
  57. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/rolling.py +4 -3
  58. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/rolling_exp.py +2 -2
  59. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/weighted.py +4 -3
  60. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/conventions.py +42 -13
  61. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/_typed_ops.py +2 -1
  62. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/accessor_str.py +1 -1
  63. xarray-2025.3.0/xarray/core/chunk.py +147 -0
  64. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/common.py +41 -18
  65. xarray-2025.3.0/xarray/core/coordinate_transform.py +84 -0
  66. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/coordinates.py +45 -9
  67. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dataarray.py +40 -28
  68. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dataset.py +52 -351
  69. xarray-2025.3.0/xarray/core/dataset_utils.py +91 -0
  70. xarray-2025.3.0/xarray/core/dataset_variables.py +68 -0
  71. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree.py +113 -24
  72. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_io.py +8 -7
  73. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_mapping.py +26 -8
  74. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_render.py +3 -3
  75. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dtypes.py +4 -3
  76. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/duck_array_ops.py +59 -34
  77. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/formatting.py +9 -14
  78. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/formatting_html.py +1 -4
  79. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/groupby.py +79 -22
  80. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/indexes.py +138 -10
  81. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/indexing.py +154 -4
  82. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/missing.py +1 -1
  83. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/nputils.py +1 -1
  84. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/parallel.py +3 -3
  85. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/resample.py +23 -7
  86. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/resample_cftime.py +3 -3
  87. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/treenode.py +3 -3
  88. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/types.py +11 -3
  89. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/utils.py +67 -0
  90. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/variable.py +22 -80
  91. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/groupers.py +11 -8
  92. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/indexes/__init__.py +5 -1
  93. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/core.py +1 -1
  94. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/pycompat.py +11 -2
  95. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/dataarray_plot.py +2 -2
  96. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/dataset_plot.py +1 -1
  97. xarray-2025.3.0/xarray/static/html/__init__.py +0 -0
  98. xarray-2025.3.0/xarray/structure/__init__.py +0 -0
  99. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/alignment.py +1 -1
  100. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/combine.py +21 -11
  101. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/concat.py +5 -5
  102. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/merge.py +29 -6
  103. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/assertions.py +4 -4
  104. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/strategies.py +2 -2
  105. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/__init__.py +68 -18
  106. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/arrays.py +7 -0
  107. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/conftest.py +26 -21
  108. xarray-2025.3.0/xarray/tests/namespace.py +5 -0
  109. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_accessor_dt.py +12 -17
  110. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_array_api.py +2 -0
  111. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends.py +464 -429
  112. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_datatree.py +282 -88
  113. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftime_offsets.py +54 -46
  114. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftimeindex.py +95 -57
  115. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftimeindex_resample.py +16 -8
  116. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coarsen.py +2 -2
  117. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding_times.py +527 -245
  118. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_combine.py +15 -1
  119. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_computation.py +29 -6
  120. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_concat.py +2 -2
  121. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_conventions.py +34 -12
  122. xarray-2025.3.0/xarray/tests/test_coordinate_transform.py +218 -0
  123. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coordinates.py +25 -2
  124. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dataarray.py +27 -10
  125. xarray-2025.3.0/xarray/tests/test_dataarray_typing.yml +190 -0
  126. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dataset.py +65 -24
  127. xarray-2025.3.0/xarray/tests/test_dataset_typing.yml +190 -0
  128. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_datatree.py +77 -18
  129. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_datatree_mapping.py +25 -2
  130. xarray-2025.3.0/xarray/tests/test_datatree_typing.yml +190 -0
  131. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_distributed.py +51 -22
  132. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_duck_array_ops.py +91 -48
  133. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_groupby.py +19 -17
  134. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_indexing.py +13 -0
  135. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_interp.py +13 -12
  136. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_merge.py +3 -2
  137. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_missing.py +21 -11
  138. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_namedarray.py +7 -0
  139. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_plot.py +5 -4
  140. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_plugins.py +3 -3
  141. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_rolling.py +1 -1
  142. xarray-2025.3.0/xarray/tests/test_tutorial.py +45 -0
  143. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_variable.py +145 -160
  144. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_weighted.py +1 -1
  145. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tutorial.py +139 -0
  146. xarray-2025.3.0/xarray/util/__init__.py +0 -0
  147. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/generate_ops.py +2 -1
  148. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/print_versions.py +2 -2
  149. {xarray-2025.1.1 → xarray-2025.3.0/xarray.egg-info}/PKG-INFO +21 -17
  150. {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/SOURCES.txt +33 -18
  151. {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/requires.txt +17 -15
  152. xarray-2025.1.1/xarray/coders.py +0 -10
  153. xarray-2025.1.1/xarray/tests/test_tutorial.py +0 -30
  154. {xarray-2025.1.1 → xarray-2025.3.0}/.binder/environment.yml +0 -0
  155. {xarray-2025.1.1 → xarray-2025.3.0}/.codecov.yml +0 -0
  156. {xarray-2025.1.1 → xarray-2025.3.0}/.git-blame-ignore-revs +0 -0
  157. {xarray-2025.1.1 → xarray-2025.3.0}/.git_archival.txt +0 -0
  158. {xarray-2025.1.1 → xarray-2025.3.0}/.gitattributes +0 -0
  159. {xarray-2025.1.1 → xarray-2025.3.0}/.github/FUNDING.yml +0 -0
  160. {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
  161. {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  162. {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
  163. {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
  164. {xarray-2025.1.1 → xarray-2025.3.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  165. {xarray-2025.1.1 → xarray-2025.3.0}/.github/config.yml +0 -0
  166. {xarray-2025.1.1 → xarray-2025.3.0}/.github/dependabot.yml +0 -0
  167. {xarray-2025.1.1 → xarray-2025.3.0}/.github/release.yml +0 -0
  168. {xarray-2025.1.1 → xarray-2025.3.0}/.github/stale.yml +0 -0
  169. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/benchmarks-last-release.yml +0 -0
  170. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/benchmarks.yml +0 -0
  171. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/configure-testpypi-version.py +0 -0
  172. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/hypothesis.yaml +0 -0
  173. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/nightly-wheels.yml +0 -0
  174. {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/publish-test-results.yaml +0 -0
  175. {xarray-2025.1.1 → xarray-2025.3.0}/.readthedocs.yaml +0 -0
  176. {xarray-2025.1.1 → xarray-2025.3.0}/CITATION.cff +0 -0
  177. {xarray-2025.1.1 → xarray-2025.3.0}/CODE_OF_CONDUCT.md +0 -0
  178. {xarray-2025.1.1 → xarray-2025.3.0}/CONTRIBUTING.md +0 -0
  179. {xarray-2025.1.1 → xarray-2025.3.0}/CORE_TEAM_GUIDE.md +0 -0
  180. {xarray-2025.1.1 → xarray-2025.3.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
  181. {xarray-2025.1.1 → xarray-2025.3.0}/HOW_TO_RELEASE.md +0 -0
  182. {xarray-2025.1.1 → xarray-2025.3.0}/LICENSE +0 -0
  183. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/asv.conf.json +0 -0
  184. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/README_CI.md +0 -0
  185. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/__init__.py +0 -0
  186. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/accessors.py +0 -0
  187. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/alignment.py +0 -0
  188. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/coding.py +0 -0
  189. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/combine.py +0 -0
  190. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
  191. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataset.py +0 -0
  192. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataset_io.py +0 -0
  193. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/datatree.py +0 -0
  194. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/groupby.py +0 -0
  195. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/import.py +0 -0
  196. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/indexing.py +0 -0
  197. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/interp.py +0 -0
  198. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/merge.py +0 -0
  199. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/pandas.py +0 -0
  200. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/polyfit.py +0 -0
  201. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/reindexing.py +0 -0
  202. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/renaming.py +0 -0
  203. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/repr.py +0 -0
  204. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/rolling.py +0 -0
  205. {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/unstacking.py +0 -0
  206. {xarray-2025.1.1 → xarray-2025.3.0}/ci/install-upstream-wheels.sh +0 -0
  207. {xarray-2025.1.1 → xarray-2025.3.0}/ci/release_contributors.py +0 -0
  208. {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/flexible_indexes_notes.md +0 -0
  209. {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/grouper_objects.md +0 -0
  210. {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/named_array_design_doc.md +0 -0
  211. {xarray-2025.1.1 → xarray-2025.3.0}/doc/Makefile +0 -0
  212. {xarray-2025.1.1 → xarray-2025.3.0}/doc/README.rst +0 -0
  213. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/.gitignore +0 -0
  214. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
  215. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/ci.png +0 -0
  216. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/dask-array.svg +0 -0
  217. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/dataset-diagram.png +0 -0
  218. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_api.svg +0 -0
  219. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_contribute.svg +0 -0
  220. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_getting_started.svg +0 -0
  221. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_user_guide.svg +0 -0
  222. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
  223. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
  224. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
  225. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
  226. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
  227. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
  228. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/numfocus_logo.png +0 -0
  229. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/opendap-prism-tmax.png +0 -0
  230. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/style.css +0 -0
  231. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
  232. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
  233. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
  234. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/monthly-means.png +0 -0
  235. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
  236. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
  237. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
  238. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/view-docs.png +0 -0
  239. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor.rst +0 -0
  240. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
  241. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
  242. {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
  243. {xarray-2025.1.1 → xarray-2025.3.0}/doc/combined.json +0 -0
  244. {xarray-2025.1.1 → xarray-2025.3.0}/doc/conf.py +0 -0
  245. {xarray-2025.1.1 → xarray-2025.3.0}/doc/developers-meeting.rst +0 -0
  246. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
  247. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
  248. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/_code/accessor_example.py +0 -0
  249. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
  250. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
  251. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/blank_template.ipynb +0 -0
  252. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/monthly-means.ipynb +0 -0
  253. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/monthly_means_output.png +0 -0
  254. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/multidimensional-coords.ipynb +0 -0
  255. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/visualization_gallery.ipynb +0 -0
  256. {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/weather-data.ipynb +0 -0
  257. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/README.txt +0 -0
  258. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
  259. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_colorbar_center.py +0 -0
  260. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_control_colorbar.py +0 -0
  261. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_lines_from_2d.py +0 -0
  262. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery.rst +0 -0
  263. {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery.yml +0 -0
  264. {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/index.rst +0 -0
  265. {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/installing.rst +0 -0
  266. {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/quick-overview.rst +0 -0
  267. {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/why-xarray.rst +0 -0
  268. {xarray-2025.1.1 → xarray-2025.3.0}/doc/help-diagram.rst +0 -0
  269. {xarray-2025.1.1 → xarray-2025.3.0}/doc/howdoi.rst +0 -0
  270. {xarray-2025.1.1 → xarray-2025.3.0}/doc/index.rst +0 -0
  271. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/duck-arrays-integration.rst +0 -0
  272. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/extending-xarray.rst +0 -0
  273. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/how-to-add-new-backend.rst +0 -0
  274. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/how-to-create-custom-index.rst +0 -0
  275. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/internal-design.rst +0 -0
  276. {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/interoperability.rst +0 -0
  277. {xarray-2025.1.1 → xarray-2025.3.0}/doc/roadmap.rst +0 -0
  278. {xarray-2025.1.1 → xarray-2025.3.0}/doc/tutorials-and-videos.rst +0 -0
  279. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/combining.rst +0 -0
  280. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/computation.rst +0 -0
  281. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/dask.rst +0 -0
  282. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/duckarrays.rst +0 -0
  283. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/groupby.rst +0 -0
  284. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/hierarchical-data.rst +0 -0
  285. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/index.rst +0 -0
  286. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/indexing.rst +0 -0
  287. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/interpolation.rst +0 -0
  288. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/options.rst +0 -0
  289. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/plotting.rst +0 -0
  290. {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/testing.rst +0 -0
  291. {xarray-2025.1.1 → xarray-2025.3.0}/doc/videos.yml +0 -0
  292. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/ANYTREE_LICENSE +0 -0
  293. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/DASK_LICENSE +0 -0
  294. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/ICOMOON_LICENSE +0 -0
  295. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/NUMPY_LICENSE +0 -0
  296. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/PANDAS_LICENSE +0 -0
  297. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/PYTHON_LICENSE +0 -0
  298. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
  299. {xarray-2025.1.1 → xarray-2025.3.0}/licenses/SEABORN_LICENSE +0 -0
  300. {xarray-2025.1.1 → xarray-2025.3.0}/properties/README.md +0 -0
  301. {xarray-2025.1.1 → xarray-2025.3.0}/properties/__init__.py +0 -0
  302. {xarray-2025.1.1 → xarray-2025.3.0}/properties/conftest.py +0 -0
  303. {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_encode_decode.py +0 -0
  304. {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_index_manipulation.py +0 -0
  305. {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_pandas_roundtrip.py +0 -0
  306. {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_properties.py +0 -0
  307. {xarray-2025.1.1 → xarray-2025.3.0}/setup.cfg +0 -0
  308. {xarray-2025.1.1 → xarray-2025.3.0}/setup.py +0 -0
  309. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/__init__.py +0 -0
  310. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/common.py +0 -0
  311. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/file_manager.py +0 -0
  312. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/locks.py +0 -0
  313. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/lru_cache.py +0 -0
  314. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/memory.py +0 -0
  315. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/netCDF4_.py +0 -0
  316. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/netcdf3.py +0 -0
  317. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/plugins.py +0 -0
  318. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/pydap_.py +0 -0
  319. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/scipy_.py +0 -0
  320. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/store.py +0 -0
  321. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/__init__.py +0 -0
  322. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/strings.py +0 -0
  323. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/__init__.py +0 -0
  324. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/array_api_compat.py +0 -0
  325. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/dask_array_compat.py +0 -0
  326. {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/npcompat.py +0 -0
  327. {xarray-2025.1.1/xarray/namedarray → xarray-2025.3.0/xarray/computation}/__init__.py +0 -0
  328. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/convert.py +0 -0
  329. {xarray-2025.1.1/xarray/static → xarray-2025.3.0/xarray/core}/__init__.py +0 -0
  330. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/_aggregations.py +0 -0
  331. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/accessor_dt.py +0 -0
  332. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/extension_array.py +0 -0
  333. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/extensions.py +0 -0
  334. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/options.py +0 -0
  335. {xarray-2025.1.1/xarray/static/css → xarray-2025.3.0/xarray/namedarray}/__init__.py +0 -0
  336. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_aggregations.py +0 -0
  337. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_array_api.py +0 -0
  338. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_typing.py +0 -0
  339. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/daskmanager.py +0 -0
  340. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/dtypes.py +0 -0
  341. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/parallelcompat.py +0 -0
  342. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/utils.py +0 -0
  343. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/__init__.py +0 -0
  344. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/accessor.py +0 -0
  345. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/facetgrid.py +0 -0
  346. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/utils.py +0 -0
  347. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/py.typed +0 -0
  348. {xarray-2025.1.1/xarray/static/html → xarray-2025.3.0/xarray/static}/__init__.py +0 -0
  349. {xarray-2025.1.1/xarray/util → xarray-2025.3.0/xarray/static/css}/__init__.py +0 -0
  350. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/static/css/style.css +0 -0
  351. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/static/html/icons-svg-inline.html +0 -0
  352. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/__init__.py +0 -0
  353. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/bears.nc +0 -0
  354. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.grib +0 -0
  355. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.ict +0 -0
  356. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.uamiv +0 -0
  357. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example_1.nc +0 -0
  358. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example_1.nc.gz +0 -0
  359. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_accessor_str.py +0 -0
  360. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_assertions.py +0 -0
  361. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_api.py +0 -0
  362. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_common.py +0 -0
  363. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_file_manager.py +0 -0
  364. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_locks.py +0 -0
  365. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_lru_cache.py +0 -0
  366. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_calendar_ops.py +0 -0
  367. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding.py +0 -0
  368. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding_strings.py +0 -0
  369. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cupy.py +0 -0
  370. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dask.py +0 -0
  371. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_deprecation_helpers.py +0 -0
  372. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dtypes.py +0 -0
  373. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_duck_array_wrapping.py +0 -0
  374. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_error_messages.py +0 -0
  375. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_extensions.py +0 -0
  376. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_formatting.py +0 -0
  377. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_formatting_html.py +0 -0
  378. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_hashable.py +0 -0
  379. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_indexes.py +0 -0
  380. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_nputils.py +0 -0
  381. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_options.py +0 -0
  382. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_parallelcompat.py +0 -0
  383. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_print_versions.py +0 -0
  384. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_sparse.py +0 -0
  385. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_strategies.py +0 -0
  386. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_treenode.py +0 -0
  387. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_typed_ops.py +0 -0
  388. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_ufuncs.py +0 -0
  389. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_units.py +0 -0
  390. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_utils.py +0 -0
  391. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/ufuncs.py +0 -0
  392. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/deprecation_helpers.py +0 -0
  393. {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/generate_aggregations.py +0 -0
  394. {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/dependency_links.txt +0 -0
  395. {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/entry_points.txt +0 -0
  396. {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/top_level.txt +0 -0
@@ -116,14 +116,14 @@ jobs:
116
116
  python xarray/util/print_versions.py
117
117
  - name: Install mypy
118
118
  run: |
119
- python -m pip install "mypy==1.13" --force-reinstall
119
+ python -m pip install "mypy==1.15" --force-reinstall
120
120
 
121
121
  - name: Run mypy
122
122
  run: |
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.1.2
126
+ uses: codecov/codecov-action@v5.4.0
127
127
  with:
128
128
  file: mypy_report/cobertura.xml
129
129
  flags: mypy
@@ -167,14 +167,14 @@ jobs:
167
167
  python xarray/util/print_versions.py
168
168
  - name: Install mypy
169
169
  run: |
170
- python -m pip install "mypy==1.13" --force-reinstall
170
+ python -m pip install "mypy==1.15" --force-reinstall
171
171
 
172
172
  - name: Run mypy
173
173
  run: |
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.1.2
177
+ uses: codecov/codecov-action@v5.4.0
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.1.2
233
+ uses: codecov/codecov-action@v5.4.0
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.1.2
289
+ uses: codecov/codecov-action@v5.4.0
290
290
  with:
291
291
  file: pyright_report/cobertura.xml
292
292
  flags: pyright39
@@ -47,7 +47,7 @@ jobs:
47
47
  matrix:
48
48
  os: ["ubuntu-latest", "macos-latest", "windows-latest"]
49
49
  # Bookend python versions
50
- python-version: ["3.10", "3.12"]
50
+ python-version: ["3.10", "3.13"]
51
51
  env: [""]
52
52
  include:
53
53
  # Minimum python version:
@@ -59,14 +59,23 @@ jobs:
59
59
  os: ubuntu-latest
60
60
  # Latest python version:
61
61
  - env: "all-but-numba"
62
- python-version: "3.12"
62
+ python-version: "3.13"
63
63
  os: ubuntu-latest
64
64
  - env: "all-but-dask"
65
- # Not 3.12 because of pint
66
- python-version: "3.11"
65
+ python-version: "3.12"
67
66
  os: ubuntu-latest
68
67
  - env: "flaky"
69
- python-version: "3.12"
68
+ python-version: "3.13"
69
+ os: ubuntu-latest
70
+ # The mypy tests must be executed using only 1 process in order to guarantee
71
+ # predictable mypy output messages for comparison to expectations.
72
+ - env: "mypy"
73
+ python-version: "3.10"
74
+ numprocesses: 1
75
+ os: ubuntu-latest
76
+ - env: "mypy"
77
+ python-version: "3.13"
78
+ numprocesses: 1
70
79
  os: ubuntu-latest
71
80
  steps:
72
81
  - uses: actions/checkout@v4
@@ -78,10 +87,10 @@ jobs:
78
87
 
79
88
  if [[ ${{ matrix.os }} == windows* ]] ;
80
89
  then
81
- if [[ ${{ matrix.python-version }} != "3.13" ]]; then
90
+ if [[ ${{ matrix.python-version }} != "3.14" ]]; then
82
91
  echo "CONDA_ENV_FILE=ci/requirements/environment-windows.yml" >> $GITHUB_ENV
83
92
  else
84
- echo "CONDA_ENV_FILE=ci/requirements/environment-windows-3.13.yml" >> $GITHUB_ENV
93
+ echo "CONDA_ENV_FILE=ci/requirements/environment-windows-3.14.yml" >> $GITHUB_ENV
85
94
  fi
86
95
  elif [[ "${{ matrix.env }}" != "" ]] ;
87
96
  then
@@ -89,6 +98,10 @@ jobs:
89
98
  then
90
99
  echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
91
100
  echo "PYTEST_ADDOPTS=-m 'flaky or network' --run-flaky --run-network-tests -W default" >> $GITHUB_ENV
101
+ elif [[ "${{ matrix.env }}" == "mypy" ]] ;
102
+ then
103
+ echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
104
+ echo "PYTEST_ADDOPTS=-n 1 -m 'mypy' --run-mypy -W default" >> $GITHUB_ENV
92
105
  else
93
106
  echo "CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml" >> $GITHUB_ENV
94
107
  fi
@@ -98,10 +111,10 @@ jobs:
98
111
  echo "PYTEST_ADDOPTS=-W default" >> $GITHUB_ENV
99
112
  fi
100
113
  else
101
- if [[ ${{ matrix.python-version }} != "3.13" ]]; then
114
+ if [[ ${{ matrix.python-version }} != "3.14" ]]; then
102
115
  echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
103
116
  else
104
- echo "CONDA_ENV_FILE=ci/requirements/environment-3.13.yml" >> $GITHUB_ENV
117
+ echo "CONDA_ENV_FILE=ci/requirements/environment-3.14.yml" >> $GITHUB_ENV
105
118
  fi
106
119
  fi
107
120
 
@@ -145,7 +158,7 @@ jobs:
145
158
  save-always: true
146
159
 
147
160
  - name: Run tests
148
- run: python -m pytest -n 4
161
+ run: python -m pytest -n ${{ matrix.numprocesses || 4 }}
149
162
  --timeout 180
150
163
  --cov=xarray
151
164
  --cov-report=xml
@@ -159,7 +172,7 @@ jobs:
159
172
  path: pytest.xml
160
173
 
161
174
  - name: Upload code coverage to Codecov
162
- uses: codecov/codecov-action@v5.1.2
175
+ uses: codecov/codecov-action@v5.4.0
163
176
  env:
164
177
  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
165
178
  with:
@@ -88,7 +88,7 @@ jobs:
88
88
  path: dist
89
89
  - name: Publish package to TestPyPI
90
90
  if: github.event_name == 'push'
91
- uses: pypa/gh-action-pypi-publish@v1.12.3
91
+ uses: pypa/gh-action-pypi-publish@v1.12.4
92
92
  with:
93
93
  repository_url: https://test.pypi.org/legacy/
94
94
  verbose: true
@@ -110,6 +110,6 @@ jobs:
110
110
  name: releases
111
111
  path: dist
112
112
  - name: Publish package to PyPI
113
- uses: pypa/gh-action-pypi-publish@v1.12.3
113
+ uses: pypa/gh-action-pypi-publish@v1.12.4
114
114
  with:
115
115
  verbose: true
@@ -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.1.2
143
+ uses: codecov/codecov-action@v5.4.0
144
144
  with:
145
145
  file: mypy_report/cobertura.xml
146
146
  flags: mypy
@@ -81,3 +81,8 @@ doc/team-panel.txt
81
81
  doc/external-examples-gallery.txt
82
82
  doc/notebooks-examples-gallery.txt
83
83
  doc/videos-gallery.txt
84
+
85
+ # Until we support this properly, excluding from gitignore. (adding it to
86
+ # gitignore to make it _easier_ to work with `uv`, not as an indication that I
87
+ # think we shouldn't...)
88
+ uv.lock
@@ -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.8.6
28
+ rev: v0.9.9
29
29
  hooks:
30
30
  - id: ruff-format
31
31
  - id: ruff
@@ -37,12 +37,12 @@ repos:
37
37
  exclude: "generate_aggregations.py"
38
38
  additional_dependencies: ["black==24.8.0"]
39
39
  - repo: https://github.com/rbubley/mirrors-prettier
40
- rev: v3.4.2
40
+ rev: v3.5.3
41
41
  hooks:
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.14.1
45
+ rev: v1.15.0
46
46
  hooks:
47
47
  - id: mypy
48
48
  # Copied from setup.cfg
@@ -73,3 +73,9 @@ repos:
73
73
  hooks:
74
74
  - id: validate-pyproject
75
75
  additional_dependencies: ["validate-pyproject-schema-store[all]"]
76
+ - repo: https://github.com/crate-ci/typos
77
+ rev: dictgen-v0.3.1
78
+ hooks:
79
+ - id: typos
80
+ # https://github.com/crate-ci/typos/issues/347
81
+ pass_filenames: false
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: xarray
3
- Version: 2025.1.1
3
+ Version: 2025.3.0
4
4
  Summary: N-D labeled arrays and datasets in Python
5
5
  Author-email: xarray Developers <xarray@googlegroups.com>
6
6
  License: Apache-2.0
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
21
22
  Classifier: Topic :: Scientific/Engineering
22
23
  Requires-Python: >=3.10
23
24
  Description-Content-Type: text/markdown
@@ -34,20 +35,6 @@ Requires-Dist: flox; extra == "accel"
34
35
  Requires-Dist: opt_einsum; extra == "accel"
35
36
  Provides-Extra: complete
36
37
  Requires-Dist: xarray[accel,etc,io,parallel,viz]; extra == "complete"
37
- Provides-Extra: dev
38
- Requires-Dist: hypothesis; extra == "dev"
39
- Requires-Dist: jinja2; extra == "dev"
40
- Requires-Dist: mypy; extra == "dev"
41
- Requires-Dist: pre-commit; extra == "dev"
42
- Requires-Dist: pytest; extra == "dev"
43
- Requires-Dist: pytest-cov; extra == "dev"
44
- Requires-Dist: pytest-env; extra == "dev"
45
- Requires-Dist: pytest-xdist; extra == "dev"
46
- Requires-Dist: pytest-timeout; extra == "dev"
47
- Requires-Dist: ruff>=0.8.0; extra == "dev"
48
- Requires-Dist: sphinx; extra == "dev"
49
- Requires-Dist: sphinx_autosummary_accessors; extra == "dev"
50
- Requires-Dist: xarray[complete]; extra == "dev"
51
38
  Provides-Extra: io
52
39
  Requires-Dist: netCDF4; extra == "io"
53
40
  Requires-Dist: h5netcdf; extra == "io"
@@ -66,13 +53,30 @@ Requires-Dist: cartopy; extra == "viz"
66
53
  Requires-Dist: matplotlib; extra == "viz"
67
54
  Requires-Dist: nc-time-axis; extra == "viz"
68
55
  Requires-Dist: seaborn; extra == "viz"
56
+ Provides-Extra: types
57
+ Requires-Dist: pandas-stubs; extra == "types"
58
+ Requires-Dist: types-PyYAML; extra == "types"
59
+ Requires-Dist: types-Pygments; extra == "types"
60
+ Requires-Dist: types-colorama; extra == "types"
61
+ Requires-Dist: types-decorator; extra == "types"
62
+ Requires-Dist: types-defusedxml; extra == "types"
63
+ Requires-Dist: types-docutils; extra == "types"
64
+ Requires-Dist: types-networkx; extra == "types"
65
+ Requires-Dist: types-pexpect; extra == "types"
66
+ Requires-Dist: types-psutil; extra == "types"
67
+ Requires-Dist: types-pycurl; extra == "types"
68
+ Requires-Dist: types-openpyxl; extra == "types"
69
+ Requires-Dist: types-python-dateutil; extra == "types"
70
+ Requires-Dist: types-pytz; extra == "types"
71
+ Requires-Dist: types-setuptools; extra == "types"
72
+ Dynamic: license-file
69
73
 
70
74
  # xarray: N-D labeled arrays and datasets
71
75
 
72
76
  [![CI](https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main)](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
73
77
  [![Code coverage](https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests)](https://codecov.io/gh/pydata/xarray)
74
78
  [![Docs](https://readthedocs.org/projects/xray/badge/?version=latest)](https://docs.xarray.dev/)
75
- [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://pandas.pydata.org/speed/xarray/)
79
+ [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://asv-runner.github.io/asv-collection/xarray/)
76
80
  [![Formatted with black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
77
81
  [![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
78
82
  [![Available on pypi](https://img.shields.io/pypi/v/xarray.svg)](https://pypi.python.org/pypi/xarray/)
@@ -3,7 +3,7 @@
3
3
  [![CI](https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main)](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
4
4
  [![Code coverage](https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests)](https://codecov.io/gh/pydata/xarray)
5
5
  [![Docs](https://readthedocs.org/projects/xray/badge/?version=latest)](https://docs.xarray.dev/)
6
- [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://pandas.pydata.org/speed/xarray/)
6
+ [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://asv-runner.github.io/asv-collection/xarray/)
7
7
  [![Formatted with black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
8
8
  [![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
9
9
  [![Available on pypi](https://img.shields.io/pypi/v/xarray.svg)](https://pypi.python.org/pypi/xarray/)
@@ -26,8 +26,9 @@ ignored_packages = [
26
26
  "pytest",
27
27
  "pytest-cov",
28
28
  "pytest-env",
29
- "pytest-xdist",
29
+ "pytest-mypy-plugins",
30
30
  "pytest-timeout",
31
+ "pytest-xdist",
31
32
  "hypothesis",
32
33
  ]
33
34
 
@@ -30,8 +30,9 @@ dependencies:
30
30
  - pytest
31
31
  - pytest-cov
32
32
  - pytest-env
33
- - pytest-xdist
33
+ - pytest-mypy-plugins
34
34
  - pytest-timeout
35
+ - pytest-xdist
35
36
  - rasterio
36
37
  - scipy
37
38
  - seaborn
@@ -12,7 +12,6 @@ dependencies:
12
12
  - cartopy
13
13
  - cftime
14
14
  - dask-core
15
- - dask-expr # dask raises a deprecation warning without this, breaking doctests
16
15
  - distributed
17
16
  - flox
18
17
  - fsspec
@@ -44,8 +43,9 @@ dependencies:
44
43
  - pytest
45
44
  - pytest-cov
46
45
  - pytest-env
47
- - pytest-xdist
46
+ - pytest-mypy-plugins
48
47
  - pytest-timeout
48
+ - pytest-xdist
49
49
  - rasterio
50
50
  - scipy
51
51
  - seaborn
@@ -9,8 +9,9 @@ dependencies:
9
9
  - pytest
10
10
  - pytest-cov
11
11
  - pytest-env
12
- - pytest-xdist
12
+ - pytest-mypy-plugins
13
13
  - pytest-timeout
14
+ - pytest-xdist
14
15
  - numpy=1.24
15
16
  - packaging=23.1
16
17
  - pandas=2.1
@@ -10,7 +10,6 @@ dependencies:
10
10
  - cfgrib
11
11
  - kerchunk
12
12
  - dask-core>=2022.1
13
- - dask-expr
14
13
  - hypothesis>=6.75.8
15
14
  - h5netcdf>=0.13
16
15
  - ipykernel
@@ -31,6 +30,7 @@ dependencies:
31
30
  - pre-commit
32
31
  - pyarrow
33
32
  - pyproj
33
+ - rich # for Zarr tree()
34
34
  - scipy!=1.10.0
35
35
  - seaborn
36
36
  - setuptools
@@ -10,7 +10,6 @@ dependencies:
10
10
  - cartopy
11
11
  - cftime
12
12
  - dask-core
13
- - dask-expr
14
13
  - distributed
15
14
  - flox
16
15
  - fsspec
@@ -30,22 +29,35 @@ dependencies:
30
29
  - opt_einsum
31
30
  - packaging
32
31
  - pandas
32
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
33
33
  # - pint>=0.22
34
34
  - pip
35
35
  - pooch
36
36
  - pre-commit
37
+ - pyarrow # pandas raises a deprecation warning without this, breaking doctests
37
38
  - pydap
38
39
  - pytest
39
40
  - pytest-cov
40
41
  - pytest-env
41
- - pytest-xdist
42
+ - pytest-mypy-plugins
42
43
  - pytest-timeout
44
+ - pytest-xdist
43
45
  - rasterio
44
46
  - scipy
45
47
  - seaborn
46
48
  # - sparse
47
49
  - toolz
50
+ - types-colorama
51
+ - types-docutils
52
+ - types-psutil
53
+ - types-Pygments
54
+ - types-python-dateutil
55
+ - types-pytz
56
+ - types-PyYAML
57
+ - types-setuptools
48
58
  - typing_extensions
49
59
  - zarr
50
60
  - pip:
51
61
  - jax # no way to get cpu-only jaxlib from conda if gpu is present
62
+ - types-defusedxml
63
+ - types-pexpect
@@ -8,7 +8,6 @@ dependencies:
8
8
  - cartopy
9
9
  - cftime
10
10
  - dask-core
11
- - dask-expr
12
11
  - distributed
13
12
  - flox
14
13
  - fsspec
@@ -26,19 +25,33 @@ dependencies:
26
25
  - numpy
27
26
  - packaging
28
27
  - pandas
28
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
29
29
  # - pint>=0.22
30
30
  - pip
31
31
  - pre-commit
32
+ - pyarrow # importing dask.dataframe raises an ImportError without this
32
33
  - pydap
33
34
  - pytest
34
35
  - pytest-cov
35
36
  - pytest-env
36
- - pytest-xdist
37
+ - pytest-mypy-plugins
37
38
  - pytest-timeout
39
+ - pytest-xdist
38
40
  - rasterio
39
41
  - scipy
40
42
  - seaborn
41
43
  # - sparse
42
44
  - toolz
45
+ - types-colorama
46
+ - types-docutils
47
+ - types-psutil
48
+ - types-Pygments
49
+ - types-python-dateutil
50
+ - types-pytz
51
+ - types-PyYAML
52
+ - types-setuptools
43
53
  - typing_extensions
44
54
  - zarr
55
+ - pip:
56
+ - types-defusedxml
57
+ - types-pexpect
@@ -8,7 +8,6 @@ dependencies:
8
8
  - cartopy
9
9
  - cftime
10
10
  - dask-core
11
- - dask-expr
12
11
  - distributed
13
12
  - flox
14
13
  - fsspec
@@ -26,19 +25,33 @@ dependencies:
26
25
  - numpy
27
26
  - packaging
28
27
  - pandas
28
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
29
29
  # - pint>=0.22
30
30
  - pip
31
31
  - pre-commit
32
+ - pyarrow # importing dask.dataframe raises an ImportError without this
32
33
  - pydap
33
34
  - pytest
34
35
  - pytest-cov
35
36
  - pytest-env
36
- - pytest-xdist
37
+ - pytest-mypy-plugins
37
38
  - pytest-timeout
39
+ - pytest-xdist
38
40
  - rasterio
39
41
  - scipy
40
42
  - seaborn
41
43
  - sparse
42
44
  - toolz
45
+ - types-colorama
46
+ - types-docutils
47
+ - types-psutil
48
+ - types-Pygments
49
+ - types-python-dateutil
50
+ - types-pytz
51
+ - types-PyYAML
52
+ - types-setuptools
43
53
  - typing_extensions
44
54
  - zarr
55
+ - pip:
56
+ - types-defusedxml
57
+ - types-pexpect
@@ -10,7 +10,6 @@ dependencies:
10
10
  - cartopy
11
11
  - cftime
12
12
  - dask-core
13
- - dask-expr # dask raises a deprecation warning without this, breaking doctests
14
13
  - distributed
15
14
  - flox
16
15
  - fsspec
@@ -30,6 +29,7 @@ dependencies:
30
29
  - opt_einsum
31
30
  - packaging
32
31
  - pandas
32
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
33
33
  # - pint>=0.22
34
34
  - pip
35
35
  - pooch
@@ -40,14 +40,26 @@ dependencies:
40
40
  - pytest
41
41
  - pytest-cov
42
42
  - pytest-env
43
- - pytest-xdist
43
+ - pytest-mypy-plugins
44
44
  - pytest-timeout
45
+ - pytest-xdist
45
46
  - rasterio
46
47
  - scipy
47
48
  - seaborn
48
49
  - sparse
49
50
  - toolz
51
+ - types-colorama
52
+ - types-docutils
53
+ - types-psutil
54
+ - types-Pygments
55
+ - types-python-dateutil
56
+ - types-pytz
57
+ - types-PyYAML
58
+ - types-setuptools
59
+ - types-openpyxl
50
60
  - typing_extensions
51
61
  - zarr
52
62
  - pip:
53
63
  - jax # no way to get cpu-only jaxlib from conda if gpu is present
64
+ - types-defusedxml
65
+ - types-pexpect
@@ -46,8 +46,9 @@ dependencies:
46
46
  - pytest
47
47
  - pytest-cov
48
48
  - pytest-env
49
- - pytest-xdist
49
+ - pytest-mypy-plugins
50
50
  - pytest-timeout
51
+ - pytest-xdist
51
52
  - rasterio=1.3
52
53
  - scipy=1.11
53
54
  - seaborn=0.13
@@ -3,7 +3,7 @@
3
3
  import pytest
4
4
 
5
5
 
6
- def pytest_addoption(parser):
6
+ def pytest_addoption(parser: pytest.Parser):
7
7
  """Add command-line flags for pytest."""
8
8
  parser.addoption("--run-flaky", action="store_true", help="runs flaky tests")
9
9
  parser.addoption(
@@ -11,6 +11,7 @@ def pytest_addoption(parser):
11
11
  action="store_true",
12
12
  help="runs tests requiring a network connection",
13
13
  )
14
+ parser.addoption("--run-mypy", action="store_true", help="runs mypy tests")
14
15
 
15
16
 
16
17
  def pytest_runtest_setup(item):
@@ -21,6 +22,23 @@ def pytest_runtest_setup(item):
21
22
  pytest.skip(
22
23
  "set --run-network-tests to run test requiring an internet connection"
23
24
  )
25
+ if any("mypy" in m.name for m in item.own_markers) and not item.config.getoption(
26
+ "--run-mypy"
27
+ ):
28
+ pytest.skip("set --run-mypy option to run mypy tests")
29
+
30
+
31
+ # See https://docs.pytest.org/en/stable/example/markers.html#automatically-adding-markers-based-on-test-names
32
+ def pytest_collection_modifyitems(items):
33
+ for item in items:
34
+ if "mypy" in item.nodeid:
35
+ # IMPORTANT: mypy type annotation tests leverage the pytest-mypy-plugins
36
+ # plugin, and are thus written in test_*.yml files. As such, there are
37
+ # no explicit test functions on which we can apply a pytest.mark.mypy
38
+ # decorator. Therefore, we mark them via this name-based, automatic
39
+ # marking approach, meaning that each test case must contain "mypy" in the
40
+ # name.
41
+ item.add_marker(pytest.mark.mypy)
24
42
 
25
43
 
26
44
  @pytest.fixture(autouse=True)