xarray 2025.10.0__tar.gz → 2025.11.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 (438) hide show
  1. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/benchmarks-last-release.yml +1 -1
  2. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/benchmarks.yml +1 -1
  3. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/ci-additional.yaml +1 -0
  4. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/ci.yaml +3 -2
  5. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/hypothesis.yaml +1 -0
  6. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/pypi-release.yaml +4 -4
  7. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/upstream-dev-ci.yaml +1 -0
  8. {xarray-2025.10.0 → xarray-2025.11.0}/.pre-commit-config.yaml +10 -7
  9. {xarray-2025.10.0 → xarray-2025.11.0}/CLAUDE.md +12 -0
  10. {xarray-2025.10.0 → xarray-2025.11.0}/HOW_TO_RELEASE.md +3 -3
  11. {xarray-2025.10.0 → xarray-2025.11.0}/PKG-INFO +3 -3
  12. {xarray-2025.10.0 → xarray-2025.11.0}/README.md +1 -1
  13. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/asv.conf.json +2 -2
  14. xarray-2025.11.0/asv_bench/benchmarks/coarsen.py +47 -0
  15. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/combine.py +16 -0
  16. {xarray-2025.10.0 → xarray-2025.11.0}/ci/install-upstream-wheels.sh +1 -1
  17. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-benchmark.yml +1 -0
  18. {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/flexible_indexes_notes.md +1 -1
  19. {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/contributing.rst +1 -1
  20. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +1 -1
  21. {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/installing.rst +1 -1
  22. {xarray-2025.10.0 → xarray-2025.11.0}/doc/roadmap.rst +0 -9
  23. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/data-structures.rst +2 -2
  24. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/hierarchical-data.rst +2 -2
  25. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/io.rst +178 -0
  26. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/options.rst +1 -1
  27. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/terminology.rst +1 -1
  28. {xarray-2025.10.0 → xarray-2025.11.0}/doc/whats-new.rst +163 -17
  29. {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_encode_decode.py +2 -5
  30. {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_pandas_roundtrip.py +3 -1
  31. {xarray-2025.10.0 → xarray-2025.11.0}/pyproject.toml +2 -1
  32. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/api.py +20 -10
  33. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/h5netcdf_.py +52 -14
  34. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/netCDF4_.py +26 -12
  35. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/pydap_.py +20 -1
  36. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/scipy_.py +14 -5
  37. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/writers.py +2 -2
  38. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/apply_ufunc.py +1 -1
  39. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/computation.py +5 -5
  40. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/weighted.py +0 -2
  41. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/conventions.py +2 -1
  42. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/convert.py +4 -4
  43. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/common.py +4 -12
  44. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataarray.py +17 -16
  45. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset.py +64 -37
  46. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree.py +9 -8
  47. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree_mapping.py +11 -24
  48. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/formatting.py +5 -1
  49. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/formatting_html.py +5 -1
  50. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/indexing.py +8 -4
  51. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/options.py +4 -4
  52. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/resample.py +1 -1
  53. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/treenode.py +6 -10
  54. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/utils.py +42 -4
  55. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/variable.py +25 -15
  56. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/daskmanager.py +6 -0
  57. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/dtypes.py +1 -1
  58. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/parallelcompat.py +32 -1
  59. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/utils.py +106 -1
  60. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/utils.py +12 -17
  61. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/chunks.py +2 -51
  62. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/combine.py +1 -1
  63. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/concat.py +119 -20
  64. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/merge.py +99 -8
  65. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/assertions.py +10 -0
  66. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/strategies.py +58 -32
  67. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/__init__.py +4 -0
  68. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_accessor_str.py +27 -27
  69. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_assertions.py +13 -0
  70. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends.py +184 -11
  71. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_api.py +25 -10
  72. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_datatree.py +4 -2
  73. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_calendar_ops.py +4 -2
  74. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftime_offsets.py +3 -3
  75. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftimeindex.py +19 -19
  76. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coarsen.py +2 -2
  77. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding_times.py +2 -2
  78. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_computation.py +7 -10
  79. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_concat.py +220 -3
  80. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_conventions.py +10 -7
  81. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coordinate_transform.py +4 -4
  82. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coordinates.py +3 -3
  83. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dask.py +15 -0
  84. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataarray.py +178 -64
  85. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataset.py +106 -22
  86. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree.py +11 -7
  87. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree_mapping.py +1 -1
  88. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_distributed.py +5 -5
  89. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_formatting_html.py +39 -1
  90. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_groupby.py +5 -2
  91. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_indexes.py +3 -3
  92. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_indexing.py +1 -1
  93. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_merge.py +93 -0
  94. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_namedarray.py +57 -0
  95. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_nd_point_index.py +1 -1
  96. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_options.py +10 -6
  97. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_parallelcompat.py +1 -1
  98. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_plot.py +19 -16
  99. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_range_index.py +4 -4
  100. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_rolling.py +2 -2
  101. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_units.py +3 -3
  102. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_utils.py +9 -0
  103. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_variable.py +62 -15
  104. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_weighted.py +7 -6
  105. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/PKG-INFO +3 -3
  106. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/SOURCES.txt +1 -0
  107. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/requires.txt +1 -1
  108. {xarray-2025.10.0 → xarray-2025.11.0}/.binder/environment.yml +0 -0
  109. {xarray-2025.10.0 → xarray-2025.11.0}/.codecov.yml +0 -0
  110. {xarray-2025.10.0 → xarray-2025.11.0}/.git-blame-ignore-revs +0 -0
  111. {xarray-2025.10.0 → xarray-2025.11.0}/.git_archival.txt +0 -0
  112. {xarray-2025.10.0 → xarray-2025.11.0}/.gitattributes +0 -0
  113. {xarray-2025.10.0 → xarray-2025.11.0}/.github/FUNDING.yml +0 -0
  114. {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
  115. {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  116. {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
  117. {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
  118. {xarray-2025.10.0 → xarray-2025.11.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  119. {xarray-2025.10.0 → xarray-2025.11.0}/.github/config.yml +0 -0
  120. {xarray-2025.10.0 → xarray-2025.11.0}/.github/dependabot.yml +0 -0
  121. {xarray-2025.10.0 → xarray-2025.11.0}/.github/labeler.yml +0 -0
  122. {xarray-2025.10.0 → xarray-2025.11.0}/.github/release.yml +0 -0
  123. {xarray-2025.10.0 → xarray-2025.11.0}/.github/stale.yml +0 -0
  124. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/configure-testpypi-version.py +0 -0
  125. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/label-prs.yml +0 -0
  126. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/nightly-wheels.yml +0 -0
  127. {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/publish-test-results.yaml +0 -0
  128. {xarray-2025.10.0 → xarray-2025.11.0}/.gitignore +0 -0
  129. {xarray-2025.10.0 → xarray-2025.11.0}/.readthedocs.yaml +0 -0
  130. {xarray-2025.10.0 → xarray-2025.11.0}/CITATION.cff +0 -0
  131. {xarray-2025.10.0 → xarray-2025.11.0}/CODE_OF_CONDUCT.md +0 -0
  132. {xarray-2025.10.0 → xarray-2025.11.0}/CONTRIBUTING.md +0 -0
  133. {xarray-2025.10.0 → xarray-2025.11.0}/CORE_TEAM_GUIDE.md +0 -0
  134. {xarray-2025.10.0 → xarray-2025.11.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
  135. {xarray-2025.10.0 → xarray-2025.11.0}/LICENSE +0 -0
  136. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/README_CI.md +0 -0
  137. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/__init__.py +0 -0
  138. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/accessors.py +0 -0
  139. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/alignment.py +0 -0
  140. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/coding.py +0 -0
  141. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
  142. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataset.py +0 -0
  143. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataset_io.py +0 -0
  144. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/datatree.py +0 -0
  145. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/groupby.py +0 -0
  146. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/import.py +0 -0
  147. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/indexing.py +0 -0
  148. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/interp.py +0 -0
  149. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/merge.py +0 -0
  150. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/pandas.py +0 -0
  151. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/polyfit.py +0 -0
  152. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/reindexing.py +0 -0
  153. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/renaming.py +0 -0
  154. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/repr.py +0 -0
  155. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/rolling.py +0 -0
  156. {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/unstacking.py +0 -0
  157. {xarray-2025.10.0 → xarray-2025.11.0}/ci/policy.yaml +0 -0
  158. {xarray-2025.10.0 → xarray-2025.11.0}/ci/release_contributors.py +0 -0
  159. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/all-but-dask.yml +0 -0
  160. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/all-but-numba.yml +0 -0
  161. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/bare-min-and-scipy.yml +0 -0
  162. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/bare-minimum.yml +0 -0
  163. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/doc.yml +0 -0
  164. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-3.14.yml +0 -0
  165. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-windows-3.14.yml +0 -0
  166. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-windows.yml +0 -0
  167. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment.yml +0 -0
  168. {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/min-all-deps.yml +0 -0
  169. {xarray-2025.10.0 → xarray-2025.11.0}/conftest.py +0 -0
  170. {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/grouper_objects.md +0 -0
  171. {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/named_array_design_doc.md +0 -0
  172. {xarray-2025.10.0 → xarray-2025.11.0}/doc/Makefile +0 -0
  173. {xarray-2025.10.0 → xarray-2025.11.0}/doc/README.rst +0 -0
  174. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/.gitignore +0 -0
  175. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
  176. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/ci.png +0 -0
  177. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/dask-array.svg +0 -0
  178. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/dataset-diagram.png +0 -0
  179. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_api.svg +0 -0
  180. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_contribute.svg +0 -0
  181. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_getting_started.svg +0 -0
  182. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_user_guide.svg +0 -0
  183. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
  184. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
  185. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
  186. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
  187. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
  188. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
  189. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/numfocus_logo.png +0 -0
  190. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/opendap-prism-tmax.png +0 -0
  191. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/style.css +0 -0
  192. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
  193. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
  194. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
  195. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/monthly-means.png +0 -0
  196. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
  197. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
  198. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
  199. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/view-docs.png +0 -0
  200. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor.rst +0 -0
  201. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
  202. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
  203. {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
  204. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/accessors.rst +0 -0
  205. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/advanced.rst +0 -0
  206. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/backends.rst +0 -0
  207. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/coarsen.rst +0 -0
  208. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/coordinates.rst +0 -0
  209. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/dataarray.rst +0 -0
  210. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/dataset.rst +0 -0
  211. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/datatree.rst +0 -0
  212. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/deprecated.rst +0 -0
  213. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/encoding.rst +0 -0
  214. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/exceptions.rst +0 -0
  215. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/groupby.rst +0 -0
  216. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/indexes.rst +0 -0
  217. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/io.rst +0 -0
  218. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/plotting.rst +0 -0
  219. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/resample.rst +0 -0
  220. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/rolling-exp.rst +0 -0
  221. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/rolling.rst +0 -0
  222. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/testing.rst +0 -0
  223. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/top-level.rst +0 -0
  224. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/tutorial.rst +0 -0
  225. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/ufuncs.rst +0 -0
  226. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/weighted.rst +0 -0
  227. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api-hidden.rst +0 -0
  228. {xarray-2025.10.0 → xarray-2025.11.0}/doc/api.rst +0 -0
  229. {xarray-2025.10.0 → xarray-2025.11.0}/doc/badge.json +0 -0
  230. {xarray-2025.10.0 → xarray-2025.11.0}/doc/combined.json +0 -0
  231. {xarray-2025.10.0 → xarray-2025.11.0}/doc/conf.py +0 -0
  232. {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/developers-meeting.rst +0 -0
  233. {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/index.rst +0 -0
  234. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
  235. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
  236. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/_code/accessor_example.py +0 -0
  237. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
  238. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/blank_template.ipynb +0 -0
  239. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/monthly-means.ipynb +0 -0
  240. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/multidimensional-coords.ipynb +0 -0
  241. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/visualization_gallery.ipynb +0 -0
  242. {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/weather-data.ipynb +0 -0
  243. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/README.txt +0 -0
  244. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
  245. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_colorbar_center.py +0 -0
  246. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_control_colorbar.py +0 -0
  247. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_lines_from_2d.py +0 -0
  248. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery.rst +0 -0
  249. {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery.yml +0 -0
  250. {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/faq.rst +0 -0
  251. {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/help-diagram.rst +0 -0
  252. {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/howdoi.rst +0 -0
  253. {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/socials.rst +0 -0
  254. {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/index.rst +0 -0
  255. {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/quick-overview.rst +0 -0
  256. {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
  257. {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/why-xarray.rst +0 -0
  258. {xarray-2025.10.0 → xarray-2025.11.0}/doc/index.rst +0 -0
  259. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/chunked-arrays.rst +0 -0
  260. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/duck-arrays-integration.rst +0 -0
  261. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/extending-xarray.rst +0 -0
  262. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/how-to-add-new-backend.rst +0 -0
  263. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/how-to-create-custom-index.rst +0 -0
  264. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/index.rst +0 -0
  265. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/internal-design.rst +0 -0
  266. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/interoperability.rst +0 -0
  267. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/time-coding.rst +0 -0
  268. {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/zarr-encoding-spec.rst +0 -0
  269. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/combining.rst +0 -0
  270. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/complex-numbers.rst +0 -0
  271. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/computation.rst +0 -0
  272. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/dask.rst +0 -0
  273. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/duckarrays.rst +0 -0
  274. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/ecosystem.rst +0 -0
  275. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/groupby.rst +0 -0
  276. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/index.rst +0 -0
  277. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/indexing.rst +0 -0
  278. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/interpolation.rst +0 -0
  279. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/pandas.rst +0 -0
  280. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/plotting.rst +0 -0
  281. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/reshaping.rst +0 -0
  282. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/testing.rst +0 -0
  283. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/time-series.rst +0 -0
  284. {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/weather-climate.rst +0 -0
  285. {xarray-2025.10.0 → xarray-2025.11.0}/doc/videos.yml +0 -0
  286. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/ANYTREE_LICENSE +0 -0
  287. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/DASK_LICENSE +0 -0
  288. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/ICOMOON_LICENSE +0 -0
  289. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/NUMPY_LICENSE +0 -0
  290. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/PANDAS_LICENSE +0 -0
  291. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/PYTHON_LICENSE +0 -0
  292. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
  293. {xarray-2025.10.0 → xarray-2025.11.0}/licenses/SEABORN_LICENSE +0 -0
  294. {xarray-2025.10.0 → xarray-2025.11.0}/properties/README.md +0 -0
  295. {xarray-2025.10.0 → xarray-2025.11.0}/properties/__init__.py +0 -0
  296. {xarray-2025.10.0 → xarray-2025.11.0}/properties/conftest.py +0 -0
  297. {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_index_manipulation.py +0 -0
  298. {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_properties.py +0 -0
  299. {xarray-2025.10.0 → xarray-2025.11.0}/setup.cfg +0 -0
  300. {xarray-2025.10.0 → xarray-2025.11.0}/setup.py +0 -0
  301. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/__init__.py +0 -0
  302. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/__init__.py +0 -0
  303. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/chunks.py +0 -0
  304. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/common.py +0 -0
  305. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/file_manager.py +0 -0
  306. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/locks.py +0 -0
  307. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/lru_cache.py +0 -0
  308. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/memory.py +0 -0
  309. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/netcdf3.py +0 -0
  310. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/plugins.py +0 -0
  311. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/store.py +0 -0
  312. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/zarr.py +0 -0
  313. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coders.py +0 -0
  314. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/__init__.py +0 -0
  315. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/calendar_ops.py +0 -0
  316. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/cftime_offsets.py +0 -0
  317. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/cftimeindex.py +0 -0
  318. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/common.py +0 -0
  319. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/frequencies.py +0 -0
  320. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/strings.py +0 -0
  321. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/times.py +0 -0
  322. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/variables.py +0 -0
  323. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/__init__.py +0 -0
  324. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/array_api_compat.py +0 -0
  325. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/dask_array_compat.py +0 -0
  326. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/dask_array_ops.py +0 -0
  327. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/npcompat.py +0 -0
  328. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/pdcompat.py +0 -0
  329. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/toolzcompat.py +0 -0
  330. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/__init__.py +0 -0
  331. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/arithmetic.py +0 -0
  332. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/fit.py +0 -0
  333. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/nanops.py +0 -0
  334. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/ops.py +0 -0
  335. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/rolling.py +0 -0
  336. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/rolling_exp.py +0 -0
  337. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/__init__.py +0 -0
  338. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/_aggregations.py +0 -0
  339. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/_typed_ops.py +0 -0
  340. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/accessor_dt.py +0 -0
  341. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/accessor_str.py +0 -0
  342. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/coordinate_transform.py +0 -0
  343. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/coordinates.py +0 -0
  344. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset_utils.py +0 -0
  345. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset_variables.py +0 -0
  346. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree_render.py +0 -0
  347. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dtypes.py +0 -0
  348. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/duck_array_ops.py +0 -0
  349. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/extension_array.py +0 -0
  350. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/extensions.py +0 -0
  351. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/groupby.py +5 -5
  352. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/indexes.py +0 -0
  353. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/missing.py +0 -0
  354. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/nputils.py +0 -0
  355. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/parallel.py +0 -0
  356. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/resample_cftime.py +0 -0
  357. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/types.py +0 -0
  358. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/groupers.py +0 -0
  359. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/__init__.py +0 -0
  360. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/nd_point_index.py +0 -0
  361. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/range_index.py +0 -0
  362. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/__init__.py +0 -0
  363. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_aggregations.py +0 -0
  364. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_array_api.py +0 -0
  365. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_typing.py +0 -0
  366. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/core.py +0 -0
  367. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/pycompat.py +0 -0
  368. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/__init__.py +0 -0
  369. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/accessor.py +0 -0
  370. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/dataarray_plot.py +0 -0
  371. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/dataset_plot.py +0 -0
  372. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/facetgrid.py +0 -0
  373. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/py.typed +0 -0
  374. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/__init__.py +0 -0
  375. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/css/__init__.py +0 -0
  376. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/css/style.css +0 -0
  377. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/html/__init__.py +0 -0
  378. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/html/icons-svg-inline.html +0 -0
  379. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/__init__.py +0 -0
  380. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/alignment.py +0 -0
  381. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/__init__.py +0 -0
  382. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/CLAUDE.md +0 -0
  383. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/arrays.py +0 -0
  384. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/conftest.py +0 -0
  385. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/bears.nc +0 -0
  386. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.grib +0 -0
  387. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.ict +0 -0
  388. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.uamiv +0 -0
  389. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example_1.nc +0 -0
  390. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example_1.nc.gz +0 -0
  391. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/indexes.py +0 -0
  392. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/namespace.py +0 -0
  393. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_accessor_dt.py +0 -0
  394. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_array_api.py +0 -0
  395. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_chunks.py +0 -0
  396. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_common.py +0 -0
  397. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_file_manager.py +0 -0
  398. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_locks.py +0 -0
  399. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_lru_cache.py +0 -0
  400. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftimeindex_resample.py +0 -0
  401. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding.py +0 -0
  402. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding_strings.py +0 -0
  403. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_combine.py +0 -0
  404. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cupy.py +0 -0
  405. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataarray_typing.yml +0 -0
  406. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataset_typing.yml +0 -0
  407. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree_typing.yml +0 -0
  408. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_deprecation_helpers.py +0 -0
  409. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dtypes.py +0 -0
  410. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_duck_array_ops.py +0 -0
  411. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_duck_array_wrapping.py +0 -0
  412. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_error_messages.py +0 -0
  413. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_extensions.py +0 -0
  414. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_formatting.py +0 -0
  415. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_hashable.py +0 -0
  416. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_interp.py +0 -0
  417. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_missing.py +0 -0
  418. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_nputils.py +0 -0
  419. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_pandas_to_xarray.py +0 -0
  420. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_plugins.py +0 -0
  421. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_print_versions.py +0 -0
  422. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_sparse.py +0 -0
  423. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_strategies.py +0 -0
  424. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_treenode.py +0 -0
  425. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_tutorial.py +0 -0
  426. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_typed_ops.py +0 -0
  427. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_ufuncs.py +0 -0
  428. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tutorial.py +0 -0
  429. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/typing.py +0 -0
  430. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/ufuncs.py +0 -0
  431. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/__init__.py +0 -0
  432. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/deprecation_helpers.py +0 -0
  433. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/generate_aggregations.py +0 -0
  434. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/generate_ops.py +0 -0
  435. {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/print_versions.py +0 -0
  436. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/dependency_links.txt +0 -0
  437. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/entry_points.txt +0 -0
  438. {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/top_level.txt +0 -0
@@ -73,7 +73,7 @@ jobs:
73
73
  cp benchmarks/README_CI.md benchmarks.log .asv/results/
74
74
  working-directory: ${{ env.ASV_DIR }}
75
75
 
76
- - uses: actions/upload-artifact@v4
76
+ - uses: actions/upload-artifact@v5
77
77
  if: always()
78
78
  with:
79
79
  name: asv-benchmark-results-${{ runner.os }}
@@ -70,7 +70,7 @@ jobs:
70
70
  cp benchmarks/README_CI.md benchmarks.log .asv/results/
71
71
  working-directory: ${{ env.ASV_DIR }}
72
72
 
73
- - uses: actions/upload-artifact@v4
73
+ - uses: actions/upload-artifact@v5
74
74
  if: always()
75
75
  with:
76
76
  name: asv-benchmark-results-${{ runner.os }}
@@ -22,6 +22,7 @@ jobs:
22
22
  if: |
23
23
  github.repository == 'pydata/xarray'
24
24
  && (github.event_name == 'push' || github.event_name == 'pull_request')
25
+ && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
25
26
  outputs:
26
27
  triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
27
28
  steps:
@@ -22,6 +22,7 @@ jobs:
22
22
  if: |
23
23
  github.repository == 'pydata/xarray'
24
24
  && (github.event_name == 'push' || github.event_name == 'pull_request')
25
+ && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
25
26
  outputs:
26
27
  triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
27
28
  steps:
@@ -167,7 +168,7 @@ jobs:
167
168
 
168
169
  - name: Upload test results
169
170
  if: always()
170
- uses: actions/upload-artifact@v4
171
+ uses: actions/upload-artifact@v5
171
172
  with:
172
173
  name: Test results for ${{ runner.os }}-${{ matrix.python-version }} ${{ matrix.env }}
173
174
  path: pytest.xml
@@ -189,7 +190,7 @@ jobs:
189
190
  if: github.repository == 'pydata/xarray'
190
191
  steps:
191
192
  - name: Upload
192
- uses: actions/upload-artifact@v4
193
+ uses: actions/upload-artifact@v5
193
194
  with:
194
195
  name: Event File
195
196
  path: ${{ github.event_path }}
@@ -21,6 +21,7 @@ jobs:
21
21
  if: |
22
22
  github.repository == 'pydata/xarray'
23
23
  && (github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule')
24
+ && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
24
25
  outputs:
25
26
  triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
26
27
  steps:
@@ -49,7 +49,7 @@ jobs:
49
49
  else
50
50
  echo "✅ Looks good"
51
51
  fi
52
- - uses: actions/upload-artifact@v4
52
+ - uses: actions/upload-artifact@v5
53
53
  with:
54
54
  name: releases
55
55
  path: dist
@@ -62,7 +62,7 @@ jobs:
62
62
  name: Install Python
63
63
  with:
64
64
  python-version: "3.12"
65
- - uses: actions/download-artifact@v5
65
+ - uses: actions/download-artifact@v6
66
66
  with:
67
67
  name: releases
68
68
  path: dist
@@ -89,7 +89,7 @@ jobs:
89
89
  id-token: write
90
90
 
91
91
  steps:
92
- - uses: actions/download-artifact@v5
92
+ - uses: actions/download-artifact@v6
93
93
  with:
94
94
  name: releases
95
95
  path: dist
@@ -112,7 +112,7 @@ jobs:
112
112
  id-token: write
113
113
 
114
114
  steps:
115
- - uses: actions/download-artifact@v5
115
+ - uses: actions/download-artifact@v6
116
116
  with:
117
117
  name: releases
118
118
  path: dist
@@ -25,6 +25,7 @@ jobs:
25
25
  if: |
26
26
  github.repository == 'pydata/xarray'
27
27
  && (github.event_name == 'push' || github.event_name == 'pull_request')
28
+ && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
28
29
  outputs:
29
30
  triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
30
31
  steps:
@@ -24,24 +24,25 @@ repos:
24
24
  - id: rst-inline-touching-normal
25
25
  - id: text-unicode-replacement-char
26
26
  - repo: https://github.com/astral-sh/ruff-pre-commit
27
- rev: v0.12.11
27
+ rev: v0.14.3
28
28
  hooks:
29
29
  - id: ruff-check
30
30
  args: ["--fix", "--show-fixes"]
31
31
  - id: ruff-format
32
32
  - repo: https://github.com/keewis/blackdoc
33
- rev: v0.4.1
33
+ rev: v0.4.5
34
34
  hooks:
35
35
  - id: blackdoc
36
36
  exclude: "generate_aggregations.py"
37
- additional_dependencies: ["black==24.8.0"]
37
+ # make sure this is the most recent version of black
38
+ additional_dependencies: ["black==25.9.0"]
38
39
  - repo: https://github.com/rbubley/mirrors-prettier
39
40
  rev: v3.6.2
40
41
  hooks:
41
42
  - id: prettier
42
- args: [--cache-location=.prettier_cache/cache]
43
+ args: ["--cache-location=.prettier_cache/cache"]
43
44
  - repo: https://github.com/pre-commit/mirrors-mypy
44
- rev: v1.17.1
45
+ rev: v1.18.2
45
46
  hooks:
46
47
  - id: mypy
47
48
  # Copied from setup.cfg
@@ -59,7 +60,7 @@ repos:
59
60
  numpy,
60
61
  ]
61
62
  - repo: https://github.com/citation-file-format/cff-converter-python
62
- rev: ebf0b5e44d67f8beaa1cd13a0d0393ea04c6058d
63
+ rev: 5295f87c0e261da61a7b919fc754e3a77edd98a7
63
64
  hooks:
64
65
  - id: validate-cff
65
66
  - repo: https://github.com/ComPWA/taplo-pre-commit
@@ -67,12 +68,14 @@ repos:
67
68
  hooks:
68
69
  - id: taplo-format
69
70
  args: ["--option", "array_auto_collapse=false"]
71
+ - id: taplo-lint
72
+ args: ["--no-schema"]
70
73
  - repo: https://github.com/abravalheri/validate-pyproject
71
74
  rev: v0.24.1
72
75
  hooks:
73
76
  - id: validate-pyproject
74
77
  additional_dependencies: ["validate-pyproject-schema-store[all]"]
75
78
  - repo: https://github.com/adhtruong/mirrors-typos
76
- rev: v1.35.6
79
+ rev: v1.39.0
77
80
  hooks:
78
81
  - id: typos
@@ -20,6 +20,18 @@ pre-commit run --all-files # Includes ruff and other checks
20
20
  uv run dmypy run # Type checking with mypy
21
21
  ```
22
22
 
23
+ ## Code Style Guidelines
24
+
25
+ ### Import Organization
26
+
27
+ - **Always place imports at the top of the file** in the standard import section
28
+ - Never add imports inside functions or nested scopes unless there's a specific
29
+ reason (e.g., circular import avoidance, optional dependencies in TYPE_CHECKING)
30
+ - Group imports following PEP 8 conventions:
31
+ 1. Standard library imports
32
+ 2. Related third-party imports
33
+ 3. Local application/library specific imports
34
+
23
35
  ## GitHub Interaction Guidelines
24
36
 
25
37
  - **NEVER impersonate the user on GitHub**, always sign off with something like
@@ -78,7 +78,7 @@ upstream https://github.com/pydata/xarray (push)
78
78
  ~~~~~~~~~~~~
79
79
 
80
80
 
81
- Breaking changes
81
+ Breaking Changes
82
82
  ~~~~~~~~~~~~~~~~
83
83
 
84
84
 
@@ -86,7 +86,7 @@ upstream https://github.com/pydata/xarray (push)
86
86
  ~~~~~~~~~~~~
87
87
 
88
88
 
89
- Bug fixes
89
+ Bug Fixes
90
90
  ~~~~~~~~~
91
91
 
92
92
 
@@ -109,7 +109,7 @@ upstream https://github.com/pydata/xarray (push)
109
109
 
110
110
  (Note that repo branch restrictions prevent pushing to `main`, so you have to just-self-merge this.)
111
111
 
112
- 13. Update the version available on pyodide:
112
+ 13. Consider updating the version available on pyodide:
113
113
  - Open the PyPI page for [Xarray downloads](https://pypi.org/project/xarray/#files)
114
114
  - Edit [`packages/xarray/meta.yaml`](https://github.com/pyodide/pyodide-recipes/blob/main/packages/xarray/meta.yaml) to update the
115
115
  - version number
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xarray
3
- Version: 2025.10.0
3
+ Version: 2025.11.0
4
4
  Summary: N-D labeled arrays and datasets in Python
5
5
  Author-email: xarray Developers <xarray@googlegroups.com>
6
6
  License-Expression: Apache-2.0
@@ -48,7 +48,7 @@ Provides-Extra: parallel
48
48
  Requires-Dist: dask[complete]; extra == "parallel"
49
49
  Provides-Extra: viz
50
50
  Requires-Dist: cartopy>=0.23; extra == "viz"
51
- Requires-Dist: matplotlib; extra == "viz"
51
+ Requires-Dist: matplotlib>=3.8; extra == "viz"
52
52
  Requires-Dist: nc-time-axis; extra == "viz"
53
53
  Requires-Dist: seaborn; extra == "viz"
54
54
  Provides-Extra: types
@@ -82,7 +82,7 @@ Dynamic: license-file
82
82
  [![Available on pypi](https://img.shields.io/pypi/v/xarray.svg)](https://pypi.python.org/pypi/xarray/)
83
83
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/xarray)](https://pypistats.org/packages/xarray)
84
84
  [![Conda - Downloads](https://img.shields.io/conda/dn/anaconda/xarray?label=conda%7Cdownloads)](https://anaconda.org/anaconda/xarray)
85
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11183201.svg)](https://doi.org/10.5281/zenodo.11183201)
85
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.598201.svg)](https://doi.org/10.5281/zenodo.598201)
86
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)
87
87
  [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://x.com/xarray_dev)
88
88
  [![image](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydata/xarray/refs/heads/main/doc/badge.json)](https://xarray.dev)
@@ -9,7 +9,7 @@
9
9
  [![Available on pypi](https://img.shields.io/pypi/v/xarray.svg)](https://pypi.python.org/pypi/xarray/)
10
10
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/xarray)](https://pypistats.org/packages/xarray)
11
11
  [![Conda - Downloads](https://img.shields.io/conda/dn/anaconda/xarray?label=conda%7Cdownloads)](https://anaconda.org/anaconda/xarray)
12
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11183201.svg)](https://doi.org/10.5281/zenodo.11183201)
12
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.598201.svg)](https://doi.org/10.5281/zenodo.598201)
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
14
  [![Twitter](https://img.shields.io/twitter/follow/xarray_dev?style=social)](https://x.com/xarray_dev)
15
15
  [![image](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydata/xarray/refs/heads/main/doc/badge.json)](https://xarray.dev)
@@ -29,7 +29,7 @@
29
29
  // If missing or the empty string, the tool will be automatically
30
30
  // determined by looking for tools on the PATH environment
31
31
  // variable.
32
- "environment_type": "mamba",
32
+ "environment_type": "rattler",
33
33
  "conda_channels": ["conda-forge"],
34
34
 
35
35
  // timeout in seconds for installing any dependencies in environment
@@ -76,7 +76,7 @@
76
76
  // https://github.com/airspeed-velocity/asv/issues/1389#issuecomment-2076131185
77
77
  "build_command": [
78
78
  "python -m build",
79
- "python -mpip wheel --no-deps --no-build-isolation --no-index -w {build_cache_dir} {build_dir}"
79
+ "python -m pip wheel --no-deps --no-build-isolation --no-index -w {build_cache_dir} {build_dir}"
80
80
  ],
81
81
  // Combinations of libraries/python versions can be excluded/included
82
82
  // from the set to test. Each entry is a dictionary containing additional
@@ -0,0 +1,47 @@
1
+ import numpy as np
2
+
3
+ import xarray as xr
4
+
5
+ from . import randn
6
+
7
+ # Sizes chosen to test padding optimization
8
+ nx_padded = 4003 # Not divisible by 10 - requires padding
9
+ ny_padded = 4007 # Not divisible by 10 - requires padding
10
+
11
+ nx_exact = 4000 # Divisible by 10 - no padding needed
12
+ ny_exact = 4000 # Divisible by 10 - no padding needed
13
+
14
+ window = 10
15
+
16
+
17
+ class Coarsen:
18
+ def setup(self, *args, **kwargs):
19
+ # Case 1: Requires padding on both dimensions
20
+ self.da_padded = xr.DataArray(
21
+ randn((nx_padded, ny_padded)),
22
+ dims=("x", "y"),
23
+ coords={"x": np.arange(nx_padded), "y": np.arange(ny_padded)},
24
+ )
25
+
26
+ # Case 2: No padding required
27
+ self.da_exact = xr.DataArray(
28
+ randn((nx_exact, ny_exact)),
29
+ dims=("x", "y"),
30
+ coords={"x": np.arange(nx_exact), "y": np.arange(ny_exact)},
31
+ )
32
+
33
+ def time_coarsen_with_padding(self):
34
+ """Coarsen 2D array where both dimensions require padding."""
35
+ self.da_padded.coarsen(x=window, y=window, boundary="pad").mean()
36
+
37
+ def time_coarsen_no_padding(self):
38
+ """Coarsen 2D array where dimensions are exact multiples (no padding)."""
39
+ self.da_exact.coarsen(x=window, y=window, boundary="pad").mean()
40
+
41
+ def peakmem_coarsen_with_padding(self):
42
+ """Peak memory for coarsening with padding on both dimensions."""
43
+ self.da_padded.coarsen(x=window, y=window, boundary="pad").mean()
44
+
45
+ def peakmem_coarsen_no_padding(self):
46
+ """Peak memory for coarsening without padding."""
47
+ self.da_exact.coarsen(x=window, y=window, boundary="pad").mean()
@@ -5,6 +5,22 @@ import xarray as xr
5
5
  from . import requires_dask
6
6
 
7
7
 
8
+ class Concat1d:
9
+ """Benchmark concatenating large datasets"""
10
+
11
+ def setup(self) -> None:
12
+ self.data_arrays = [
13
+ xr.DataArray(data=np.zeros(4 * 1024 * 1024, dtype=np.int8), dims=["x"])
14
+ for _ in range(10)
15
+ ]
16
+
17
+ def time_concat(self) -> None:
18
+ xr.concat(self.data_arrays, dim="x")
19
+
20
+ def peakmem_concat(self) -> None:
21
+ xr.concat(self.data_arrays, dim="x")
22
+
23
+
8
24
  class Combine1d:
9
25
  """Benchmark concatenating and merging large datasets"""
10
26
 
@@ -38,7 +38,7 @@ python -m pip install \
38
38
  pandas \
39
39
  pyarrow
40
40
  # manually install `pint`, `donfig`, and `crc32c` to pull in new dependencies
41
- python -m pip install --upgrade pint donfig crc32c
41
+ python -m pip install --upgrade pint donfig google_crc32c
42
42
  python -m pip install \
43
43
  --no-deps \
44
44
  --upgrade \
@@ -12,6 +12,7 @@ dependencies:
12
12
  - numba
13
13
  - numbagg
14
14
  - numexpr
15
+ - py-rattler
15
16
  - numpy>=2.2,<2.3 # https://github.com/numba/numba/issues/10105
16
17
  - opt_einsum
17
18
  - packaging
@@ -350,7 +350,7 @@ Indexes:
350
350
 
351
351
  To keep the `repr` compact, we could:
352
352
 
353
- - consolidate entries that map to the same index object, and have an short inline repr for `XarrayIndex` object
353
+ - consolidate entries that map to the same index object, and have a short inline repr for `XarrayIndex` object
354
354
  - collapse the index section by default in the HTML `repr`
355
355
  - maybe omit all trivial indexes for 1D coordinates that match the dimension name
356
356
 
@@ -1051,7 +1051,7 @@ Then you can do::
1051
1051
 
1052
1052
  git branch -D shiny-new-feature
1053
1053
 
1054
- You need to use a upper-case ``-D`` because the branch was squashed into a
1054
+ You need to use an upper-case ``-D`` because the branch was squashed into a
1055
1055
  single commit before merging. Be careful with this because ``git`` won't warn
1056
1056
  you if you accidentally delete an unmerged branch.
1057
1057
 
@@ -28,7 +28,7 @@
28
28
  "\n",
29
29
  "### Load data\n",
30
30
  "\n",
31
- "First lets load an example dataset"
31
+ "First let's load an example dataset"
32
32
  ]
33
33
  },
34
34
  {
@@ -28,7 +28,7 @@ For netCDF and IO
28
28
  - `netCDF4 <https://github.com/Unidata/netcdf4-python>`__: recommended if you
29
29
  want to use xarray for reading or writing netCDF files
30
30
  - `scipy <https://scipy.org>`__: used as a fallback for reading/writing netCDF3
31
- - `pydap <https://www.pydap.org>`__: used as a fallback for accessing OPeNDAP
31
+ - `pydap <https://pydap.github.io/pydap/en/intro.html>`__: used as a fallback for accessing OPeNDAP
32
32
  - `h5netcdf <https://github.com/h5netcdf/h5netcdf>`__: an alternative library for
33
33
  reading and writing netCDF4 files that does not use the netCDF-C libraries
34
34
  - `zarr <https://zarr.readthedocs.io>`__: for chunked, compressed, N-dimensional arrays.
@@ -168,10 +168,6 @@ third-party libraries.
168
168
  Flexible storage
169
169
  ~~~~~~~~~~~~~~~~
170
170
 
171
- .. note::
172
- Work on flexible storage backends is currently underway. See
173
- `GH Project #3 <https://github.com/pydata/xarray/projects/3>`__ for more detail.
174
-
175
171
  The xarray backends module has grown in size and complexity. Much of
176
172
  this growth has been "organic" and mostly to support incremental
177
173
  additions to the supported backends. This has left us with a fragile
@@ -250,11 +246,6 @@ many applications and depends on pandas.
250
246
  Engaging more users
251
247
  -------------------
252
248
 
253
- .. note::
254
- Work on improving xarray’s documentation and user engagement is
255
- currently underway. See `GH Project #4 <https://github.com/pydata/xarray/projects/4>`__
256
- for more detail.
257
-
258
249
  Like many open-source projects, the documentation of xarray has grown
259
250
  together with the library's features. While we think that the xarray
260
251
  documentation is comprehensive already, we acknowledge that the adoption
@@ -360,7 +360,7 @@ in the dictionary:
360
360
  Where a pandas object is supplied as a value, the names of its indexes are used as dimension
361
361
  names, and its data is aligned to any existing dimensions.
362
362
 
363
- You can also create an dataset from:
363
+ You can also create a dataset from:
364
364
 
365
365
  - A :py:class:`pandas.DataFrame` or ``pandas.Panel`` along its columns and items
366
366
  respectively, by passing it into the :py:class:`~xarray.Dataset` directly
@@ -559,7 +559,7 @@ nested dict-like containers of both :py:class:`xarray.DataArray`\s and :py:class
559
559
  A single datatree object is known as a "node", and its position relative to
560
560
  other nodes is defined by two more key properties:
561
561
 
562
- - ``children``: An dictionary mapping from names to other :py:class:`~xarray.DataTree`
562
+ - ``children``: A dictionary mapping from names to other :py:class:`~xarray.DataTree`
563
563
  objects, known as its "child nodes".
564
564
  - ``parent``: The single :py:class:`~xarray.DataTree` object whose children this datatree is a
565
565
  member of, known as its "parent node".
@@ -426,7 +426,7 @@ We can use :py:meth:`xarray.DataTree.match` for this:
426
426
  We can also subset trees by the contents of the nodes.
427
427
  :py:meth:`xarray.DataTree.filter` retains only the nodes of a tree that meet a certain condition.
428
428
  For example, we could recreate the Simpson's family tree with the ages of each individual, then filter for only the adults:
429
- First lets recreate the tree but with an ``age`` data variable in every node:
429
+ First let's recreate the tree but with an ``age`` data variable in every node:
430
430
 
431
431
  .. jupyter-execute::
432
432
 
@@ -485,7 +485,7 @@ Operations and Methods on Trees
485
485
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
486
486
 
487
487
  To show how applying operations across a whole tree at once can be useful,
488
- let's first create a example scientific dataset.
488
+ let's first create an example scientific dataset.
489
489
 
490
490
  .. jupyter-execute::
491
491
 
@@ -112,6 +112,182 @@ You can learn more about using and developing backends in the
112
112
  linkStyle default font-size:18pt,stroke-width:4
113
113
 
114
114
 
115
+ .. _io.backend_resolution:
116
+
117
+ Backend Selection
118
+ -----------------
119
+
120
+ When opening a file or URL without explicitly specifying the ``engine`` parameter,
121
+ xarray automatically selects an appropriate backend based on the file path or URL.
122
+ The backends are tried in order: **netcdf4 → h5netcdf → scipy → pydap → zarr**.
123
+
124
+ .. note::
125
+ You can customize the order in which netCDF backends are tried using the
126
+ ``netcdf_engine_order`` option in :py:func:`~xarray.set_options`:
127
+
128
+ .. code-block:: python
129
+
130
+ # Prefer h5netcdf over netcdf4
131
+ xr.set_options(netcdf_engine_order=["h5netcdf", "netcdf4", "scipy"])
132
+
133
+ See :ref:`options` for more details on configuration options.
134
+
135
+ The following tables show which backend will be selected for different types of URLs and files.
136
+
137
+ .. important::
138
+ ✅ means the backend will **guess it can open** the URL or file based on its path, extension,
139
+ or magic number, but this doesn't guarantee success. For example, not all Zarr stores are
140
+ xarray-compatible.
141
+
142
+ ❌ means the backend will not attempt to open it.
143
+
144
+ Remote URL Resolution
145
+ ~~~~~~~~~~~~~~~~~~~~~
146
+
147
+ .. list-table::
148
+ :header-rows: 1
149
+ :widths: 50 10 10 10 10 10
150
+
151
+ * - URL
152
+ - :ref:`netcdf4 <io.netcdf>`
153
+ - :ref:`h5netcdf <io.hdf5>`
154
+ - :ref:`scipy <io.netcdf>`
155
+ - :ref:`pydap <io.opendap>`
156
+ - :ref:`zarr <io.zarr>`
157
+ * - ``https://example.com/store.zarr``
158
+ - ❌
159
+ - ❌
160
+ - ❌
161
+ - ❌
162
+ - ✅
163
+ * - ``https://example.com/data.nc``
164
+ - ✅
165
+ - ✅
166
+ - ❌
167
+ - ❌
168
+ - ❌
169
+ * - ``http://example.com/data.nc?var=temp``
170
+ - ✅
171
+ - ❌
172
+ - ❌
173
+ - ❌
174
+ - ❌
175
+ * - ``http://example.com/dap4/data.nc?var=x``
176
+ - ✅
177
+ - ❌
178
+ - ❌
179
+ - ✅
180
+ - ❌
181
+ * - ``dap2://opendap.nasa.gov/dataset``
182
+ - ❌
183
+ - ❌
184
+ - ❌
185
+ - ✅
186
+ - ❌
187
+ * - ``https://example.com/DAP4/data``
188
+ - ❌
189
+ - ❌
190
+ - ❌
191
+ - ✅
192
+ - ❌
193
+ * - ``http://test.opendap.org/dap4/file.nc4``
194
+ - ✅
195
+ - ✅
196
+ - ❌
197
+ - ✅
198
+ - ❌
199
+ * - ``https://example.com/DAP4/data.nc``
200
+ - ✅
201
+ - ✅
202
+ - ❌
203
+ - ✅
204
+ - ❌
205
+
206
+ Local File Resolution
207
+ ~~~~~~~~~~~~~~~~~~~~~
208
+
209
+ For local files, backends first try to read the file's **magic number** (first few bytes).
210
+ If the magic number **cannot be read** (e.g., file doesn't exist, no permissions), they fall
211
+ back to checking the file **extension**. If the magic number is readable but invalid, the
212
+ backend returns False (does not fall back to extension).
213
+
214
+ .. list-table::
215
+ :header-rows: 1
216
+ :widths: 40 20 10 10 10 10
217
+
218
+ * - File Path
219
+ - Magic Number
220
+ - :ref:`netcdf4 <io.netcdf>`
221
+ - :ref:`h5netcdf <io.hdf5>`
222
+ - :ref:`scipy <io.netcdf>`
223
+ - :ref:`zarr <io.zarr>`
224
+ * - ``/path/to/file.nc``
225
+ - ``CDF\x01`` (netCDF3)
226
+ - ✅
227
+ - ❌
228
+ - ✅
229
+ - ❌
230
+ * - ``/path/to/file.nc4``
231
+ - ``\x89HDF\r\n\x1a\n`` (HDF5/netCDF4)
232
+ - ✅
233
+ - ✅
234
+ - ❌
235
+ - ❌
236
+ * - ``/path/to/file.nc.gz``
237
+ - ``\x1f\x8b`` + ``CDF`` inside
238
+ - ❌
239
+ - ❌
240
+ - ✅
241
+ - ❌
242
+ * - ``/path/to/store.zarr/``
243
+ - (directory)
244
+ - ❌
245
+ - ❌
246
+ - ❌
247
+ - ✅
248
+ * - ``/path/to/file.nc``
249
+ - *(no magic number)*
250
+ - ✅
251
+ - ✅
252
+ - ✅
253
+ - ❌
254
+ * - ``/path/to/file.xyz``
255
+ - ``CDF\x01`` (netCDF3)
256
+ - ✅
257
+ - ❌
258
+ - ✅
259
+ - ❌
260
+ * - ``/path/to/file.xyz``
261
+ - ``\x89HDF\r\n\x1a\n`` (HDF5/netCDF4)
262
+ - ✅
263
+ - ✅
264
+ - ❌
265
+ - ❌
266
+ * - ``/path/to/file.xyz``
267
+ - *(no magic number)*
268
+ - ❌
269
+ - ❌
270
+ - ❌
271
+ - ❌
272
+
273
+ .. note::
274
+ Remote URLs ending in ``.nc`` are **ambiguous**:
275
+
276
+ - They could be netCDF files stored on a remote HTTP server (readable by ``netcdf4`` or ``h5netcdf``)
277
+ - They could be OPeNDAP/DAP endpoints (readable by ``netcdf4`` with DAP support or ``pydap``)
278
+
279
+ These interpretations are fundamentally incompatible. If xarray's automatic
280
+ selection chooses the wrong backend, you must explicitly specify the ``engine`` parameter:
281
+
282
+ .. code-block:: python
283
+
284
+ # Force interpretation as a DAP endpoint
285
+ ds = xr.open_dataset("http://example.com/data.nc", engine="pydap")
286
+
287
+ # Force interpretation as a remote netCDF file
288
+ ds = xr.open_dataset("https://example.com/data.nc", engine="netcdf4")
289
+
290
+
115
291
  .. _io.netcdf:
116
292
 
117
293
  netCDF
@@ -1213,6 +1389,8 @@ See for example : `ncdata usage examples`_
1213
1389
  .. _Ncdata: https://ncdata.readthedocs.io/en/latest/index.html
1214
1390
  .. _ncdata usage examples: https://github.com/pp-mo/ncdata/tree/v0.1.2?tab=readme-ov-file#correct-a-miscoded-attribute-in-iris-input
1215
1391
 
1392
+ .. _io.opendap:
1393
+
1216
1394
  OPeNDAP
1217
1395
  -------
1218
1396