Revisions of python-xarray
buildservice-autocommit
accepted
request 1179055
from
Sebastian Wagner (sebix)
(revision 98)
baserev update by copy to link target
- Update to 2024.5.0 * Update reference to 'Weighted quantile estimators' by @AndreyAkinshin in #8898 * Update docstring for compute and persist by @saschahofmann in #8903 * Stateful tests with Dataset by @dcherian in #8658 * Trigger hypothesis stateful tests nightly by @dcherian in #8907 * Don't access data when creating DataArray from Variable. by @dcherian in #8754 * Add typing to test_plot.py by @Illviljan in #8889 * Update hypothesis action to always save the cache by @dcherian in #8913 * Add typing to some functions in indexing.py by @Illviljan in #8922 * Enhance the ugly error in constructor when no data passed by @aimtsou in #8920 * Migrate iterators.py for datatree. by @owenlittlejohns in #8879 * use pd.to_timedelta instead of TimedeltaIndex by @keewis in #8938 * adapt more tests to the copy-on-write behavior of pandas by @keewis in #8940 * Correct save_mfdataset docstring by @TomNicholas in #8934 * Convert 360_day calendars by choosing random dates to drop or add by @aulemahal in #8603 * Migrate datatree mapping.py by @owenlittlejohns in #8948 * (feat): Support for pandas ExtensionArray by @ilan-gold in #8723 * Migrate formatting_html.py into xarray core by @eni-awowale in #8930 * use nan instead of NaN by @keewis in #8961 * stop pruning datatree_ directory from distribution by @flamingbear in #8953 * Delete pynio backend. by @dcherian in #8971 * Migrate datatreee assertions/extensions/formatting by @owenlittlejohns in #8967 * Bump dependencies incl pandas>=2 by @dcherian in #8968 * Option to not auto-create index during expand_dims by @TomNicholas in #8960 * Raise errors on new warnings from within xarray by @max-sixty in #8974 * more engine environment tricks in preparation for numpy>=2 by @keewis in #8978 * Switch all methods to dim by @max-sixty in #8982 * Docstring and documentation improvement for the Dataset class by @noahbenson in #8973 * Add notes on when to add ignores to warnings by @max-sixty in #8987 * Remove .drop warning allow by @max-sixty in #8988 * Skip flaky test_open_mfdataset_manyfiles test by @max-sixty in #8989 * avoid a couple of warnings in polyfit by @keewis in #8939 * Migration of datatree/ops.py -> datatree_ops.py by @flamingbear in #8976 * Mark test_use_cftime_false_standard_calendar_in_range as an expected failure by @spencerkclark in #8996 * call np.cross with 3D vectors only by @keewis in #8993 * Fix syntax error in test related to cupy by @hmaarrfk in #9000 * Add argument check_dims to assert_allclose to allow transposed inputs (#5733) by @ignamv in #8991 * Faster fastpath by @hmaarrfk in #9001 * Speed up localize by @Illviljan in #8536 * Port negative frequency fix for pandas.date_range to cftime_range by @spencerkclark in #8999 * Zarr: Optimize region="auto" detection by @dcherian in #8997 * Add a benchmark to monitor performance for large dataset indexing by @hmaarrfk in #9012 * Avoid extra read from disk when creating Pandas Index. by @dcherian in #8893 * Avoid auto creation of indexes in concat by @TomNicholas in #8872 * Zarr: Optimize appending by @dcherian in #8998 - Drop xarray-pr8953-nodatatreeprune.patch - Add xarray-pr8854-np2.patch gh#pydata/xarray#8854 - Add xarray-pr9305-cftime.patch gh#pydata/xarray#9305
buildservice-autocommit
accepted
request 1171905
from
Sebastian Wagner (sebix)
(revision 96)
baserev update by copy to link target
- Update to 2024.3.0 ## New Features * Partial writes to existing chunks with region or append_dim will now raise an error (unless safe_chunks=False); previously an error would only be raised on new variables. (PR8459, GH8371, GH8882) By Maximilian Roos. * Grouped and resampling quantile calculations now use the vectorized algorithm in flox>=0.9.4 if present. By Deepak Cherian. * Do not broadcast in arithmetic operations when global option arithmetic_broadcast=False (GH6806, PR8784). By Etienne Schalk and Deepak Cherian. * Add the .oindex property to Explicitly Indexed Arrays for orthogonal indexing functionality. (GH8238, PR8750) By Anderson Banihirwe. * Add the .vindex property to Explicitly Indexed Arrays for vectorized indexing functionality. (GH8238, PR8780) By Anderson Banihirwe. * Expand use of .oindex and .vindex properties. (:pull: 8790) By Anderson Banihirwe and Deepak Cherian. * Allow creating xr.Coordinates objects with no indexes (PR8711) By Benoit Bovy and Tom Nicholas. * Enable plotting of datetime.dates. (GH8866, PR8873) By Sascha Hofmann. ## Breaking changes * Don’t allow overwriting index variables with to_zarr region writes. (GH8589, PR8876). By Deepak Cherian. ## Bug fixes * The default freq parameter in xr.date_range() and xr.cftime_range() is set to 'D' only if periods, start, or end
buildservice-autocommit
accepted
request 1159356
from
Markéta Machová (mcalabkova)
(revision 94)
baserev update by copy to link target
- Add xarray-pr8797-tokenize.patch * gh#pydata/xarray#8797 fixes gh#pydata/xarray#8788
buildservice-autocommit
accepted
request 1154193
from
Matej Cepl (mcepl)
(revision 92)
baserev update by copy to link target
- Skip Python 3.9. It requires pydap, which is not available any more.
- Update to 2024.2.0 * This release brings size information to the text repr, changes to the accepted frequency strings, and various bug fixes. ## New Features * Added a simple nbytes representation in DataArrays and Dataset repr. (GH8690, PR8702). By Etienne Schalk. * Allow negative frequency strings (e.g. "-1YE"). These strings are for example used in date_range(), and cftime_range() (PR8651). By Mathias Hauser. * Add NamedArray.expand_dims(), NamedArray.permute_dims() and NamedArray.broadcast_to() (PR8380) By Anderson Banihirwe. * Xarray now defers to flox’s heuristics to set the default method for groupby problems. This only applies to flox>=0.9. By Deepak Cherian. * All quantile methods (e.g. DataArray.quantile()) now use numbagg for the calculation of nanquantiles (i.e., skipna=True) if it is installed. This is currently limited to the linear interpolation method (method=’linear’). (GH7377, PR8684) By Marco Wolsza. ## Breaking changes * infer_freq() always returns the frequency strings as defined in pandas 2.2 (GH8612, PR8627). By Mathias Hauser. * Deprecations * The dt.weekday_name parameter wasn’t functional on modern pandas versions and has been removed. (GH8610, PR8664) By Sam Coleman. ## Bug fixes * Fixed a regression that prevented multi-index level coordinates being serialized after resetting or dropping the multi-index (GH8628, PR8672). By Benoit Bovy.
buildservice-autocommit
accepted
request 1136895
from
Sebastian Wagner (sebix)
(revision 89)
baserev update by copy to link target
- Disable ROS3 tests, because hdf5 library was built without ROS3 support.
buildservice-autocommit
accepted
request 1134379
from
Sebastian Wagner (sebix)
(revision 87)
baserev update by copy to link target
- remove obsolete patch file xarray-pr8139-pandas-fill_value.patch
- update to version 2023.12.0: - This release brings new `hypothesis <https://hypothesis.works/>`_ strategies for testing, significantly faster rolling aggregations as well as: ``ffill`` and ``bfill`` with ``numbagg``, a new :py:meth:`Dataset.eval` method, and improvements to - reading and writing Zarr arrays (including a new ``"a-"`` mode).: - Thanks to our 16 contributors: - Anderson Banihirwe, Ben Mares, Carl Andersson, Deepak Cherian, Doug Latornell, Gregorio L. Trevisan, Illviljan, Jens Hedegaard Nielsen, Justus Magin, Mathias Hauser, Max Jones, Maximilian Roos, Michael Niklas, Patrick Hoefler, Ryan Abernathey, Tom Nicholas: - New Features: - Added hypothesis strategies for generating :py:class:`xarray.Variable` objects containing arbitrary data, useful for parametrizing downstream tests. Accessible under :py:mod:`testing.strategies`, and documented in a new page on testing in the User Guide. (:issue:`6911`, :pull:`8404`) By `Tom Nicholas <https://github.com/TomNicholas>`_. - :py:meth:`rolling` uses `numbagg <https://github.com/numbagg/numbagg>`_ for most of its computations by default. Numbagg is up to 5x faster than bottleneck where parallelization is possible. Where parallelization isn't possible — for example a 1D array — it's about the same speed as bottleneck, and 2-5x faster than pandas' default functions. (:pull:`8493`). numbagg is an optional dependency, so requires installing separately. By `Maximilian Roos <https://github.com/max-sixty>`_. - Use a concise format when plotting datetime arrays. (:pull:`8449`). By `Jimmy Westling <https://github.com/illviljan>`_. - Avoid overwriting unchanged existing coordinate variables when appending with :py:meth:`Dataset.to_zarr` by setting ``mode='a-'``. By `Ryan Abernathey <https://github.com/rabernat>`_ and `Deepak Cherian <https://github.com/dcherian>`_. - :py:meth:`~xarray.DataArray.rank` now operates on dask-backed arrays, assuming the core dim has exactly one chunk. (:pull:`8475`). By `Maximilian Roos <https://github.com/max-sixty>`_. - Add a :py:meth:`Dataset.eval` method, similar to the pandas' method of the same name. (:pull:`7163`). This is currently marked as experimental and doesn't yet support the ``numexpr`` engine. - :py:meth:`Dataset.drop_vars` & :py:meth:`DataArray.drop_vars` allow passing a callable, similar to :py:meth:`Dataset.where` & :py:meth:`Dataset.sortby` & others.
buildservice-autocommit
accepted
request 1110839
from
Dirk Mueller (dirkmueller)
(revision 83)
baserev update by copy to link target
- Update to 2023.8.0 * This release brings changes to minimum dependencies, allows reading of datasets where a dimension name is associated with a multidimensional variable (e.g. finite volume ocean model output), and introduces a new xarray.Coordinates object. ## Announcements * The xarray.Variable class is being refactored out to a new project title 'namedarray'. See the design doc for more details. Reach out to us on this discussion topic if you have any thoughts. ## What's Changed * Use variable name in all exceptions raised in as_variable by @ZedThree in #7995 * Allow opening datasets with nD dimenson coordinate variables. by @dcherian in #7989 * join together duplicate entries in the text repr by @keewis in #7225 * Expose "Coordinates" as part of Xarray's public API by @benbovy in #7368 * Update interpolate_na in dataset.py by @ilgast in #7974 * Add HDF5 Section to read/write docs page by @rwegener2 in #8012 * Add examples to docstrings by @harshitha1201 in #7937 * (chore) min versions bump by @jhamman in #8022 * Automatically chunk other in GroupBy binary ops. by @dcherian in #7684 * change cumproduct to cumprod by @quantsnus in #8031 * Reduce pre-commit update frequency to monthly from weekly. by @dcherian in #8033 * sort when encoding coordinates for deterministic outputs by @itcarroll in #8034 * Zarr : Allow setting write_empty_chunks by @RKuttruff in #8016 * Count documentation by @Articoking in #8057 * unpin numpy by @keewis in #8061 - Release 2023.7.0 * This release brings improvements to the documentation on wrapping numpy-like arrays, improved docstrings, and bug fixes. ## What's Changed * Allow cubed arrays to be passed to flox groupby by @TomNicholas in #7941 * Duck array documentation improvements by @TomNicholas in #7911 * Docstring examples by @harshitha1201 in #7881 * Chunked array docs by @TomNicholas in #7951 * ensure no forward slashes in names for HDF5-based backends by @kmuehlbauer in #7953 * Move absolute path finder from open_mfdataset to own function by @Illviljan in #7968 * Skip broken tests on Python 3.11 and Windows by @Illviljan in #7972 * Examples added to docstrings by @harshitha1201 in #7936 * Fix typo in zarr.py by @johmathe in #7983 * Improve explanation in example "Working with Multidimensional Coordinates" by @yvonnefroehlich in #7984 * Remove hue_style from plot1d docstring by @Illviljan in #7925 - Release 2023.06.0 * This release adds features to curvefit, improves the performance of concatenation, and fixes various bugs. ## What's Changed * Array API fixes for astype by @TomNicholas in #7847 * Add type hints to test_dtypes by @Illviljan in #7858 * adapt the pint + dask test to the newest version of pint by @keewis in #7855 * Avoid explicit loop when updating OrderedSet by @Illviljan in #7857 * Improve to_dask_dataframe performance by @Illviljan in #7844 * Changed duck typing exception to: (ImportError, AttributeError) by @vhaasteren in #7874 * defer to numpy for the expected result by @keewis in #7875 * deprecate the cdms2 conversion methods by @keewis in #7876 * Implement multidimensional initial guess and bounds for curvefit by @mgunyho in #7821 * Improve concat performance by @Illviljan in #7824 * Fix .groupby(multi index level) by @dcherian in #7830 * don't use CacheFileManager.__del__ on interpreter shutdown by @keewis in #7880 * fix polyfit changing the original object by @malmans2 in #7900 * Fix flaky doctest for curvefit by @mgunyho in #7893 * Ensure dtype of reindex result matches dtype of the original DataArray by @andersy005 in #7917 * Add errors option to curvefit by @mgunyho in #7891 * CF encoding should preserve vlen dtype for empty arrays by @tomwhite in #7862 * use trusted publishers instead of a API token by @keewis in #7899 * Add cfgrib,ipywidgets to doc env by @dcherian in #7888 * Fix regression with grouper object on an IndexVariable by @mwtoews in #7920 * Fix check for chunk_store in zarr backend by @juntyr in #7923 * fixing rolling_window issue with cupy by @negin513 in #7938 - Add xarray-pr8139-pandas-fill_value.patch gh#pydata/xarray#8125, gh#pydata/xarray#8139
buildservice-autocommit
accepted
request 1089954
from
Dirk Mueller (dirkmueller)
(revision 81)
baserev update by copy to link target
- update to 2023.05.0: * This release adds some new methods and operators, updates our deprecation policy for python versions, fixes some bugs with groupby, and introduces experimental support for alternative chunked parallel array computation backends via a new plugin system! * Docstrings examples for string methods * Fix groupby_bins when labels are specified * Fix binning by unsorted array * This release includes support for pandas v2, allows refreshing of backend engines in a session, and removes deprecated backends for ``rasterio`` and ``cfgrib``.
buildservice-autocommit
accepted
request 1070561
from
Sebastian Wagner (sebix)
(revision 79)
baserev update by copy to link target
Displaying revisions 1 - 20 of 98