1
0
forked from pool/python-xarray

Accepting request 685681 from home:apersaud:branches:devel:languages:python:numeric

update to latest version

OBS-URL: https://build.opensuse.org/request/show/685681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=11
This commit is contained in:
Sebastian Wagner 2019-03-17 07:56:01 +00:00 committed by Git OBS Bridge
parent 72c6f4f532
commit 202a08d66f
4 changed files with 98 additions and 4 deletions

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Sat Mar 16 22:38:17 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
* since this version is for python3 only, add a hint to skip python 2 during the build
- update to version 0.12.0:
* Highlights include:
+ Removed support for Python 2. This is the first version of
xarray that is Python 3 only!
+ New coarsen() and integrate() methods. See Coarsen large arrays
and Computation using Coordinates for details.
+ Many improvements to cftime support. See below for details.
* Deprecations
+ The compat argument to Dataset and the encoding argument to
DataArray are deprecated and will be removed in a future
release. (GH1188) By Maximilian Roos.
* cftime related enhancements
+ Resampling of standard and non-standard calendars indexed by
CFTimeIndex is now possible. (GH2191). By Jwen Fai Low and
Spencer Clark.
+ Taking the mean of arrays of cftime.datetime objects, and by
extension, use of coarsen() with cftime.datetime coordinates is
now possible. By Spencer Clark.
+ Internal plotting now supports cftime.datetime objects as time
series. (GH2164) By Julius Busecke and Spencer Clark.
+ cftime_range() now supports QuarterBegin and QuarterEnd offsets
(GH2663). By Jwen Fai Low
+ open_dataset() now accepts a use_cftime argument, which can be
used to require that cftime.datetime objects are always used, or
never used when decoding dates encoded with a standard
calendar. This can be used to ensure consistent date types are
returned when using open_mfdataset() (GH1263) and/or to silence
serialization warnings raised if dates from a standard calendar
are found to be outside the pandas.Timestamp-valid range
(GH2754). By Spencer Clark.
+ pandas.Series.dropna() is now supported for a pandas.Series
indexed by a CFTimeIndex (GH2688). By Spencer Clark.
* Other enhancements
+ Added ability to open netcdf4/hdf5 file-like objects with
open_dataset. Requires (h5netcdf>0.7 and h5py>2.9.0). (GH2781)
By Scott Henderson
+ Add data=False option to to_dict() methods. (GH2656) By Ryan
Abernathey
+ DataArray.coarsen() and Dataset.coarsen() are newly added. See
Coarsen large arrays for details. (GH2525) By Keisuke Fujii.
+ Upsampling an array via interpolation with resample is now
dask-compatible, as long as the array is not chunked along the
resampling dimension. By Spencer Clark.
+ xarray.testing.assert_equal() and
xarray.testing.assert_identical() now provide a more detailed
report showing what exactly differs between the two objects
(dimensions / coordinates / variables / attributes) (GH1507). By
Benoit Bovy.
+ Add tolerance option to resample() methods bfill, pad,
nearest. (GH2695) By Hauke Schulz.
+ DataArray.integrate() and Dataset.integrate() are newly
added. See Computation using Coordinates for the
detail. (GH1332) By Keisuke Fujii.
+ Added drop_dims() (GH1949). By Kevin Squire.
* Bug fixes
+ Silenced warnings that appear when using pandas 0.24. By Stephan
Hoyer
+ Interpolating via resample now internally specifies
bounds_error=False as an argument to scipy.interpolate.interp1d,
allowing for interpolation from higher frequencies to lower
frequencies. Datapoints outside the bounds of the original time
coordinate are now filled with NaN (GH2197). By Spencer Clark.
+ Line plots with the x argument set to a non-dimensional coord
now plot the correct data for 1D DataArrays. (GH27251). By Tom
Nicholas.
+ Subtracting a scalar cftime.datetime object from a CFTimeIndex
now results in a pandas.TimedeltaIndex instead of raising a
TypeError (GH2671). By Spencer Clark.
+ backend_kwargs are no longer ignored when using open_dataset
with pynio engine (:issue:2380) By Jonathan Joyce.
+ Fix open_rasterio creating a WKT CRS instead of PROJ.4 with
rasterio 1.0.14+ (GH2715). By David Hoese.
+ Masking data arrays with xarray.DataArray.where() now returns an
array with the name of the original masked array (GH2748 and
GH2457). By Yohai Bar-Sinai.
+ Fixed error when trying to reduce a DataArray using a function
which does not require an axis argument. (GH2768) By Tom
Nicholas.
+ Concatenating a sequence of DataArray with varying names sets
the name of the output array to None, instead of the name of the
first input array. If the names are the same it sets the name to
that, instead to the name of the first DataArray in the list as
it did before. (GH2775). By Tom Nicholas.
+ Per CF conventions, specifying 'standard' as the calendar type
in cftime_range() now correctly refers to the 'gregorian'
calendar instead of the 'proleptic_gregorian' calendar (GH2761).
-------------------------------------------------------------------
Wed Feb 13 18:04:03 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-xarray
Version: 0.11.3
Version: 0.12.0
Release: 0
Summary: N-D labeled arrays and datasets in Python
License: Apache-2.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc3dceb680d67746168c46771e4aa7d2624519a7faf120421f16d6ddfdb984dd
size 1720693

3
xarray-0.12.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:856fd062c55208a248ac3784cac8d3524b355585387043efc92a4188eede57f3
size 1742146