Skip to content

Commit ba3f0a4

Browse files
committed
Merge branch 'master' into feature/dataarray_pad
2 parents 7515478 + cc142f4 commit ba3f0a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2665
-2842
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ omit =
55
xarray/core/npcompat.py
66
xarray/core/pdcompat.py
77
xarray/core/pycompat.py
8-
xarray/_version.py

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# reduce the number of merge conflicts
22
doc/whats-new.rst merge=union
3-
xarray/_version.py export-subst

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ doc/savefig
1515
# Packages
1616
*.egg
1717
*.egg-info
18+
.eggs
1819
dist
1920
build
2021
eggs
@@ -65,7 +66,6 @@ dask-worker-space/
6566
# xarray specific
6667
doc/_build
6768
doc/generated
68-
xarray/version.py
6969
xarray/tests/data/*.grib.*.idx
7070

7171
# Sync tools

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
hooks:
1212
- id: flake8
1313
- repo: https://github.com/pre-commit/mirrors-mypy
14-
rev: v0.730 # Must match ci/requirements/*.yml
14+
rev: v0.761 # Must match ci/requirements/*.yml
1515
hooks:
1616
- id: mypy
1717
# run these occasionally, ref discussion https://github.com/pydata/xarray/pull/3194

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ recursive-include doc *
44
prune doc/_build
55
prune doc/generated
66
global-exclude .DS_Store
7-
include versioneer.py
8-
include xarray/_version.py
97
recursive-include xarray/static *

ci/requirements/doc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ dependencies:
1414
- jupyter_client
1515
- nbsphinx
1616
- netcdf4
17+
- numba
1718
- numpy
1819
- numpydoc
19-
- pandas<0.25 # Hack around https://github.com/pydata/xarray/issues/3369
20+
- pandas
2021
- rasterio
2122
- seaborn
2223
- sphinx

ci/requirements/py36-bare-minimum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ dependencies:
77
- pytest
88
- pytest-cov
99
- pytest-env
10-
- numpy=1.14
11-
- pandas=0.24
10+
- numpy=1.15
11+
- pandas=0.25

ci/requirements/py36-min-all-deps.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dependencies:
1515
- cfgrib=0.9
1616
- cftime=1.0
1717
- coveralls
18-
- dask=1.2
19-
- distributed=1.27
18+
- dask=2.2
19+
- distributed=2.2
2020
- flake8
2121
- h5netcdf=0.7
2222
- h5py=2.9 # Policy allows for 2.10, but it's a conflict-fest
@@ -25,12 +25,12 @@ dependencies:
2525
- iris=2.2
2626
- lxml=4.4 # Optional dep of pydap
2727
- matplotlib=3.1
28-
- mypy=0.730 # Must match .pre-commit-config.yaml
28+
- mypy=0.761 # Must match .pre-commit-config.yaml
2929
- nc-time-axis=1.2
3030
- netcdf4=1.4
3131
- numba=0.44
32-
- numpy=1.14
33-
- pandas=0.24
32+
- numpy=1.15
33+
- pandas=0.25
3434
# - pint # See py36-min-nep18.yml
3535
- pip
3636
- pseudonetcdf=3.0
@@ -40,7 +40,7 @@ dependencies:
4040
- pytest-cov
4141
- pytest-env
4242
- rasterio=1.0
43-
- scipy=1.0 # Policy allows for 1.2, but scipy>=1.1 breaks numpy=1.14
43+
- scipy=1.3
4444
- seaborn=0.9
4545
# - sparse # See py36-min-nep18.yml
4646
- toolz=0.10

ci/requirements/py36-min-nep18.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- dask=2.4
1010
- distributed=2.4
1111
- numpy=1.17
12-
- pandas=0.24
12+
- pandas=0.25
1313
- pint=0.9 # Actually not enough as it doesn't implement __array_function__yet!
1414
- pytest
1515
- pytest-cov

ci/requirements/py36.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
- iris
2222
- lxml # optional dep of pydap
2323
- matplotlib
24-
- mypy=0.730 # Must match .pre-commit-config.yaml
24+
- mypy=0.761 # Must match .pre-commit-config.yaml
2525
- nc-time-axis
2626
- netcdf4
2727
- numba

ci/requirements/py37-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
- iris
2222
- lxml # Optional dep of pydap
2323
- matplotlib
24-
- mypy=0.730 # Must match .pre-commit-config.yaml
24+
- mypy=0.761 # Must match .pre-commit-config.yaml
2525
- nc-time-axis
2626
- netcdf4
2727
- numba

ci/requirements/py37.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
- iris
2222
- lxml # Optional dep of pydap
2323
- matplotlib
24-
- mypy=0.730 # Must match .pre-commit-config.yaml
24+
- mypy=0.761 # Must match .pre-commit-config.yaml
2525
- nc-time-axis
2626
- netcdf4
2727
- numba

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
os.environ["PYTHONPATH"] = str(root)
2626
sys.path.insert(0, str(root))
2727

28-
import xarray
28+
import xarray # isort:skip
2929

3030
allowed_failures = set()
3131

doc/data-structures.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ setting) variables and attributes:
353353
This is particularly useful in an exploratory context, because you can
354354
tab-complete these variable names with tools like IPython.
355355

356+
.. _dictionary_like_methods:
357+
356358
Dictionary like methods
357359
~~~~~~~~~~~~~~~~~~~~~~~
358360

doc/examples.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ Examples
1010
examples/visualization_gallery
1111
examples/ROMS_ocean_model
1212
examples/ERA5-GRIB-example
13+
14+
Using apply_ufunc
15+
------------------
16+
.. toctree::
17+
:maxdepth: 2
18+
19+
examples/apply_ufunc_vectorize_1d

0 commit comments

Comments
 (0)