home / github

Menu
  • Search all tables
  • GraphQL API

commits

Table actions
  • GraphQL API for commits

2,469 rows where raw_committer = "cd792325681cbad9f663f2879d8b69f1edbb678f" sorted by author_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: author_date (date), committer_date (date)

author >30

  • max-sixty 260
  • dcherian 246
  • shoyer 242
  • keewis 232
  • Illviljan 144
  • mathause 111
  • TomNicholas 78
  • pre-commit-ci[bot] 68
  • headtr1ck 64
  • dependabot[bot] 53
  • spencerkclark 47
  • andersy005 45
  • crusaderky 37
  • benbovy 36
  • kmuehlbauer 34
  • fujiisoup 33
  • fmaussion 31
  • raybellwaves 26
  • aurghs 24
  • alexamici 21
  • github-actions[bot] 20
  • jhamman 15
  • malmans2 12
  • hmaarrfk 11
  • johnomotani 11
  • aaronspring 9
  • tomwhite 8
  • delgadom 8
  • gcaria 8
  • pierreloicq 7
  • …

repo 1

  • xarray 2,469
sha message author_date ▲ committer_date raw_author raw_committer repo author committer
aaa778cffb89baaece31882e03a7f4af0adfe798 call `np.cross` with 3D vectors only (#8993) * convert the expected parameters to arrays * manually zero-pad to avoid calling `np.cross` with 2D vectors 2024-05-03T15:22:25Z 2024-05-03T15:22:25Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
c2cd1dd27fa0723f498c9cbe758cce413f6d91bd Mark `test_use_cftime_false_standard_calendar_in_range` as an expected failure (#8996) 2024-05-03T15:21:48Z 2024-05-03T15:21:48Z Spencer Clark f04422bfa03dadc75fab6ce64de238fbe48f5be4 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 spencerkclark 6628425 web-flow 19864447
f5ae623f892af6c8bc6e14b8796d84e3b978eb5f Migration of datatree/ops.py -> datatree_ops.py (#8976) * DAS-2065: direct migration of datatree/ops.py -> datatree_ops.py I considered wedging this into core/ops.py, but the datatree/ops.py stuff is kind of spread into core/ops.py and generated_aggregations.py. * DAS-2065: doc tweak * DAS-2065: Fix leading space in docstrings These are the only docstring that have a leading space and that was causing problems injecting the map_over_subtree information in the Datatree doc strings. * DAS-2065: Puts the docstring addendum as second paragraph This works on most of the docstrings. The DatasetOpsMixin functions (round, argsorg, conj and conjugate) have different format and this gets inserted after the name (which is non standard in most docs) but before the description. * DAS-2065: Change doc search to named captures just for clarity. * DAS-2065: Additonal update to make the addendum a Note Just syntactic sugar to make that work * DAS-2065: Adds tests to doc_addendum * DAS-2065: Add credits * DAS-2065: Adds types 2024-05-02T19:49:39Z 2024-05-02T19:49:39Z Matt Savoie 42ea05f8aa9996484bed750967fbd11bb65740ca GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 flamingbear 479480 web-flow 19864447
748bb3a328a65416022ec44ced8d461f143081b5 avoid a couple of warnings in `polyfit` (#8939) * use `numpy.finfo` instead of `numpy.core.finfo` * add `copy` to the signature of `__array__` * don't pass `copy` to `asarray` The `copy` kwarg appears to only exist in `numpy>=2`. * try making the typing the same for all overloads * change the typing for `NamedArray.__array__` * fix the signature of `__array__` * revert the change to the signature of `__array__` * ignore all deprecation warnings about `__array__` gaining a new kwarg I don't know enough about typing to ignore typing issues within a protocol, so that was the only way I could figure out how to get this PR unstuck. Once we know what to do here, we can remove the ignore in a new PR. * add back the `copy` kwarg if the protocol does not have type hints * Update xarray/core/dataset.py --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-05-01T15:34:20Z 2024-05-01T15:34:20Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
bfcb0a7a97ee83d6fb93e67ef7a5127b59135464 clean up the upstream-dev setup script (#8986) * try not to build `numcodecs` in CI [skip-ci] [skip-rtd] * don't remove `numcodecs` from the upstream-dev environment * also don't remove `pint`, it's not in the environment at the moment * [skip-ci][skip-rtd] * don't build `bottleneck` without build isolation `bottleneck` uses the release candidate on PyPI to build `numpy>=2` compatible wheels. * also build `cftime` without build isolation (same as `bottleneck`: it builds against `numpy>=2.0.0rc1`) * remove the build-deps * [skip-ci][skip-rtd] * try removing the upstream-dev build of `pyarrow` [skip-ci][skip-rtd] Supposedly `pyarrow>=16.0` is compatible with `numpy>=2`, but I don't know whether the version on `conda-forge` is built against the release candidate of `numpy`. * Revert "try removing the upstream-dev build of `pyarrow`" [skip-ci][skip-rtd] This reverts commit 48a656f0ead2271446c7e56a699782f3d91fe169. 2024-04-30T20:59:56Z 2024-04-30T20:59:56Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
7f99f9eaa062e81e0d36428cfe80e2ad7d24442d Skip flaky `test_open_mfdataset_manyfiles` test (#8989) * Skip flaky `test_open_mfdataset_manyfiles` test Don't just xfail, and not only on windows, since it can crash the worked * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-04-30T19:46:34Z 2024-04-30T19:46:34Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
0d6662ec5f7f2068058da8977117e71bf7ca4102 Remove `.drop` warning allow (#8988) 2024-04-30T19:26:16Z 2024-04-30T19:26:16Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
4aa5e47b1bff98d728a0211ea49c88adf098dfb3 Add notes on when to add ignores to warnings (#8987) * Add notes on when to add ignores to warnings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-04-30T14:56:45Z 2024-04-30T14:56:45Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
71372c1bfcdf2de7c15c0ef8ab2315b7f482497b Docstring and documentation improvement for the Dataset class (#8973) * Updates the example in the doc-string for the Dataset class to be clearer. The example in the doc-string of the `Dataset` class prior to this commit uses an example array whose size is `2 x 2 x 3` with the first two dimensions labeled `"x"` and `"y"` and the final dimension labeled `"time"`. This was confusing due to the fact that `"x"` and `"y"` are just arbitrary names for these axes and that no reason is given for the data to be organized in a `2x2x3` array instead of a `2x2` matrix. This commit clarifies the example. See issue #8970 for more information. * Updates the documentation of the Dataset class to have clearer examples. These changes to the documentation bring it into alignment with the changes to the `Dataset` doc-string committed previously. See issue #8970 for more information. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Adds dataset size reports to the output of the example in the Dataset docstring. * Fixes the documentation errors in the previous commits. * Fixes indentation errors in the docs for previous commits. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> 2024-04-30T14:40:14Z 2024-04-30T14:40:14Z Noah C. Benson c5620c42058629f2c9ce0fa9622b362a705ba360 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 noahbenson 2005723 web-flow 19864447
08e43b9121a6ae1f59e5c6b84caa327d816ea777 Switch all methods to `dim` (#8982) * Switch all methods to `dim` 2024-04-29T18:24:54Z 2024-04-29T18:24:54Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
fa8e90c6c61ec65b25ca6fffde582e820619ed36 CI: python 3.12 by default. (#8969) * CI: python 3.12 by default. Now that numba supports 3.12. * limit flaky test run * More flaky marks * Use PYTEST_ADDOPTS * More Nio cleanup * cleanup * disable pint * More bumps * Ignore pint if not installed * skip mypy bump 2024-04-29T16:21:08Z 2024-04-29T16:21:08Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
a05fe82a16a29234d9e3c6f1cab550e5e7a34034 more engine environment tricks in preparation for `numpy>=2` (#8978) * build-deps for numcodecs * temporarily remove `pydap` from the upstream-dev CI * try adding back `h5netcdf` * skip h5netcdf ros3 tests if h5py was compiled without support for ros3 * invert the condition * also invert the other condition * replace `numpy.core.defchararray.add` with `numpy.strings.add` * use `numpy.char.add` instead `numpy.strings` exists since `numpy>=2` 2024-04-29T14:56:21Z 2024-04-29T14:56:21Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
36a9cbc483208d7884a94abce5abdd0b48155297 Raise errors on new warnings from within xarray (#8974) * Raise an error on new warnings from within xarray 2024-04-29T02:50:20Z 2024-04-29T02:50:20Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
214d9417eb525ff10cc3ef90d9838fc42eef5b64 Option to not auto-create index during expand_dims (#8960) * test expand_dims doesn't create Index * add option to not create 1D index in expand_dims * refactor tests to consider data variables and coordinate variables separately * fix bug causing new test to fail * test index auto-creation when iterable passed as new coordinate values * make test for iterable pass * added kwarg to dataarray * whatsnew * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update tests to use private versions of assertions * create_1d_index->create_index * Update doc/whats-new.rst Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * warn if create_index=True but no index created because dimension variable was a data var not a coord * add string marks in warning message --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-04-27T16:48:24Z 2024-04-27T16:48:24Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447
d7edbd754627ecdcfb4de1e061126f37add248c6 Bump dependencies incl `pandas>=2` (#8968) * Bump dependencies incl `pandas>=2` * fix whats-new * fix whats-new again * clean up test * bump h5py and hdf5 * Skip hdf5 * one more cleanup 2024-04-27T14:17:16Z 2024-04-27T14:17:16Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
6d62719061f7b9cbed3ea01c4adf2ce89c4f015f Migrate datatreee assertions/extensions/formatting (#8967) * DAS-2067 - Migrate formatting.py. * DAS-2067 - Migrate datatree/extensions.py. * DAS-2067 - Migrate datatree/tests/test_dataset_api.py. * DAS-2067 - Migrate datatree_render.py. * DAS-2067 - Migrate DataTree assertions into xarray/testing/assertions.py. * DAS-2067 - Update doc/whats-new.rst. * DAS-2067 - Fix doctests for DataTreeRender.by_attr. * DAS-2067 - Fix comments in doctests examples for datatree_render. * DAS-2067 - Implement PR feedback, fix RenderDataTree.__str__. * DAS-2067 - Add overload for xarray.testing.assert_equal and xarray.testing.assert_identical. * DAS-2067 - Remove out-of-date comments. * Remove test of printing datatree --------- Co-authored-by: Tom Nicholas <tom@cworthy.org> 2024-04-26T17:29:18Z 2024-04-26T17:29:18Z owenlittlejohns 6c581bdbf41fe5f5a5d04a6978c243a59e08dde5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 owenlittlejohns 7788154 web-flow 19864447
8a23e249d44b6e677600244efed4491a2749db73 Delete pynio backend. (#8971) * Delete pynio backend. * cleanup test * fix whats-new 2024-04-25T14:23:59Z 2024-04-25T14:23:59Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
b0036749542145794244dee4c4869f3750ff2dee stop pruning datatree_ directory from distribution (#8953) * DAS-2108: stop pruning datatree_ directory Quick fixup of some typing. Removes mypy exclusions for datatree_ * Include only code files in distribution package. * Update pyproject.toml exclude docs from mypy tests Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * Update MANIFEST.in try again to include just code from datatree_ Co-authored-by: Justus Magin <keewis@users.noreply.github.com> --------- Co-authored-by: Justus Magin <keewis@users.noreply.github.com> 2024-04-23T15:35:20Z 2024-04-23T15:35:20Z Matt Savoie 46cf48b5af7321b105dc898c43b2548281653f73 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 flamingbear 479480 web-flow 19864447
5a35ca42d5372980c6cf5ccb6c6767324dee5ebf use `nan` instead of `NaN` (#8961) 2024-04-21T22:01:03Z 2024-04-21T22:01:03Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
5f24079ddaeb0bb16a039d091cbd48710aca4915 Migrate formatting_html.py into xarray core (#8930) * DAS-2066: formatting_html.py merge * Revert "DAS-2066: formatting_html.py merge" oopsies This reverts commit d68ae3c823bbbe26c918605a388464b5ba2309c2. * Adding datatree functions to core * Deleted formatting_html.py and test_formatting_html.py in datatree_ * renamed all of the relevant functions so they represent datatree * added comment for mypy * added dict[any, any] as type hint for children * added dict[Any, Any] as type hint for children * updated typhint to dict[str, DataTree] and increased pixel min width to 700 * replaced Any with DataTree * added type checking * DAS-2066 - Incorporate CSS changes for DataTree display. * DAS-2066 - Fix tests. --------- Co-authored-by: Owen Littlejohns <owen.m.littlejohns@nasa.gov> Co-authored-by: Matt Savoie <matthew.savoie@colorado.edu> 2024-04-18T21:59:44Z 2024-04-18T21:59:44Z Eni 5d2e8bb0cd1e89c917fbc1547d76ed84a27f9199 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 eni-awowale 51421921 web-flow 19864447
9eb180b7b3df869c21518a17c6fa9eb456551d21 (feat): Support for `pandas` `ExtensionArray` (#8723) * (feat): first pass supporting extension arrays * (feat): categorical tests + functionality * (feat): use multiple dispatch for unimplemented ops * (feat): implement (not really) broadcasting * (chore): add more `groupby` tests * (fix): fix more groupby incompatibility * (bug): fix unused categories * (chore): refactor dispatched methods + tests * (fix): shared type should check for extension arrays first and then fall back to numpy * (refactor): tests moved * (chore): more higher level tests * (feat): to/from dataframe * (chore): check for plum import * (fix): `__setitem__`/`__getitem__` * (chore): disallow stacking * (fix): `pyproject.toml` * (fix): `as_shared_type` fix * (chore): add variable tests * (fix): dask + categoricals * (chore): notes/docs * (chore): remove old testing file * (chore): remove ocmmented out code * (fix): import plum dispatch * (refactor): use `is_extension_array_dtype` as much as possible * (refactor): `extension_array`->`array` + move to `indexing` * (refactor): change order of classes * (chore): add small pyarrow test * (fix): fix some mypy issues * (fix): don't register unregisterable method * (fix): appease mypy * (fix): more sensible default implemetations allow most use without `plum` * (fix): handling `pyarrow` tests * (fix): actually do import correctly * (fix): `reduce` condition * (fix): column ordering for dataframes * (refactor): remove encoding business * (refactor): raise error for dask + extension array * (fix): only wrap `ExtensionDuckArray` that has a `.array` which is a pandas extension array * (fix): use duck array equality method, not pandas * (refactor): bye plum! * (fix): `and` to `or` for casting to `ExtensionDuckArray` * (fix): check for class, not type * (fix): only support native endianness * (refactor): no need for superfluous checks in `_maybe_wrap_data` * (chore): clean up … 2024-04-18T12:52:02Z 2024-04-18T12:52:02Z Ilan Gold 628a88b0211aad47f30b31f5adb0b22d725df025 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 ilan-gold 43999641 web-flow 19864447
60f3e741d463840de8409fb4c6cec41de7f7ce05 Migrate datatree mapping.py (#8948) * DAS-2064: rename/relocate mapping.py -> xarray.core.datatree_mapping.py DAS-2064: fix circular import issue. * DAS-2064 - Minor changes to datatree_mapping.py. --------- Co-authored-by: Matt Savoie <matthew.savoie@colorado.edu> 2024-04-17T19:59:34Z 2024-04-17T19:59:34Z owenlittlejohns 6c581bdbf41fe5f5a5d04a6978c243a59e08dde5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 owenlittlejohns 7788154 web-flow 19864447
9a37053114d9950d6ca09a1ac0ded40eca521778 Add mypy to dev dependencies (#8947) 2024-04-17T16:39:22Z 2024-04-17T16:39:22Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
239309f881ba0d7e02280147bc443e6e286e6a63 Convert 360_day calendars by choosing random dates to drop or add (#8603) * Convert 360 calendar randomly * add note to whats new * add pull number to whats new entry * run pre-commit * Change test to use recommended freq * Apply suggestions from code review Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * Fix merge - remove rng arg --------- Co-authored-by: Spencer Clark <spencerkclark@gmail.com> 2024-04-16T14:53:41Z 2024-04-16T14:53:41Z Pascal Bourgault 1d034fe7dd29aa4ee8f495244b86d415186e3785 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 aulemahal 20629530 web-flow 19864447
2b2de81ba55a6b302fc4a5d174d7c2b2f05ca9d4 Bump codecov/codecov-action from 4.2.0 to 4.3.0 in the actions group (#8943) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-04-15T19:16:37Z 2024-04-15T19:16:37Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
b004af5174a4b0e32519df792a4f625d5548a9f0 Correct save_mfdataset docstring (#8934) * correct docstring * get type hint right 2024-04-14T11:14:42Z 2024-04-14T11:14:42Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447
af085283024472d7e5c7f653eb1786791cf6afc7 adapt more tests to the copy-on-write behavior of pandas (#8940) * mirror the `Dataset` `copy_coords` test * avoid modifying the values of a `pandas` series 2024-04-13T14:44:50Z 2024-04-13T14:44:50Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
aa08785265265c270ff2450812e1cefc1cd2124f use `pd.to_timedelta` instead of `TimedeltaIndex` (#8938) 2024-04-13T12:32:13Z 2024-04-13T12:32:13Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
e481094a0c18f26360c69155052bede88de4c2d2 MAINT: use sphinxext-rediraffe conda install (#8936) * MAINT: use sphinxext-rediraffe conda install * Update doc.yml 2024-04-13T02:53:47Z 2024-04-13T02:53:47Z Ray Bell 751b554e2dccba83039abd4029194118be22dc24 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 raybellwaves 17162724 web-flow 19864447
1d43672574332615f225089d69f95a9f8d81d912 Migrate iterators.py for datatree. (#8879) * Migrate iterators.py for datatree. * Add __future__.annotations for Python 3.9. * Fix documentation typo in GitHub URL. * Improve type hints and documentation strings. * Fix DataTree docstring examples. * Add anytree license. * DAS-2063: Changes to use just LevelOrderIter * Minor whitespace tweaks. --------- Co-authored-by: Matt Savoie <matthew.savoie@colorado.edu> 2024-04-11T15:28:24Z 2024-04-11T15:28:24Z owenlittlejohns 6c581bdbf41fe5f5a5d04a6978c243a59e08dde5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 owenlittlejohns 7788154 web-flow 19864447
0bc686c178a749d7997e2630246fa9f8b0f319d3 Enhance the ugly error in constructor when no data passed (#8920) * Enhance the ugly error in constructor when no data passed * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix mypy issues * Get unpacked data to be used downstream --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-04-10T22:46:53Z 2024-04-10T22:46:53Z Aimilios Tsouvelekakis 7ba3e1cf7a1309f988c6f63bc70dfbd86437e21a GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 aimtsou 2598924 web-flow 19864447
a07e16c5aa6f938853584d1c725feca02fa65167 Add typing to some functions in indexing.py (#8922) * Add typing * Update indexing.py 2024-04-10T18:05:52Z 2024-04-10T18:05:52Z Illviljan c5362e87613121ea0418cdbe594f0d6e78f076ad GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 Illviljan 14371165 web-flow 19864447
07c7f969fe879af7a871374209957d5cd1ddb5aa Bump codecov/codecov-action from 4.1.1 to 4.2.0 in the actions group (#8918) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-04-08T16:31:11Z 2024-04-08T16:31:11Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
3c98570d3c622bd0982f7f8915366fbbbc70ca83 Update hypothesis action to always save the cache (#8913) * Update hypothesis actions * fix path * try again * try again 2024-04-05T16:51:03Z 2024-04-05T16:51:03Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
5bcbf7058bb40b1e94f636ab16e25653b42b5a0f Add typing to test_plot.py (#8889) * Update pyproject.toml * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * Update test_plot.py * raise ValueError if too many dims are requested --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-04-05T16:42:26Z 2024-04-05T16:42:26Z Illviljan c5362e87613121ea0418cdbe594f0d6e78f076ad GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 Illviljan 14371165 web-flow 19864447
56182f73c56bc619a18a9ee707ef6c19d54c58a2 Don't access data when creating DataArray from Variable. (#8754) * Don't access data when creating DataArray from Variable. Closes #8573 * Fix DataArray * Fix test * Add comment 2024-04-04T16:46:53Z 2024-04-04T16:46:53Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
40b3f2ca926f5c13045cc1a430fa226e96dc3728 Trigger hypothesis stateful tests nightly (#8907) 2024-04-04T02:17:47Z 2024-04-04T02:17:47Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
40afd30405d0614f780a228777b780232bd8780c Stateful tests with Dataset (#8658) * Stateful tests with Dataset * Disable check_default_indexes when needed * Add Zarr roundtrip * Randomize dimension choice * Fix a bug * Add reset_index * Add stack, unstack * [revert] Disable Zarr till we control attrs strategy * Try making unique names * Share names strategy to ensure uniques? * cleanup * Try sharing strategies better * Fix endianness * Better swap_dims * More improvements * WIP * Drop duplicates before unstacking * Add reset_index * Better duplicate assumption * Move * Fix reset_index * Skip if hypothesis not installed * Better precondition around reset_index * Note * Try a bundle * Use unique_subset_of * Use Bundles more * Add index_variables strategy * Small improvement * fix * Use st.shared * Revert "Use st.shared" This reverts commit 50f60308fdbb5e04cc3e5263bb5283e25c82159d. * fix unstacking * cleanup * WIP * Remove bundles * Fixes * Add hypothesis cache to CI * Prevent index variables with NaNs, infs * [revert] * Always save hypothesis cache * Expand dtypes * Add invariant check for #8646 * Add drop_dims * Add create_index to stack * Generalize a bit * limit number of indexes to stack * Fix endianness? * uniquify drop_dims * Avoid NaTs in index vars https://github.com/HypothesisWorks/hypothesis/issues/3943 * Guard swap_dims * Revert "Add invariant check for #8646" This reverts commit 4a958dcf0fb7acab3d5123b3bd2d4138fb522f98. * Add drop_indexes * Add assign_coords * Fix max_period for pandas timedelta * Add xfailed test * Add notes * Skip timedelta indexes * to_zarr * small tweaks * Remove NaT assume * Revert "[revert]" This reverts commit 6a38e271eed61ecb943f60d3aed0875d0437de7b. * Add hypothesis workflow * Swtich out * fix * Use st.builds * cleanup * Add initialize * review feedback 2024-04-03T21:29:35Z 2024-04-03T21:29:35Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
c5b90c54d55edd3021415427d9a26666b88da7b6 Update docstring for compute and persist (#8903) * Update docstring for compute and persist * Add compute reference to load docstring for dask array * Use new wording for persist Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * Update xarray/core/dataarray.py Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add "all" to persist docstring * Apply suggestions from code review Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> --------- Co-authored-by: Justus Magin <keewis@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> 2024-04-02T23:52:31Z 2024-04-02T23:52:31Z saschahofmann 63a4d9dbab7fd6078839674a8b2448eb2d4e8cc5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 saschahofmann 24508496 web-flow 19864447
97d3a3aaa071fa5341132331abe90ec39f914b52 [pre-commit.ci] pre-commit autoupdate (#8900) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-04-01T18:57:42Z 2024-04-01T18:57:42Z pre-commit-ci[bot] 7da16d77b5305a686e2995772fd96783452a583b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 pre-commit-ci[bot] 66853113 web-flow 19864447
7e2415012226fe50ed8e1cdefbc073a78b592418 Bump the actions group with 1 update (#8896) Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `codecov/codecov-action` from 4.1.0 to 4.1.1 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-04-01T18:02:55Z 2024-04-01T18:02:55Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
6de99369502901374438583eba9f9818929885ed New empty whatsnew entry (#8899) * new empty whatsnew entry * Update doc/whats-new.rst Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-04-01T17:49:06Z 2024-04-01T17:49:06Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447
13baca18e1b16a43e74d5201e121b27330a9dfd4 Update reference to 'Weighted quantile estimators' (#8898) 2024-04-01T15:42:19Z 2024-04-01T15:42:19Z Andrey Akinshin 6e4751c632361a838b06262e5619078a9ffc7859 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 AndreyAkinshin 2259237 web-flow 19864447
b80260781ee19bddee01ef09ac0da31ec12c5152 2024.03.0: Add whats-new (#8891) * Add whats-new * Update doc/whats-new.rst Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> --------- Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> 2024-03-29T17:07:17Z 2024-03-29T17:07:17Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
47ff159f456dd3fc64170722eaac87c368745caa Add typing to test_groupby.py (#8890) * Update test_groupby.py * Update pyproject.toml * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * Update test_groupby.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_groupby.py * Update test_groupby.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_groupby.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-29T16:38:16Z 2024-03-29T16:38:16Z Illviljan c5362e87613121ea0418cdbe594f0d6e78f076ad GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 Illviljan 14371165 web-flow 19864447
afce18f774b6b57b696f7223c3bd179a91b7f7d1 Avoid in-place multiplication of a large value to an array with small integer dtype (#8867) * Avoid inplace multiplication * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_plot.py * Update test_plot.py * Update dataarray_plot.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-29T15:26:38Z 2024-03-29T15:26:38Z Illviljan c5362e87613121ea0418cdbe594f0d6e78f076ad GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 Illviljan 14371165 web-flow 19864447
ffb30a854193ea251bd14d22cca33fc605fd8a62 Check for aligned chunks when writing to existing variables (#8459) * Check for aligned chunks when writing to existing variables * Update doc/whats-new.rst Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add regression test for #8459 * Update whats-new * Address Ryan's comment * Update region typing * Update test --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian <deepak@cherian.net> 2024-03-29T14:35:50Z 2024-03-29T14:35:50Z Maximilian Roos 279c587273ec459ffb5192e60bf8447c05601fa5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 max-sixty 5635139 web-flow 19864447
852b7e65b6c1da1d0110c6db7125f2fd43c8db4f Add dt.date to plottable types (#8873) * Add dt.date to plottable types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add new feature to whats-new.rst * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test_date_dimension to plot tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add issue to whats-new * Fix type in whats-new * Fix 2 more typos in whats-new --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-29T14:35:41Z 2024-03-29T14:35:41Z saschahofmann 63a4d9dbab7fd6078839674a8b2448eb2d4e8cc5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 saschahofmann 24508496 web-flow 19864447
5bf2cf4283e6ed8d23b146e2379302a7077a0097 Optimize writes to existing Zarr stores. (#8875) * Optimize writes to existing Zarr stores. We need to read existing variables to make sure we append or write to a region with the right encoding. Currently we request all arrays in a Zarr group. Instead only request those arrays for which we require encoding information. * Add test * fix test 2024-03-29T14:35:28Z 2024-03-29T14:35:28Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
2120808bbe45f3d4f0b6a01cd43bac4df4039092 Allow multidimensional variable with same name as dim when constructing dataset via coords (#8886) * regression test * remove unnecessary check * whatsnew * remove outdated test 2024-03-28T16:28:09Z 2024-03-28T16:28:09Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447
cf3655968b8b12cc0ecd28fb324e63fb94d5e7e2 Don't allow overwriting indexes with region writes (#8877) * Don't allow overwriting indexes with region writes Closes #8589 * Fix typing * one more typing fix 2024-03-27T16:24:35Z 2024-03-27T16:24:35Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
473b87f19e164e508566baf7c8750ac4cb5b50f7 Migrate datatree.py module into xarray.core. (#8789) * Migrate datatree.py module into xarray.core. * Add correct PR reference to whats-new.rst. * Revert to using Union in datatree.py. * Catch remaining unfixed import path. * Fix easier mypy annotations in datatree.py and test_datatree.py. * Straggling mypy change in datatree.py. * datatree.py comment clean-up. * More mypy corrections in datatree.py and test_datatree.py. * Removes unnecessary dict wrapper. * DAS-2062: renames as_array -> to_dataarray * DAS-2062: Updates doc string for Datatree.to_zarr Accurately reflects the default value now. * DAS-2062: reverts what-new.rst for "breaking changes that aren't breaking yet but will be, but only relevant for previous users of another package" * DAS-2062: clarify wording in comment. * Change Datatree.to_dataarray to call correctly We updated the name but not the function. * Clarify DataTree's names are still strings now. DAS-2062 * DAS-2062: Cast k explicitly to str for typing. So this is where we are moving forward with the assumption that DataTree nodes are alway named with a string. In this section of `update` even though we know the key is a str, mypy refuses. I chose explicit recast over mypy ignores, tell me why that's wrong? * Ignore mypy errors for DataTree.ds assignment. * Fix DataTree.update type hint. * Final mypy issue - ignore DataTree.get override. * Update contributors in whats-new.rst * Fix GitHub handle. --------- Co-authored-by: Matt Savoie <github@flamingbear.com> Co-authored-by: Matt Savoie <matthew.savoie@colorado.edu> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-03-26T16:05:52Z 2024-03-26T16:05:52Z owenlittlejohns fec78aeb59def1ecc9645398eca3e0f7b0a0d5c2 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 owenlittlejohns 7788154 web-flow 19864447
55173e8ec637dd9e2c36e0c8c7a0aa90ff048de0 warn and return bytes undecoded in case of UnicodeDecodeError in h5netcdf-backend (#8874) * warn and return bytes undecoded in case of UnicodeDecodeError in h5netcdf-backend * add whats-new.rst entry * merge maybe_decode_bytes function into _read_attributes, add attribute and variable name to warning 2024-03-26T15:08:40Z 2024-03-26T15:08:40Z Kai Mühlbauer 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 kmuehlbauer 5821660 web-flow 19864447
ee02113774985a9081bcdf260bf97fcdafdd9e85 groupby: Dispatch quantile to flox. (#8720) * groupby: Dispatch median, quantile to flox. * bump min flox version * Add test for chunked dataarrays * Cleanup * Disable median for now. * update whats-new * update whats-new * bump min flox version * add requires_dask * restore dim order * fix whats-new * Fix doctest * cleanup * Update xarray/core/groupby.py * Fix mypy 2024-03-26T15:08:30Z 2024-03-26T15:08:30Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
aaf3b7e572dc9ee422aac7b2c2454b653e7be2bb Opt out of auto creating index variables (#8711) * as_variable: deprecate converting to IndexVariable * fix multi-index edge case * Better default behavior of the Coordinates constructor (#8107) * ``Coordinates.__init__`` create default indexes ... for any input dimension coordinate, if ``indexes=None``. Also, if another ``Coordinates`` object is passed, extract its indexes and raise if ``indexes`` is not None (no align/merge supported here). * add docstring examples * fix doctests * fix tests * update what's new * fix deprecation warning after unintentionally reverted a valid previous change. * avoid unnecessary auto-creation of index to avoid userwarning * catch expected FutureWarnings in test_as_variable * check for coercion to IndexVariable * whatsnew --------- Co-authored-by: Benoit Bovy <benbovy@gmail.com> 2024-03-26T13:50:14Z 2024-03-26T13:50:14Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447
2f34895a1e9e8a051886ed958fd88e991e2e2664 Update docs on view / copies (#8744) * Clarify pydata#8728 in docs - Add reference to numpy docs on view / copies in the corresponding section of the xarray docs, to help clarify pydata#8728 . - Add note that `da.values()` returns a view in the header for `da.values()`. * tweaks to the header * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * flip order of new .to_values() doc header paragraphs --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-25T20:35:19Z 2024-03-25T20:35:19Z Kevin Schwarzwald 7d8b0d76a5fb1159f3813f5ab1d7488fb7e359c5 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 ks905383 16925278 web-flow 19864447
6af547cdd9beac3b18420ccb204f801603e11519 Handle .oindex and .vindex for the PandasMultiIndexingAdapter and PandasIndexingAdapter (#8869) 2024-03-23T02:30:44Z 2024-03-23T02:30:44Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
7c3d2dd2987f855a44d91993f73a9e1aef0a481d numpy 2.0 copy-keyword and trapz vs trapezoid (#8865) * adapt handling of copy keyword argument in coding/strings.py for numpy >= 2.0dev * import either trapz or trapezoid depending on numpy version * add /change whats-new.rst entry * fix mypy, fix import order * adapt handling of copy keyword argument in coding/strings.py for numpy >= 2.0dev 2024-03-22T15:30:11Z 2024-03-22T15:30:11Z Kai Mühlbauer 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 kmuehlbauer 5821660 web-flow 19864447
bd9495fdeb8be38932a66b354d53f39923c8448b upstream-dev CI: Fix interp and cumtrapz (#8861) 2024-03-21T04:16:45Z 2024-03-21T04:16:45Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
84dc96136ce04d953746d9e251753ba61d0779f0 increase typing annotations coverage in `xarray/core/indexing.py` (#8857) 2024-03-20T20:20:52Z 2024-03-20T20:20:52Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
4a0bb2eb80538806468233d11bc5a4c06ffb417e pandas 3 MultiIndex fixes (#8847) * Fix dropping of muiltiindexes xref #8844 Closes https://github.com/xarray-contrib/flox/issues/342 * More fixes 2024-03-20T15:00:18Z 2024-03-20T15:00:18Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
0b6716d12dec5628618137c8a34a120b60ba9c30 FIX: adapt handling of copy keyword argument in scipy backend for numpy >= 2.0dev (#8851) * FIX: adapt handling of copy keyword argument in scipy backend for numpy >= 2.0dev FIX: adapt handling of copy keyword argument in scipy backend for numpy >= 2.0dev * Add whats-new.rst entry * Apply suggestions from code review --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-03-20T14:47:45Z 2024-03-20T14:47:45Z Kai Mühlbauer 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 kmuehlbauer 5821660 web-flow 19864447
61ffc38a495b224c49f9486404ee3bdcb9049663 FIX: do not cast _FillValue/missing_value in CFMaskCoder if _Unsigned is provided (#8852) * FIX: do not cast _FillValue/missing_value in CFMaskCoder if _Unsigned is provided * add whats-new.rst entry * add comment on _Unsigned 2024-03-19T14:25:37Z 2024-03-19T14:25:37Z Kai Mühlbauer 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 kmuehlbauer 5821660 web-flow 19864447
79272c3dbc4748608df40290660dd7593127254f Implement setitem syntax for `.oindex` and `.vindex` properties (#8845) * Implement setitem syntax for `.oindex` and `.vindex` properties * Apply suggestions from code review Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * use getter and setter properties instead of func_get and func_set methods * delete unnecessary _indexing_array_and_key method * Add tests for IndexCallable class * fix bug/unnecessary code introduced in #8790 * add unit tests --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-03-19T03:29:58Z 2024-03-19T03:29:58Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
c6c01b12e06be53bbcdd3292b3db1d410ea9c21f Support pandas copy-on-write behaviour (#8846) * Support pandas copy-on-write behaviour Closes #8843 * Update xarray/tests/__init__.py * One more fix * Fix interp * Avoid copy * Try again 2024-03-18T16:00:12Z 2024-03-18T16:00:12Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
fbcac7611bf9a16750678f93483d3dbe0e261a0a correctly encode/decode _FillValues/missing_values/dtypes for packed data (#8713) * correctly encode/decode _FillValues * fix mypy * fix CFMaskCode test * fix scale/offset * avert zarr issue * add whats-new.rst entry * refactor fillvalue/missing value check to catch non-conforming values, apply review suggestions * fix typing * suppress warning in doc * FIX: silence SerializationWarnings * FIX: silence mypy by casting to string early * Update xarray/tests/test_conventions.py Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Shorten test, add comment checking for two warnings * make test even shorter --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-15T16:31:04Z 2024-03-15T16:31:04Z Kai Mühlbauer 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 kmuehlbauer 5821660 web-flow 19864447
c9d3084e98d38a7a9488380789a8d0acfde3256f Expand use of `.oindex` and `.vindex` (#8790) * refactor __getitem__() by removing vectorized and orthogonal indexing logic from it * implement explicit routing of vectorized and outer indexers * Add VectorizedIndexer and OuterIndexer to ScipyArrayWrapper's __getitem__ method * Refactor indexing in LazilyIndexedArray and LazilyVectorizedIndexedArray * Add vindex and oindex methods to StackedBytesArray * handle explicitlyindexed arrays * Refactor LazilyIndexedArray and LazilyVectorizedIndexedArray classes * Remove TODO comments in indexing.py * use indexing.explicit_indexing_adapter() in scipy backend * update docstring * fix docstring * Add _oindex_get and _vindex_get methods to NativeEndiannessArray and BoolTypeArray * Update indexing support in ScipyArrayWrapper * Update xarray/tests/test_indexing.py Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * Fix assert statement in test_decompose_indexers * add comments to clarifying why the else branch is needed * Add _oindex_get and _vindex_get methods to _ElementwiseFunctionArray * update whats-new * Refactor apply_indexer function in indexing.py and variable.py for code reuse * cleanup --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: Deepak Cherian <deepak@cherian.net> 2024-03-15T05:00:03Z 2024-03-15T05:00:03Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
3dcfa31955d334d0d05f171f21e0af6bebfb36e1 Return a dataclass from Grouper.factorize (#8777) * Return dataclass from factorize * cleanup 2024-03-15T04:47:30Z 2024-03-15T04:47:30Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
cb051d85a6c7921a6970fee6cd737abf2260efd1 [skip-ci] Fix upstream-dev env (#8839) * [skip-ci] Fix upstream-dev env * [test-upstream] [skip-ci] remove numba, sparse 2024-03-15T04:37:57Z 2024-03-15T04:37:57Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
b0e504e423399c75e990923032bc417c2759eafd Add dask-expr for windows envs (#8837) * Add dask-expr for windows envs * Add xfail * xfail 2024-03-15T04:06:03Z 2024-03-15T04:06:03Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
9c311e841c42cc49dc88dbf87ddf6007d1a473a9 [skip-ci] Add dask-expr dependency to doc.yml (#8835) 2024-03-14T21:44:14Z 2024-03-14T21:44:14Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
80fb5f7626b2273cffe9ccbe425beaf36eba4189 Add `dask-expr` to environment-3.12.yml (#8827) 2024-03-13T20:20:44Z 2024-03-13T20:20:44Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
a3f7774443862b1ee8822778a2f813b90cea24ef Make list_chunkmanagers more resilient to broken entrypoints (#8736) * Make list_chunkmanagers more resilient to broken entrypoints As I'm a developing my custom chunk manager, I'm often checking out between my development branch and production branch breaking the entrypoint. This made xarray impossible to import unless I re-ran `pip install -e . -vv` which is somewhat tiring. * Type hint untyped test function to appease mypy * Try to return something to help mypy --------- Co-authored-by: Tom Nicholas <tom@cworthy.org> Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> 2024-03-13T17:54:02Z 2024-03-13T17:54:02Z Mark Harfouche 6068ef178b1a24077fdbbe3ea6f0c3fe97b6ae77 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 hmaarrfk 90008 web-flow 19864447
11f89ecdd41226cf93da8d1e720d2710849cd23e Do not attempt to broadcast when global option ``arithmetic_broadcast=False`` (#8784) * increase plot size * added old tests * Keep relevant test * what's new * PR comment * remove unnecessary (?) check * unnecessary line removal * removal of variable reassignment to avoid type issue * Update xarray/core/variable.py Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * Update xarray/core/variable.py Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update tests * what's new * Update doc/whats-new.rst --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-13T15:36:34Z 2024-03-13T15:36:34Z Etienne Schalk b369e815294de453800a68286db1d8e49ba4accb GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 etienneschalk 45271239 web-flow 19864447
14fe7e077a59d530f18ea2e4d7c38fb4a62c0b19 try to get the `upstream-dev` CI to complete again (#8823) * install upstream-dev h5py and enable h5netcdf again * try installing nightly `pyarrow` [skip-ci] * use `micromamba` to speed up the force-removal of packages * add a missing trailing backslash [skip-ci] * revert the enabling of upstream-dev h5netcdf [skip-ci] * also build `numexpr` * replace the removed `numpy.array_api` with `array-api-strict` * don't install upstream-dev `h5py` * remove `numexpr` from the environment instead [skip-ci] * ignore the missing typing in `array_api_strict` * restore the old `numpy.array_api` import for `numpy<2` * ignore the redefinition of `Array` 2024-03-12T16:04:52Z 2024-03-12T16:04:52Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
90e00f0022c8d1871f441470d08c79bb3b03c164 Bump the actions group with 1 update (#8818) Bumps the actions group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `pypa/gh-action-pypi-publish` from 1.8.12 to 1.8.14 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.12...v1.8.14) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-03-11T07:00:09Z 2024-03-11T07:00:09Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
c919739fe6b2cdd46887dda90dcc50cb22996fe5 Update documentation for clarity (#8817) * Update documentation in dataset.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-09T22:33:16Z 2024-03-09T22:33:16Z Martin d0cfc7e26feab53635dcd4d23572554a55ecdbbe GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 staadecker 13053829 web-flow 19864447
c6e0935071af10d1f291cee0a25efa3e964d2cd9 DOC: link to zarr.convenience.consolidate_metadata (#8816) * link to zarr.convenience.consolidate_metadata * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Ray Bell <ray.bell@dtn.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-03-08T18:47:14Z 2024-03-08T18:47:14Z Ray Bell 751b554e2dccba83039abd4029194118be22dc24 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 raybellwaves 17162724 web-flow 19864447
8468be0ae59f7d2314c38d8749e0cc278535a98d Refactor Grouper objects (#8776) * Refactor resampling. 1. Rename to Resampler from ResampleGrouper 2. Move code from common.resample to TimeResampler * Single Grouper class * Fixes * Fixes * Add comments. * Apply suggestions from code review Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> * Review feedback * fix --------- Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> 2024-03-07T21:50:04Z 2024-03-07T21:50:04Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
cb09522aeb0c7b4d52d43b4bfec2093bbf56f6e0 Grouper object design doc (#8510) * Grouper object design doc * [skip-ci] Update design_notes/grouper_objects.md * [skip-ci] Minor updates * [skip-ci] Update design_notes/grouper_objects.md Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> --------- Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> 2024-03-06T02:27:04Z 2024-03-06T02:27:04Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
160fbf8e7752921301a30c3b54b18a5de46fcf6d Bump the actions group with 2 updates (#8804) Bumps the actions group with 2 updates: [codecov/codecov-action](https://github.com/codecov/codecov-action) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `codecov/codecov-action` from 4.0.2 to 4.1.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4.0.2...v4.1.0) Updates `pypa/gh-action-pypi-publish` from 1.8.11 to 1.8.12 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.11...v1.8.12) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-03-04T18:42:54Z 2024-03-04T18:42:54Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
604bb6d08b942f774a3ba2a2900061959d2e091d tokenize() should ignore difference between None and {} attrs (#8797) 2024-03-01T03:29:51Z 2024-03-01T03:29:51Z crusaderky 2ff6d9e74ee03928d143f0bb1557924a28d3b23d GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 crusaderky 6213168 web-flow 19864447
a241845c0dfcb8a5a0396f5ef7602e9dae6155c0 fix: remove Coordinate from __all__ in xarray/__init__.py (#8791) 2024-02-28T02:54:33Z 2024-02-28T02:54:33Z Christoph Hasse c01f7a913b6f21d27a9c6b015f7f8bc09dd3d100 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 hassec 11351671 web-flow 19864447
2983c5326c085334ed3e262db1ac3faa0e784586 Fix non-nanosecond casting behavior for `expand_dims` (#8782) 2024-02-27T18:51:49Z 2024-02-27T18:51:49Z Spencer Clark f04422bfa03dadc75fab6ce64de238fbe48f5be4 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 spencerkclark 6628425 web-flow 19864447
dfdd631dd3382030eed57c8fdb6e97199d14a277 Migrate treenode module. (#8757) * Update the formating tests PR (#8702) added nbytes representation in DataArrays and Dataset repr, this adds it to the datatree tests. * Migrate treenode module Moves treenode.py and test_treenode.py. Updates some typing. Updates imports from treenode. * Update NotFoundInTreeError description. * Reformat some comments Add test tree structure for easier understanding. * Updates whats-new.rst * mypy typing. (terrible?) There must be a better way, but I don't know it. particularly the list comprehension casts. * Adds __repr__ to NamedNode and updates test This test was broken becuase only the root node was being tested and none of the previous nodes were represented in the __str__. * Adds quotes to NamedNode __str__ representation. * swaps " for ' in NamedNode __str__ representation. * Adding Tom in so he gets blamed properly. * resolve conflict whats-new.rst Question is I did update below the released line to give Tom some credit. I hope that's is allowable. * Moves test_treenode.py to xarray/tests. Integrated tests. * refactors backend tests for datatree IO * Add explicit engine back in test_to_zarr * Removes OrderedDict from treenode * Renames tests/test_io.py -> tests/test_backends_datatree.py * typo * Add types * Pass mypy for 3.9 2024-02-27T16:40:19Z 2024-02-27T16:40:19Z Matt Savoie 42ea05f8aa9996484bed750967fbd11bb65740ca GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 flamingbear 479480 web-flow 19864447
e47eb92a76be8e66b2ea3437a4c77e340fb62135 introduce `.vindex` property for Explicitly Indexed Arrays (#8780) 2024-02-26T21:11:32Z 2024-02-26T21:11:32Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
0ec19123dffb4e4fbd83be21de9bbc57159e2d55 Bump the actions group with 2 updates (#8785) Bumps the actions group with 2 updates: [codecov/codecov-action](https://github.com/codecov/codecov-action) and [scientific-python/upload-nightly-action](https://github.com/scientific-python/upload-nightly-action). Updates `codecov/codecov-action` from 4.0.1 to 4.0.2 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4.0.1...v4.0.2) Updates `scientific-python/upload-nightly-action` from 0.3.0 to 0.5.0 - [Release notes](https://github.com/scientific-python/upload-nightly-action/releases) - [Commits](https://github.com/scientific-python/upload-nightly-action/compare/6e9304f7a3a5501c6f98351537493ec898728299...b67d7fcc0396e1128a474d1ab2b48aa94680f9fc) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: scientific-python/upload-nightly-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-02-26T07:00:02Z 2024-02-26T07:00:02Z dependabot[bot] 5df307d91b1167b0aa175853783d760add239497 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dependabot[bot] 49699333 web-flow 19864447
f63ec87476db065a58d423670b8829abc8d1e746 date_range: set default freq to 'D' only if periods, start, or end are None (#8774) * Fixing issue #8770: Improved frequency parameter logic to set it to 'D' only if periods, start, or end are None. * Addressed feedback: Updated default argument handling in cftime_range to ensure consistency across date range functions * Update doc/whats-new.rst Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Update xarray/tests/test_cftime_offsets.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Update xarray/tests/test_cftime_offsets.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Input argument period included in test_cftime_range_no_freq and test_date_range_no_freq following #8770 * Update doc/whats-new.rst Co-authored-by: Spencer Clark <spencerkclark@gmail.com> --------- Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> Co-authored-by: Spencer Clark <spencerkclark@gmail.com> 2024-02-24T12:43:19Z 2024-02-24T12:43:19Z Roberto Chang 683b90896a87e77332e501a5fecfeb3aa8ca11f0 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 rjavierch 46948104 web-flow 19864447
d9760f30662b219182cdc8dedc04dfbe7771942b refactor `indexing.py`: introduce `.oindex` for Explicitly Indexed Arrays (#8750) Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-02-23T23:34:42Z 2024-02-23T23:34:42Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
01f7b4ff54c9e6b41c9a7b45e6dd0039992075ee [skip-ci] NamedArray: Add lazy indexing array refactoring plan (#8775) 2024-02-23T22:20:08Z 2024-02-23T22:20:08Z Deepak Cherian 0c7e9e762dbfd6554e60c953bf27493047d95109 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 dcherian 2448579 web-flow 19864447
8e1dfcf571e77701d5669fd31f1576aed1007b45 new whats-new section (#8767) 2024-02-20T10:35:34Z 2024-02-20T10:35:34Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
626648a16568a19d4a90e425c851570a7b3ecac0 actually release (#8766) 2024-02-18T23:06:21Z 2024-02-18T23:06:21Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
537f4a74ffc58d1dbe65b1e1d32ccce6740fb9b0 release summary for 2024.02.0 (#8764) * move author names to a separate line * style fixes * first attempt at a summary * add contributors * move entry to the right place * more style * reflow * remove additional indentation * point intersphinx to the new home of cubed * add flox to intersphinx * [skip-ci] 2024-02-18T22:52:14Z 2024-02-18T22:52:14Z Justus Magin f48b8f0d94dbaa4588e3a965a600d38e311eab17 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 keewis 14808389 web-flow 19864447
ff0d056ec9e99dece0202d8d73c1cb8c6c20b2a1 refactor DaskIndexingAdapter `__getitem__` method (#8758) * remove the unnecessary check for `VectorizedIndexer` * remvove test * update whats-new * update test * Trim --------- Co-authored-by: Deepak Cherian <deepak@cherian.net> 2024-02-15T22:44:17Z 2024-02-15T22:44:17Z Anderson Banihirwe 650ccabbd2cac4bf2902ea2f31b41c9a1374032b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 andersy005 13301940 web-flow 19864447
5d93331ce4844c480103659ec72547aae87efbf6 suppress base & loffset deprecation warnings (#8756) 2024-02-15T19:11:10Z 2024-02-15T19:11:10Z Mathias Hauser ca4b1aa7038742a78b0de3134b339add28345bf9 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 mathause 10194086 web-flow 19864447
a91d26804071fbfe82baf99d172650569980b77a unify freq strings (independent of pd version) (#8627) * unify freq strings (independent of pd version) * Update xarray/tests/test_cftime_offsets.py Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * update code and tests * make mypy happy * add 'YE' to _ANNUAL_OFFSET_TYPES * un x-fail test * adapt more freq strings * simplify test * also translate 'h', 'min', 's' * add comment * simplify test * add freqs, invert ifs; add try block * properly invert if condition * fix more tests * fix comment * whats new * test pd freq strings are passed through --------- Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Co-authored-by: Spencer Clark <spencerkclark@gmail.com> 2024-02-15T16:53:36Z 2024-02-15T16:53:36Z Mathias Hauser ca4b1aa7038742a78b0de3134b339add28345bf9 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 mathause 10194086 web-flow 19864447
fffb03c8abf5d68667a80cedecf6112ab32472e7 add open_datatree to xarray (#8697) * DAS-2060: Skips datatree_ CI Adds additional ignore to mypy Adds additional ignore to doctests Excludes xarray/datatree_ from all pre-commmit.ci * DAS-2070: Migrate open_datatree into xarray. First stab. Will need to add/move tests. * DAS-2060: replace relative import of datatree to library * DAS-2060: revert the exporting of NodePath from datatree I mistakenly thought we wanted to use the hidden version of datatree_ and we do not. * Don't expose open_datatree at top level We do not want to expose open_datatree at top level until all of the code is migrated. * Point datatree imports to xarray.datatree_.datatree * Updates function signatures for mypy. * Move io tests, remove undefined reference to documentation. Also starts fixing simple mypy errors * Pass bare-minimum tests. * Update pyproject.toml to exclude imported datatree_ modules. Add some typing for mygrated tests. Adds display_expand_groups to core options. * Adding back type ignores This is cargo-cult. I wonder if there's a different CI test that wanted these and since this is now excluded at the top level. I'm putting them back until migration into main codebase. * Refactor open_datatree back together. puts common parts in common. * Removes TODO comment * typo fix Co-authored-by: Tom Nicholas <tom@cworthy.org> * typo 2 Co-authored-by: Tom Nicholas <tom@cworthy.org> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Call raised exception * Add unpacking notation to kwargs * Use final location for DataTree doc strings Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * fix comment from open_dataset to open_datatree Co-authored-by: Justus Magin <keewis@users.noreply.github.com> * Revert "fix comment from open_dataset to open_datatree" This reverts commit aab1744d52a466ac03829cda171c09beb1cc0704. * Change sphynx link from meth to func *… 2024-02-14T21:50:29Z 2024-02-14T21:50:29Z Matt Savoie 42ea05f8aa9996484bed750967fbd11bb65740ca GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 flamingbear 479480 web-flow 19864447
4806412c7f08480d283f1565262f040bdc74d11d add sarxarray into ecosystem list (#8740) * add sarxarray into ecosystem list * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-02-13T12:59:55Z 2024-02-13T12:59:55Z Ou Ku 1a9a5f9f76e2e6e3a6f8080ca9ed3130f2e8b40b GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 rogerkuou 33962195 web-flow 19864447
013a4268124919fcc1f22118685ddc2a179ea24f unstack: require unique MultiIndex (#8737) * unstack: require unique multiindex * whats new * fix ds creation * fix the correct array * update error message * update err msg in tests * Apply suggestions from code review 2024-02-13T09:48:35Z 2024-02-13T09:48:35Z Mathias Hauser ca4b1aa7038742a78b0de3134b339add28345bf9 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 mathause 10194086 web-flow 19864447
d64460795e406bc4a998e2ddae0054a1029d52a9 Move parallelcompat and chunkmanagers to NamedArray (#8319) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com> Co-authored-by: Anderson Banihirwe <axbanihirwe@ualr.edu> 2024-02-12T22:09:23Z 2024-02-12T22:09:23Z Tom Nicholas 1b5999ce7e4a14248f94d7405c686b0fa5ad5979 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f xarray 13221727 TomNicholas 35968931 web-flow 19864447

Next page

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [commits] (
   [sha] TEXT PRIMARY KEY,
   [message] TEXT,
   [author_date] TEXT,
   [committer_date] TEXT,
   [raw_author] TEXT REFERENCES [raw_authors]([id]),
   [raw_committer] TEXT REFERENCES [raw_authors]([id]),
   [repo] INTEGER REFERENCES [repos]([id]),
   [author] INTEGER REFERENCES [users]([id]),
   [committer] INTEGER REFERENCES [users]([id])
);
CREATE INDEX [idx_commits_committer]
    ON [commits] ([committer]);
CREATE INDEX [idx_commits_author]
    ON [commits] ([author]);
CREATE INDEX [idx_commits_repo]
    ON [commits] ([repo]);
CREATE INDEX [idx_commits_raw_committer]
    ON [commits] ([raw_committer]);
CREATE INDEX [idx_commits_raw_author]
    ON [commits] ([raw_author]);
Powered by Datasette · Queries took 65.944ms · About: xarray-datasette