xarray 2024.7.0__tar.gz → 2024.9.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.
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/benchmarks.yml +5 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/ci-additional.yaml +18 -22
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/ci.yaml +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/hypothesis.yaml +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/pypi-release.yaml +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/.pre-commit-config.yaml +6 -5
- {xarray-2024.7.0 → xarray-2024.9.0}/.readthedocs.yaml +2 -2
- {xarray-2024.7.0/xarray.egg-info → xarray-2024.9.0}/PKG-INFO +4 -5
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/dataset_io.py +1 -1
- xarray-2024.9.0/asv_bench/benchmarks/datatree.py +15 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/groupby.py +17 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/rolling.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/install-upstream-wheels.sh +0 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/all-but-dask.yml +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/bare-minimum.yml +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/doc.yml +4 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/environment-windows.yml +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/environment.yml +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/min-all-deps.yml +13 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/design_notes/flexible_indexes_notes.md +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/design_notes/grouper_objects.md +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/design_notes/named_array_design_doc.md +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/api-hidden.rst +0 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/api.rst +2 -0
- xarray-2024.9.0/doc/combined.json +30 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/conf.py +7 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/ecosystem.rst +1 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/getting-started-guide/installing.rst +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/chunked-arrays.rst +2 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/computation.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/dask.rst +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/data-structures.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/duckarrays.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/groupby.rst +34 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/io.rst +53 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/pandas.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/reshaping.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/terminology.rst +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/testing.rst +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/whats-new.rst +89 -3
- xarray-2024.9.0/properties/test_encode_decode.py +45 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/test_pandas_roundtrip.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/pyproject.toml +7 -10
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/api.py +79 -15
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/common.py +18 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/file_manager.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/h5netcdf_.py +42 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/lru_cache.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/netCDF4_.py +42 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/plugins.py +9 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/scipy_.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/zarr.py +30 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/calendar_ops.py +65 -54
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/cftime_offsets.py +77 -37
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/cftimeindex.py +6 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/frequencies.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/times.py +9 -9
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/variables.py +135 -112
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/conventions.py +0 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/_aggregations.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/_typed_ops.py +2 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/accessor_dt.py +42 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/accessor_str.py +4 -4
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/alignment.py +7 -6
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/array_api_compat.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/combine.py +10 -7
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/common.py +31 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/computation.py +31 -21
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/concat.py +5 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/coordinates.py +107 -14
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/dataarray.py +86 -59
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/dataset.py +125 -80
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/datatree.py +161 -117
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/datatree_mapping.py +12 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/datatree_ops.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/datatree_render.py +30 -21
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/dtypes.py +4 -4
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/duck_array_ops.py +9 -33
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/extension_array.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/formatting.py +121 -38
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/formatting_html.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/groupby.py +352 -182
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/indexes.py +15 -10
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/indexing.py +21 -21
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/iterators.py +10 -17
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/merge.py +8 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/missing.py +13 -9
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/nputils.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/options.py +8 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/parallel.py +14 -11
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/resample.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/resample_cftime.py +5 -5
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/rolling.py +9 -7
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/treenode.py +8 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/types.py +31 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/utils.py +17 -37
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/variable.py +44 -39
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/weighted.py +5 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/groupers.py +107 -29
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/_aggregations.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/_typing.py +7 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/core.py +9 -9
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/daskmanager.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/dtypes.py +1 -7
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/parallelcompat.py +6 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/utils.py +3 -7
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/dataarray_plot.py +6 -4
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/dataset_plot.py +4 -4
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/facetgrid.py +16 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/utils.py +25 -12
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/static/css/style.css +7 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/testing/assertions.py +15 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/testing/strategies.py +10 -13
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/__init__.py +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/arrays.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/conftest.py +31 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_accessor_dt.py +56 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_accessor_str.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_array_api.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_assertions.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends.py +121 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends_api.py +7 -5
- xarray-2024.9.0/xarray/tests/test_backends_datatree.py +307 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends_file_manager.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends_lru_cache.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_cftime_offsets.py +92 -43
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_coding.py +2 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_coding_times.py +8 -8
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_combine.py +8 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_computation.py +13 -9
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_concat.py +10 -6
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_conventions.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_coordinates.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_dask.py +21 -14
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_dataarray.py +45 -22
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_dataset.py +105 -28
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_datatree.py +586 -195
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_datatree_mapping.py +5 -6
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_distributed.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_duck_array_ops.py +6 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_extensions.py +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_formatting.py +16 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_formatting_html.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_groupby.py +351 -31
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_indexes.py +4 -2
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_indexing.py +3 -9
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_interp.py +3 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_missing.py +2 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_namedarray.py +24 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_parallelcompat.py +6 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_plot.py +103 -86
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_plugins.py +7 -18
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_rolling.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_strategies.py +3 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_treenode.py +14 -5
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_ufuncs.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_units.py +19 -16
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_utils.py +2 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_variable.py +30 -30
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_weighted.py +1 -1
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/util/deprecation_helpers.py +6 -3
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/util/generate_ops.py +1 -2
- {xarray-2024.7.0 → xarray-2024.9.0/xarray.egg-info}/PKG-INFO +4 -5
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray.egg-info/SOURCES.txt +2 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray.egg-info/requires.txt +2 -2
- xarray-2024.7.0/properties/test_encode_decode.py +0 -52
- xarray-2024.7.0/xarray/tests/test_backends_datatree.py +0 -153
- {xarray-2024.7.0 → xarray-2024.9.0}/.binder/environment.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.codecov.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.git-blame-ignore-revs +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.git_archival.txt +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.gitattributes +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/FUNDING.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/config.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/dependabot.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/release.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/stale.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/benchmarks-last-release.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/nightly-wheels.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/publish-test-results.yaml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.github/workflows/upstream-dev-ci.yaml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.gitignore +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/.pep8speaks.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/CITATION.cff +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/CONTRIBUTING.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/HOW_TO_RELEASE.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/MANIFEST.in +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/README.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/asv.conf.json +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/combine.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/min_deps_check.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/release_contributors.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/environment-3.13.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/ci/requirements/environment-windows-3.13.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/conftest.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/Makefile +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/README.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/.gitignore +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/ci.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/dask_array.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/index_api.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/style.css +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_static/view-docs.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/contributing.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/developers-meeting.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/monthly_means_output.png +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery/README.txt +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/gallery.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/getting-started-guide/faq.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/getting-started-guide/quick-overview.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/help-diagram.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/howdoi.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/index.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/duck-arrays-integration.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/extending-xarray.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/how-to-add-new-backend.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/how-to-create-custom-index.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/index.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/internal-design.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/interoperability.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/internals/zarr-encoding-spec.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/roadmap.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/tutorials-and-videos.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/combining.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/index.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/indexing.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/interpolation.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/options.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/plotting.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/time-series.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/user-guide/weather-climate.rst +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/doc/videos.yml +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/README.md +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/conftest.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/properties/test_properties.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/setup.cfg +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/setup.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/locks.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/memory.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/pydap_.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/backends/store.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/coding/strings.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/convert.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/arithmetic.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/dask_array_ops.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/datatree_io.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/extensions.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/nanops.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/npcompat.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/ops.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/pdcompat.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/core/rolling_exp.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/datatree_/datatree/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/indexes/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/namedarray/pycompat.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/plot/accessor.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/py.typed +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/static/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/testing/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_backends_locks.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_calendar_ops.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_cftimeindex.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_cftimeindex_resample.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_coarsen.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_coding_strings.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_cupy.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_deprecation_helpers.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_dtypes.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_merge.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_options.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_print_versions.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_sparse.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_tutorial.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/tutorial.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/util/__init__.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/util/generate_aggregations.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray/util/print_versions.py +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2024.7.0 → xarray-2024.9.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -5,6 +5,9 @@ on:
|
|
|
5
5
|
types: [opened, reopened, synchronize, labeled]
|
|
6
6
|
workflow_dispatch:
|
|
7
7
|
|
|
8
|
+
env:
|
|
9
|
+
PR_HEAD_LABEL: ${{ github.event.pull_request.head.label }}
|
|
10
|
+
|
|
8
11
|
jobs:
|
|
9
12
|
benchmark:
|
|
10
13
|
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
|
|
@@ -31,7 +34,7 @@ jobs:
|
|
|
31
34
|
# add "build" because of https://github.com/airspeed-velocity/asv/issues/1385
|
|
32
35
|
create-args: >-
|
|
33
36
|
asv
|
|
34
|
-
build
|
|
37
|
+
python-build
|
|
35
38
|
mamba
|
|
36
39
|
|
|
37
40
|
|
|
@@ -49,7 +52,7 @@ jobs:
|
|
|
49
52
|
# ID this runner
|
|
50
53
|
asv machine --yes
|
|
51
54
|
echo "Baseline: ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})"
|
|
52
|
-
echo "Contender: ${GITHUB_SHA} ($
|
|
55
|
+
echo "Contender: ${GITHUB_SHA} ($PR_HEAD_LABEL)"
|
|
53
56
|
# Run benchmarks for current commit against base
|
|
54
57
|
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR"
|
|
55
58
|
asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \
|
|
@@ -123,11 +123,11 @@ jobs:
|
|
|
123
123
|
python xarray/util/print_versions.py
|
|
124
124
|
- name: Install mypy
|
|
125
125
|
run: |
|
|
126
|
-
python -m pip install "mypy
|
|
126
|
+
python -m pip install "mypy" --force-reinstall
|
|
127
127
|
|
|
128
128
|
- name: Run mypy
|
|
129
129
|
run: |
|
|
130
|
-
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
130
|
+
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
131
131
|
|
|
132
132
|
- name: Upload mypy coverage to Codecov
|
|
133
133
|
uses: codecov/codecov-action@v4.5.0
|
|
@@ -138,8 +138,8 @@ jobs:
|
|
|
138
138
|
name: codecov-umbrella
|
|
139
139
|
fail_ci_if_error: false
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
name: Mypy 3.
|
|
141
|
+
mypy-min:
|
|
142
|
+
name: Mypy 3.10
|
|
143
143
|
runs-on: "ubuntu-latest"
|
|
144
144
|
needs: detect-ci-trigger
|
|
145
145
|
defaults:
|
|
@@ -147,7 +147,7 @@ jobs:
|
|
|
147
147
|
shell: bash -l {0}
|
|
148
148
|
env:
|
|
149
149
|
CONDA_ENV_FILE: ci/requirements/environment.yml
|
|
150
|
-
PYTHON_VERSION: "3.
|
|
150
|
+
PYTHON_VERSION: "3.10"
|
|
151
151
|
|
|
152
152
|
steps:
|
|
153
153
|
- uses: actions/checkout@v4
|
|
@@ -177,32 +177,30 @@ jobs:
|
|
|
177
177
|
python xarray/util/print_versions.py
|
|
178
178
|
- name: Install mypy
|
|
179
179
|
run: |
|
|
180
|
-
python -m pip install "mypy
|
|
180
|
+
python -m pip install "mypy" --force-reinstall
|
|
181
181
|
|
|
182
182
|
- name: Run mypy
|
|
183
183
|
run: |
|
|
184
|
-
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
184
|
+
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
185
185
|
|
|
186
186
|
- name: Upload mypy coverage to Codecov
|
|
187
187
|
uses: codecov/codecov-action@v4.5.0
|
|
188
188
|
with:
|
|
189
189
|
file: mypy_report/cobertura.xml
|
|
190
|
-
flags:
|
|
190
|
+
flags: mypy-min
|
|
191
191
|
env_vars: PYTHON_VERSION
|
|
192
192
|
name: codecov-umbrella
|
|
193
193
|
fail_ci_if_error: false
|
|
194
194
|
|
|
195
|
-
|
|
196
|
-
|
|
197
195
|
pyright:
|
|
198
196
|
name: Pyright
|
|
199
197
|
runs-on: "ubuntu-latest"
|
|
200
198
|
needs: detect-ci-trigger
|
|
201
199
|
if: |
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
200
|
+
always()
|
|
201
|
+
&& (
|
|
202
|
+
contains( github.event.pull_request.labels.*.name, 'run-pyright')
|
|
203
|
+
)
|
|
206
204
|
defaults:
|
|
207
205
|
run:
|
|
208
206
|
shell: bash -l {0}
|
|
@@ -254,20 +252,20 @@ jobs:
|
|
|
254
252
|
fail_ci_if_error: false
|
|
255
253
|
|
|
256
254
|
pyright39:
|
|
257
|
-
name: Pyright 3.
|
|
255
|
+
name: Pyright 3.10
|
|
258
256
|
runs-on: "ubuntu-latest"
|
|
259
257
|
needs: detect-ci-trigger
|
|
260
258
|
if: |
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
259
|
+
always()
|
|
260
|
+
&& (
|
|
261
|
+
contains( github.event.pull_request.labels.*.name, 'run-pyright')
|
|
262
|
+
)
|
|
265
263
|
defaults:
|
|
266
264
|
run:
|
|
267
265
|
shell: bash -l {0}
|
|
268
266
|
env:
|
|
269
267
|
CONDA_ENV_FILE: ci/requirements/environment.yml
|
|
270
|
-
PYTHON_VERSION: "3.
|
|
268
|
+
PYTHON_VERSION: "3.10"
|
|
271
269
|
|
|
272
270
|
steps:
|
|
273
271
|
- uses: actions/checkout@v4
|
|
@@ -312,8 +310,6 @@ jobs:
|
|
|
312
310
|
name: codecov-umbrella
|
|
313
311
|
fail_ci_if_error: false
|
|
314
312
|
|
|
315
|
-
|
|
316
|
-
|
|
317
313
|
min-version-policy:
|
|
318
314
|
name: Minimum Version Policy
|
|
319
315
|
runs-on: "ubuntu-latest"
|
|
@@ -47,15 +47,15 @@ jobs:
|
|
|
47
47
|
matrix:
|
|
48
48
|
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
|
|
49
49
|
# Bookend python versions
|
|
50
|
-
python-version: ["3.
|
|
50
|
+
python-version: ["3.10", "3.12"]
|
|
51
51
|
env: [""]
|
|
52
52
|
include:
|
|
53
53
|
# Minimum python version:
|
|
54
54
|
- env: "bare-minimum"
|
|
55
|
-
python-version: "3.
|
|
55
|
+
python-version: "3.10"
|
|
56
56
|
os: ubuntu-latest
|
|
57
57
|
- env: "min-all-deps"
|
|
58
|
-
python-version: "3.
|
|
58
|
+
python-version: "3.10"
|
|
59
59
|
os: ubuntu-latest
|
|
60
60
|
# Latest python version:
|
|
61
61
|
- env: "all-but-dask"
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
if: |
|
|
22
22
|
github.repository == 'pydata/xarray'
|
|
23
|
-
&& (github.event_name == 'push' || github.event_name == 'pull_request')
|
|
23
|
+
&& (github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule')
|
|
24
24
|
outputs:
|
|
25
25
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
26
26
|
steps:
|
|
@@ -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.
|
|
91
|
+
uses: pypa/gh-action-pypi-publish@v1.10.1
|
|
92
92
|
with:
|
|
93
93
|
repository_url: https://test.pypi.org/legacy/
|
|
94
94
|
verbose: true
|
|
@@ -111,6 +111,6 @@ jobs:
|
|
|
111
111
|
name: releases
|
|
112
112
|
path: dist
|
|
113
113
|
- name: Publish package to PyPI
|
|
114
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
114
|
+
uses: pypa/gh-action-pypi-publish@v1.10.1
|
|
115
115
|
with:
|
|
116
116
|
verbose: true
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# https://pre-commit.com/
|
|
2
2
|
ci:
|
|
3
3
|
autoupdate_schedule: monthly
|
|
4
|
+
autoupdate_commit_msg: 'Update pre-commit hooks'
|
|
4
5
|
exclude: 'xarray/datatree_.*'
|
|
5
6
|
repos:
|
|
6
7
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
@@ -13,13 +14,13 @@ repos:
|
|
|
13
14
|
- id: mixed-line-ending
|
|
14
15
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
15
16
|
# Ruff version.
|
|
16
|
-
rev: 'v0.
|
|
17
|
+
rev: 'v0.6.3'
|
|
17
18
|
hooks:
|
|
18
19
|
- id: ruff
|
|
19
20
|
args: ["--fix", "--show-fixes"]
|
|
20
21
|
# https://github.com/python/black#version-control-integration
|
|
21
22
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
22
|
-
rev: 24.
|
|
23
|
+
rev: 24.8.0
|
|
23
24
|
hooks:
|
|
24
25
|
- id: black-jupyter
|
|
25
26
|
- repo: https://github.com/keewis/blackdoc
|
|
@@ -27,10 +28,10 @@ repos:
|
|
|
27
28
|
hooks:
|
|
28
29
|
- id: blackdoc
|
|
29
30
|
exclude: "generate_aggregations.py"
|
|
30
|
-
additional_dependencies: ["black==24.
|
|
31
|
+
additional_dependencies: ["black==24.8.0"]
|
|
31
32
|
- id: blackdoc-autoupdate-black
|
|
32
33
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
33
|
-
rev: v1.
|
|
34
|
+
rev: v1.11.2
|
|
34
35
|
hooks:
|
|
35
36
|
- id: mypy
|
|
36
37
|
# Copied from setup.cfg
|
|
@@ -41,7 +42,7 @@ repos:
|
|
|
41
42
|
additional_dependencies: [
|
|
42
43
|
# Type stubs
|
|
43
44
|
types-python-dateutil,
|
|
44
|
-
types-
|
|
45
|
+
types-setuptools,
|
|
45
46
|
types-PyYAML,
|
|
46
47
|
types-pytz,
|
|
47
48
|
typing-extensions>=4.1.0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xarray
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.9.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
|
|
@@ -15,17 +15,16 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Classifier: Intended Audience :: Science/Research
|
|
16
16
|
Classifier: Programming Language :: Python
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
21
|
Classifier: Topic :: Scientific/Engineering
|
|
23
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.10
|
|
24
23
|
Description-Content-Type: text/markdown
|
|
25
24
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: numpy>=1.
|
|
25
|
+
Requires-Dist: numpy>=1.24
|
|
27
26
|
Requires-Dist: packaging>=23.1
|
|
28
|
-
Requires-Dist: pandas>=2.
|
|
27
|
+
Requires-Dist: pandas>=2.1
|
|
29
28
|
Provides-Extra: accel
|
|
30
29
|
Requires-Dist: scipy; extra == "accel"
|
|
31
30
|
Requires-Dist: bottleneck; extra == "accel"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import xarray as xr
|
|
2
|
+
from xarray.core.datatree import DataTree
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Datatree:
|
|
6
|
+
def setup(self):
|
|
7
|
+
run1 = DataTree.from_dict({"run1": xr.Dataset({"a": 1})})
|
|
8
|
+
self.d_few = {"run1": run1}
|
|
9
|
+
self.d_many = {f"run{i}": xr.Dataset({"a": 1}) for i in range(100)}
|
|
10
|
+
|
|
11
|
+
def time_from_dict_few(self):
|
|
12
|
+
DataTree.from_dict(self.d_few)
|
|
13
|
+
|
|
14
|
+
def time_from_dict_many(self):
|
|
15
|
+
DataTree.from_dict(self.d_many)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# import flox to avoid the cost of first import
|
|
2
|
+
import cftime
|
|
2
3
|
import flox.xarray # noqa
|
|
3
4
|
import numpy as np
|
|
4
5
|
import pandas as pd
|
|
@@ -96,7 +97,7 @@ class GroupByDaskDataFrame(GroupBy):
|
|
|
96
97
|
|
|
97
98
|
requires_dask()
|
|
98
99
|
super().setup(**kwargs)
|
|
99
|
-
self.ds1d = self.ds1d.chunk({"dim_0": 50}).
|
|
100
|
+
self.ds1d = self.ds1d.chunk({"dim_0": 50}).to_dask_dataframe()
|
|
100
101
|
self.ds1d_mean = self.ds1d.groupby("b").mean().compute()
|
|
101
102
|
|
|
102
103
|
def time_binary_op_2d(self):
|
|
@@ -169,7 +170,21 @@ class GroupByLongTime:
|
|
|
169
170
|
def setup(self, use_cftime, use_flox):
|
|
170
171
|
arr = np.random.randn(10, 10, 365 * 30)
|
|
171
172
|
time = xr.date_range("2000", periods=30 * 365, use_cftime=use_cftime)
|
|
172
|
-
|
|
173
|
+
|
|
174
|
+
# GH9426 - deep-copying CFTime object arrays is weirdly slow
|
|
175
|
+
asda = xr.DataArray(time)
|
|
176
|
+
labeled_time = []
|
|
177
|
+
for year, month in zip(asda.dt.year, asda.dt.month, strict=True):
|
|
178
|
+
labeled_time.append(cftime.datetime(year, month, 1))
|
|
179
|
+
|
|
180
|
+
self.da = xr.DataArray(
|
|
181
|
+
arr,
|
|
182
|
+
dims=("y", "x", "time"),
|
|
183
|
+
coords={"time": time, "time2": ("time", labeled_time)},
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
def time_setup(self, use_cftime, use_flox):
|
|
187
|
+
self.da.groupby("time.month")
|
|
173
188
|
|
|
174
189
|
def time_mean(self, use_cftime, use_flox):
|
|
175
190
|
with xr.set_options(use_flox=use_flox):
|
|
@@ -64,7 +64,7 @@ class Rolling:
|
|
|
64
64
|
def time_rolling_np(self, window_, min_periods, use_bottleneck):
|
|
65
65
|
with xr.set_options(use_bottleneck=use_bottleneck):
|
|
66
66
|
self.ds.rolling(x=window_, center=False, min_periods=min_periods).reduce(
|
|
67
|
-
|
|
67
|
+
np.nansum
|
|
68
68
|
).load()
|
|
69
69
|
|
|
70
70
|
@parameterized(
|
|
@@ -3,7 +3,7 @@ channels:
|
|
|
3
3
|
- conda-forge
|
|
4
4
|
- nodefaults
|
|
5
5
|
dependencies:
|
|
6
|
-
- python=3.
|
|
6
|
+
- python=3.10
|
|
7
7
|
- coveralls
|
|
8
8
|
- pip
|
|
9
9
|
- pytest
|
|
@@ -11,6 +11,6 @@ dependencies:
|
|
|
11
11
|
- pytest-env
|
|
12
12
|
- pytest-xdist
|
|
13
13
|
- pytest-timeout
|
|
14
|
-
- numpy=1.
|
|
14
|
+
- numpy=1.24
|
|
15
15
|
- packaging=23.1
|
|
16
|
-
- pandas=2.
|
|
16
|
+
- pandas=2.1
|
|
@@ -4,10 +4,11 @@ channels:
|
|
|
4
4
|
- conda-forge
|
|
5
5
|
- nodefaults
|
|
6
6
|
dependencies:
|
|
7
|
-
- python=3.
|
|
7
|
+
- python=3.12
|
|
8
8
|
- bottleneck
|
|
9
9
|
- cartopy
|
|
10
10
|
- cfgrib
|
|
11
|
+
- kerchunk
|
|
11
12
|
- dask-core>=2022.1
|
|
12
13
|
- dask-expr
|
|
13
14
|
- hypothesis>=6.75.8
|
|
@@ -27,6 +28,7 @@ dependencies:
|
|
|
27
28
|
- pooch
|
|
28
29
|
- pip
|
|
29
30
|
- pre-commit
|
|
31
|
+
- pyarrow
|
|
30
32
|
- pyproj
|
|
31
33
|
- scipy!=1.10.0
|
|
32
34
|
- seaborn
|
|
@@ -38,6 +40,7 @@ dependencies:
|
|
|
38
40
|
- sphinx-design
|
|
39
41
|
- sphinx-inline-tabs
|
|
40
42
|
- sphinx>=5.0
|
|
43
|
+
- sphinx-remove-toctrees
|
|
41
44
|
- sphinxext-opengraph
|
|
42
45
|
- sphinxext-rediraffe
|
|
43
46
|
- zarr>=2.10
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
- numba
|
|
27
27
|
- numbagg
|
|
28
28
|
- numexpr
|
|
29
|
-
- numpy
|
|
29
|
+
- numpy>=2
|
|
30
30
|
- opt_einsum
|
|
31
31
|
- packaging
|
|
32
32
|
- pandas
|
|
@@ -35,7 +35,7 @@ dependencies:
|
|
|
35
35
|
- pooch
|
|
36
36
|
- pre-commit
|
|
37
37
|
- pyarrow # pandas raises a deprecation warning without this, breaking doctests
|
|
38
|
-
|
|
38
|
+
- pydap
|
|
39
39
|
- pytest
|
|
40
40
|
- pytest-cov
|
|
41
41
|
- pytest-env
|
|
@@ -7,39 +7,39 @@ dependencies:
|
|
|
7
7
|
# Run ci/min_deps_check.py to verify that this file respects the policy.
|
|
8
8
|
# When upgrading python, numpy, or pandas, must also change
|
|
9
9
|
# doc/user-guide/installing.rst, doc/user-guide/plotting.rst and setup.py.
|
|
10
|
-
- python=3.
|
|
10
|
+
- python=3.10
|
|
11
11
|
- array-api-strict=1.0 # dependency for testing the array api compat
|
|
12
|
-
- boto3=1.
|
|
12
|
+
- boto3=1.28
|
|
13
13
|
- bottleneck=1.3
|
|
14
|
-
- cartopy=0.
|
|
14
|
+
- cartopy=0.22
|
|
15
15
|
- cftime=1.6
|
|
16
16
|
- coveralls
|
|
17
|
-
- dask-core=2023.
|
|
18
|
-
- distributed=2023.
|
|
17
|
+
- dask-core=2023.9
|
|
18
|
+
- distributed=2023.9
|
|
19
19
|
# Flox > 0.8 has a bug with numbagg versions
|
|
20
20
|
# It will require numbagg > 0.6
|
|
21
21
|
# so we should just skip that series eventually
|
|
22
22
|
# or keep flox pinned for longer than necessary
|
|
23
23
|
- flox=0.7
|
|
24
|
-
- h5netcdf=1.
|
|
24
|
+
- h5netcdf=1.2
|
|
25
25
|
# h5py and hdf5 tend to cause conflicts
|
|
26
26
|
# for e.g. hdf5 1.12 conflicts with h5py=3.1
|
|
27
27
|
# prioritize bumping other packages instead
|
|
28
28
|
- h5py=3.8
|
|
29
29
|
- hdf5=1.12
|
|
30
30
|
- hypothesis
|
|
31
|
-
- iris=3.
|
|
31
|
+
- iris=3.7
|
|
32
32
|
- lxml=4.9 # Optional dep of pydap
|
|
33
33
|
- matplotlib-base=3.7
|
|
34
34
|
- nc-time-axis=1.4
|
|
35
35
|
# netcdf follows a 1.major.minor[.patch] convention
|
|
36
36
|
# (see https://github.com/Unidata/netcdf4-python/issues/1090)
|
|
37
37
|
- netcdf4=1.6.0
|
|
38
|
-
- numba=0.
|
|
38
|
+
- numba=0.57
|
|
39
39
|
- numbagg=0.2.1
|
|
40
|
-
- numpy=1.
|
|
40
|
+
- numpy=1.24
|
|
41
41
|
- packaging=23.1
|
|
42
|
-
- pandas=2.
|
|
42
|
+
- pandas=2.1
|
|
43
43
|
- pint=0.22
|
|
44
44
|
- pip
|
|
45
45
|
- pydap=3.4
|
|
@@ -49,9 +49,9 @@ dependencies:
|
|
|
49
49
|
- pytest-xdist
|
|
50
50
|
- pytest-timeout
|
|
51
51
|
- rasterio=1.3
|
|
52
|
-
- scipy=1.
|
|
52
|
+
- scipy=1.11
|
|
53
53
|
- seaborn=0.12
|
|
54
54
|
- sparse=0.14
|
|
55
55
|
- toolz=0.12
|
|
56
|
-
- typing_extensions=4.
|
|
57
|
-
- zarr=2.
|
|
56
|
+
- typing_extensions=4.7
|
|
57
|
+
- zarr=2.16
|
|
@@ -71,7 +71,7 @@ An `XarrayIndex` subclass must/should/may implement the following properties/met
|
|
|
71
71
|
- a `data` property to access index's data and map it to coordinate data (see [Section 4](#4-indexvariable))
|
|
72
72
|
- a `__getitem__()` implementation to propagate the index through DataArray/Dataset indexing operations
|
|
73
73
|
- `equals()`, `union()` and `intersection()` methods for data alignment (see [Section 2.6](#26-using-indexes-for-data-alignment))
|
|
74
|
-
- Xarray coordinate getters (see [Section 2.2.4](#224-implicit-
|
|
74
|
+
- Xarray coordinate getters (see [Section 2.2.4](#224-implicit-coordinates))
|
|
75
75
|
- a method that may return a new index and that will be called when one of the corresponding coordinates is dropped from the Dataset/DataArray (multi-coordinate indexes)
|
|
76
76
|
- `encode()`/`decode()` methods that would allow storage-agnostic serialization and fast-path reconstruction of the underlying index object(s) (see [Section 2.8](#28-index-encoding))
|
|
77
77
|
- one or more "non-standard" methods or properties that could be leveraged in Xarray 3rd-party extensions like Dataset/DataArray accessors (see [Section 2.7](#27-using-indexes-for-other-purposes))
|
|
@@ -166,7 +166,7 @@ where `|` represents chunk boundaries. A simple rechunking to
|
|
|
166
166
|
```
|
|
167
167
|
000|111122|3333
|
|
168
168
|
```
|
|
169
|
-
would make this resampling reduction an
|
|
169
|
+
would make this resampling reduction an embarrassingly parallel blockwise problem.
|
|
170
170
|
|
|
171
171
|
Similarly consider monthly-mean climatologies for which the month numbers might be
|
|
172
172
|
```
|
|
@@ -529,9 +529,11 @@ Datetimelike properties
|
|
|
529
529
|
DataArray.dt.quarter
|
|
530
530
|
DataArray.dt.days_in_month
|
|
531
531
|
DataArray.dt.daysinmonth
|
|
532
|
+
DataArray.dt.days_in_year
|
|
532
533
|
DataArray.dt.season
|
|
533
534
|
DataArray.dt.time
|
|
534
535
|
DataArray.dt.date
|
|
536
|
+
DataArray.dt.decimal_year
|
|
535
537
|
DataArray.dt.calendar
|
|
536
538
|
DataArray.dt.is_month_start
|
|
537
539
|
DataArray.dt.is_month_end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"refs": {
|
|
4
|
+
".zgroup": "{\"zarr_format\":2}",
|
|
5
|
+
"foo/.zarray": "{\"chunks\":[4,5],\"compressor\":null,\"dtype\":\"<f8\",\"fill_value\":\"NaN\",\"filters\":null,\"order\":\"C\",\"shape\":[4,5],\"zarr_format\":2}",
|
|
6
|
+
"foo/.zattrs": "{\"_ARRAY_DIMENSIONS\":[\"x\",\"y\"],\"coordinates\":\"z\"}",
|
|
7
|
+
"foo/0.0": [
|
|
8
|
+
"saved_on_disk.h5",
|
|
9
|
+
8192,
|
|
10
|
+
160
|
|
11
|
+
],
|
|
12
|
+
"x/.zarray": "{\"chunks\":[4],\"compressor\":null,\"dtype\":\"<i8\",\"fill_value\":null,\"filters\":null,\"order\":\"C\",\"shape\":[4],\"zarr_format\":2}",
|
|
13
|
+
"x/.zattrs": "{\"_ARRAY_DIMENSIONS\":[\"x\"]}",
|
|
14
|
+
"x/0": [
|
|
15
|
+
"saved_on_disk.h5",
|
|
16
|
+
8352,
|
|
17
|
+
32
|
|
18
|
+
],
|
|
19
|
+
"y/.zarray": "{\"chunks\":[5],\"compressor\":null,\"dtype\":\"<i8\",\"fill_value\":null,\"filters\":null,\"order\":\"C\",\"shape\":[5],\"zarr_format\":2}",
|
|
20
|
+
"y/.zattrs": "{\"_ARRAY_DIMENSIONS\":[\"y\"],\"calendar\":\"proleptic_gregorian\",\"units\":\"days since 2000-01-01 00:00:00\"}",
|
|
21
|
+
"y/0": [
|
|
22
|
+
"saved_on_disk.h5",
|
|
23
|
+
8384,
|
|
24
|
+
40
|
|
25
|
+
],
|
|
26
|
+
"z/.zarray": "{\"chunks\":[4],\"compressor\":null,\"dtype\":\"|O\",\"fill_value\":null,\"filters\":[{\"allow_nan\":true,\"check_circular\":true,\"encoding\":\"utf-8\",\"ensure_ascii\":true,\"id\":\"json2\",\"indent\":null,\"separators\":[\",\",\":\"],\"skipkeys\":false,\"sort_keys\":true,\"strict\":true}],\"order\":\"C\",\"shape\":[4],\"zarr_format\":2}",
|
|
27
|
+
"z/0": "[\"a\",\"b\",\"c\",\"d\",\"|O\",[4]]",
|
|
28
|
+
"z/.zattrs": "{\"_ARRAY_DIMENSIONS\":[\"x\"]}"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -88,6 +88,7 @@ extensions = [
|
|
|
88
88
|
"sphinxext.rediraffe",
|
|
89
89
|
"sphinx_design",
|
|
90
90
|
"sphinx_inline_tabs",
|
|
91
|
+
"sphinx_remove_toctrees",
|
|
91
92
|
]
|
|
92
93
|
|
|
93
94
|
|
|
@@ -153,6 +154,9 @@ napoleon_type_aliases = {
|
|
|
153
154
|
"matplotlib colormap name": ":doc:`matplotlib colormap name <matplotlib:gallery/color/colormap_reference>`",
|
|
154
155
|
"matplotlib axes object": ":py:class:`matplotlib axes object <matplotlib.axes.Axes>`",
|
|
155
156
|
"colormap": ":py:class:`colormap <matplotlib.colors.Colormap>`",
|
|
157
|
+
# xarray terms
|
|
158
|
+
"dim name": ":term:`dimension name <name>`",
|
|
159
|
+
"var name": ":term:`variable name <name>`",
|
|
156
160
|
# objects without namespace: xarray
|
|
157
161
|
"DataArray": "~xarray.DataArray",
|
|
158
162
|
"Dataset": "~xarray.Dataset",
|
|
@@ -195,6 +199,8 @@ templates_path = ["_templates", sphinx_autosummary_accessors.templates_path]
|
|
|
195
199
|
# The master toctree document.
|
|
196
200
|
master_doc = "index"
|
|
197
201
|
|
|
202
|
+
remove_from_toctrees = ["generated/*"]
|
|
203
|
+
|
|
198
204
|
# General information about the project.
|
|
199
205
|
project = "xarray"
|
|
200
206
|
copyright = f"2014-{datetime.datetime.now().year}, xarray Developers"
|
|
@@ -241,6 +247,7 @@ html_theme_options = dict(
|
|
|
241
247
|
repository_url="https://github.com/pydata/xarray",
|
|
242
248
|
repository_branch="main",
|
|
243
249
|
navigation_with_keys=False, # pydata/pydata-sphinx-theme#1492
|
|
250
|
+
navigation_depth=4,
|
|
244
251
|
path_to_docs="doc",
|
|
245
252
|
use_edit_page_button=True,
|
|
246
253
|
use_repository_button=True,
|
|
@@ -17,6 +17,7 @@ Geosciences
|
|
|
17
17
|
- `climpred <https://climpred.readthedocs.io>`_: Analysis of ensemble forecast models for climate prediction.
|
|
18
18
|
- `geocube <https://corteva.github.io/geocube>`_: Tool to convert geopandas vector data into rasterized xarray data.
|
|
19
19
|
- `GeoWombat <https://github.com/jgrss/geowombat>`_: Utilities for analysis of remotely sensed and gridded raster data at scale (easily tame Landsat, Sentinel, Quickbird, and PlanetScope).
|
|
20
|
+
- `grib2io <https://github.com/NOAA-MDL/grib2io>`_: Utility to work with GRIB2 files including an xarray backend, DASK support for parallel reading in open_mfdataset, lazy loading of data, editing of GRIB2 attributes and GRIB2IO DataArray attrs, and spatial interpolation and reprojection of GRIB2 messages and GRIB2IO Datasets/DataArrays for both grid to grid and grid to stations.
|
|
20
21
|
- `gsw-xarray <https://github.com/DocOtak/gsw-xarray>`_: a wrapper around `gsw <https://teos-10.github.io/GSW-Python>`_ that adds CF compliant attributes when possible, units, name.
|
|
21
22
|
- `infinite-diff <https://github.com/spencerahill/infinite-diff>`_: xarray-based finite-differencing, focused on gridded climate/meteorology data
|
|
22
23
|
- `marc_analysis <https://github.com/darothen/marc_analysis>`_: Analysis package for CESM/MARC experiments and output.
|
|
@@ -6,10 +6,10 @@ Installation
|
|
|
6
6
|
Required dependencies
|
|
7
7
|
---------------------
|
|
8
8
|
|
|
9
|
-
- Python (3.
|
|
9
|
+
- Python (3.10 or later)
|
|
10
10
|
- `numpy <https://www.numpy.org/>`__ (1.23 or later)
|
|
11
|
-
- `packaging <https://packaging.pypa.io/en/latest/#>`__ (
|
|
12
|
-
- `pandas <https://pandas.pydata.org/>`__ (
|
|
11
|
+
- `packaging <https://packaging.pypa.io/en/latest/#>`__ (23.1 or later)
|
|
12
|
+
- `pandas <https://pandas.pydata.org/>`__ (2.0 or later)
|
|
13
13
|
|
|
14
14
|
.. _optional-dependencies:
|
|
15
15
|
|