Skip to content

Merge changes since fork #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 284 commits into from
Nov 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
243093c
Fix rtd link on readme (#1943)
fujiisoup Feb 27, 2018
4ee2440
DOC: add main sections to toc (#1946)
benbovy Feb 27, 2018
fd2e542
Add seaborn import to toy weather data example. (#1945)
shoyer Feb 27, 2018
0e73e24
isort (#1924)
max-sixty Feb 27, 2018
ecf50d2
DOC: Plot discrete colormap with proportional colorbar (#1930)
paulvija Feb 27, 2018
f3bbb3e
DOC: Contributing / isort (#1947)
max-sixty Feb 27, 2018
dc3eebf
Rolling window with `as_strided` (#1837)
fujiisoup Mar 1, 2018
350e977
Fix doc for missing values. (#1950)
fujiisoup Mar 2, 2018
a32475b
Update some packages on RTD (#1958)
fmaussion Mar 3, 2018
4983f1f
Add x,y kwargs for plot.line(). (#1926)
dcherian Mar 5, 2018
3419e9e
facetgrid: unset cmap if colors is specified. (#1928)
dcherian Mar 6, 2018
55128aa
Check for minimum Zarr version. (#1960)
kaipak Mar 6, 2018
54468e1
Vectorized lazy indexing (#1899)
fujiisoup Mar 6, 2018
870e4ea
Better error message for vectorize=True in apply_ufunc with old numpy…
shoyer Mar 7, 2018
9accae0
Fix RGB imshow with X or Y dim of size one (#1967)
Zac-HD Mar 8, 2018
3309588
Resolve more warnings in the xarray test suite (#1964)
shoyer Mar 9, 2018
8c6a284
Use conda-forge netcdftime wherever netcdf4 was tested (#1933)
Mar 9, 2018
2f590f7
fix distributed writes (#1793)
Mar 10, 2018
aa83d0e
quick fix for failing zarr test (#1980)
Mar 12, 2018
8271dff
einsum for xarray (#1968)
fujiisoup Mar 12, 2018
b430524
Support __array_ufunc__ for xarray objects. (#1962)
shoyer Mar 12, 2018
e792681
Docs and other minor updates for v0.10.2. (#1984)
shoyer Mar 13, 2018
1481656
Release v0.10.2
shoyer Mar 13, 2018
e1dc515
Revert to dev version for v0.10.2
shoyer Mar 13, 2018
1d0fbe6
Improve efficiency of Rolling object construction (#1994)
fujiisoup Mar 18, 2018
a1fa397
Fix using xarray's own times for slice indexing (#1998)
shoyer Mar 18, 2018
6456df4
Starter property-based test suite (#1972)
Zac-HD Mar 20, 2018
85e240e
extraneous full stop in 88 char warning (#2003)
edoddridge Mar 21, 2018
9261601
Remove note about xray from docs index (#2000)
shoyer Mar 22, 2018
7c2c43c
Add weighted mean docs. (#2012)
dcherian Mar 23, 2018
c4c683f
xfail tests that append to netCDF files with scipy (#2021)
shoyer Mar 28, 2018
8e4231a
consolidate to one pytest config (#2020)
max-sixty Mar 28, 2018
44cc50d
Fix test_88_character_filename_segmentation_fault (#2026)
shoyer Mar 30, 2018
1b48ac8
Allow _FillValue and missing_value to differ (Fixes #1749) (#2016)
dopplershift Mar 31, 2018
c78469a
Fix an overflow bug in decode_cf_datetime (#2015)
fmaussion Mar 31, 2018
a90a7c5
Raise an informative error message when converting Dataset -> np.ndar…
shoyer Apr 3, 2018
8c194b6
Include xarray logo on all docs pages (#2033)
shoyer Apr 3, 2018
a5f7d6a
Isin (#2031)
max-sixty Apr 4, 2018
6402391
isin: better docs, support older numpy and use dask.array.isin. (#2038)
shoyer Apr 6, 2018
72b4e21
concat_dim for auto_combine for a single object is now respected (#2048)
WeatherGod Apr 10, 2018
9b76f21
xfail test_cross_engine_read_write_netcdf3 (#2051)
shoyer Apr 11, 2018
e63e0e9
character out of place preventing formatting (#2052)
max-sixty Apr 11, 2018
8f96db4
Add reference on MCVE to GitHub issue template (#2041)
shoyer Apr 11, 2018
a9d1f3a
Fix decode cf with dask (#2047)
rabernat Apr 12, 2018
295dd20
Avoid using wraps in dask_array_compat (#2053)
shoyer Apr 14, 2018
4cbb7cb
Release v0.10.3
shoyer Apr 14, 2018
3dc7cbe
Revert to v0.10.3 dev
shoyer Apr 14, 2018
a0bdbfb
Updates for the renaming of netcdftime to cftime (#2054)
spencerkclark Apr 16, 2018
68090bb
ENH: setncattr_string support (GH2044) (#2045)
dnowacki-usgs Apr 17, 2018
0935182
Parallel open_mfdataset (#1983)
Apr 20, 2018
99b457c
resolve #2071: 'bebroadcast' in ValueError msg (#2072)
delgadom Apr 21, 2018
c42cbe7
Better error handling in open_mfdataset for wildcard remote URLs (#2083)
shoyer Apr 26, 2018
3c8935e
Refactor string coding and fix string support in zarr (#2058)
shoyer Apr 30, 2018
d1e1440
DOC: uniformize variable names in indexing.rst (#2091)
fmaussion Apr 30, 2018
39b2a37
Remove flake8 from travis (#1919)
fujiisoup May 1, 2018
39bd207
Install cftime with pip on Windows (#2098)
shoyer May 2, 2018
0cc64a0
Drop conflicted coordinate when assignment. (#2087)
fujiisoup May 2, 2018
b9f40cc
Fix a bug introduced in #2087 (#2100)
fujiisoup May 2, 2018
98373f0
xarray.dot is now based on da.einsum (#2089)
crusaderky May 4, 2018
c6977f1
h5netcdf new API support (#1915)
crusaderky May 8, 2018
aeae80b
DOC: Add resample e.g. Edit rolling e.g. Add groupby e.g. (#2101)
May 8, 2018
c046528
DOC: Update link to documentation of Rasterio (#2110)
hgrif May 9, 2018
70e2eb5
Plotting upgrades (#2092)
dcherian May 10, 2018
6d8ac11
Fix docstring formatting for load(). (#2115)
dopplershift May 10, 2018
d63001c
Support keep_attrs for apply_ufunc for xr.Variable (#2119)
fujiisoup May 11, 2018
a525405
Fixes centerized rolling with bottleneck. Also, fixed rolling with an…
fujiisoup May 12, 2018
2c6bd2d
Prevent Inf from screwing colorbar scale. (#2120)
dcherian May 12, 2018
ebe0dd0
CFTimeIndex (#1252)
spencerkclark May 13, 2018
91ac573
Add cftime to doc/environment.yml (#2126)
spencerkclark May 13, 2018
f861186
Reduce pad size in rolling (#2125)
fujiisoup May 13, 2018
d1b669e
Correct two github URLs. (#2130)
EdwardBetts May 14, 2018
188141f
Fix datetime.timedelta casting bug in coding.times.infer_datetime_uni…
spencerkclark May 14, 2018
29d608a
Add "awesome xarray" list to faq. (#2118)
dcherian May 14, 2018
218ad54
xarray.dot to pass **kwargs to einsum (#2106)
crusaderky May 14, 2018
f4ef34f
Fix to_iris conversion issues (#2111)
AlexHilson May 14, 2018
9a48157
Raise an Error if a coordinate with wrong size is assigned to a dataa…
fujiisoup May 15, 2018
3df3023
DOC: Added text to Assign values with Indexing (#2133)
chiaral May 16, 2018
9f58d50
Fix test suite with pandas 0.23 (#2136)
shoyer May 16, 2018
8ef194f
WIP: Compute==False for to_zarr and to_netcdf (#1811)
May 16, 2018
4972dfd
expose CFTimeIndex to public API (#2141)
May 16, 2018
954b8d0
Doc updates for 0.10.4 release (#2138)
shoyer May 17, 2018
5d7304e
Release v0.10.4
shoyer May 17, 2018
008c2c8
Revert to dev version for 0.10.5
shoyer May 17, 2018
0a766b3
Hyperlink DOI against preferred resolver (#2147)
katrinleinweber May 17, 2018
7bab27c
Add favicon to docs? (#2146)
fmaussion May 17, 2018
ecb10e3
fix unlimited dims bug (#2154)
May 18, 2018
c346d3b
Bug fixes for Dataset.reduce() and n-dimensional cumsum/cumprod (#2156)
shoyer May 18, 2018
585b9a7
Versioneer (#2163)
May 20, 2018
48d55ee
Fix string slice indexing for a length-1 CFTimeIndex (#2166)
spencerkclark May 21, 2018
b48e096
BUG: fix writing to groups with h5netcdf (#2181)
shoyer May 25, 2018
04df50e
weighted rolling mean -> weighted rolling sum (#2185)
fujiisoup May 25, 2018
a28aab0
Fix DataArray.stack() with non-unique coordinates on pandas 0.23 (#2168)
shoyer May 26, 2018
a8c1ed2
add xyzpy to projects (#2189)
jcmgray May 27, 2018
8470500
Datasets more robust to non-string keys (#2174)
max-sixty May 27, 2018
fb7a43e
Rename takes kwargs (#2194)
max-sixty May 29, 2018
5ddfee6
Fix DataArray.groupby().reduce() mutating input array (#2169)
shoyer May 29, 2018
9c80059
Test suite: explicitly ignore irrelevant warnings (#2162)
shoyer May 29, 2018
7036eb5
Align DataArrays based on coords in Dataset constructor (#1826)
max-sixty May 31, 2018
0e21fdf
Validate output dimension sizes with apply_ufunc (#2155)
shoyer May 31, 2018
9d60897
Support dot with older dask (#2205)
fujiisoup Jun 1, 2018
4106b94
Fix dtype=S1 encoding in to_netcdf() (#2158)
shoyer Jun 1, 2018
cf19528
Added PNC backend to xarray (#1905)
barronh Jun 1, 2018
ad47ced
Release v0.10.5
shoyer Jun 1, 2018
a3cf251
Add whats-new for v0.10.6
shoyer Jun 1, 2018
1c9b4b2
Fix versioneer, release v0.10.6
shoyer Jun 1, 2018
16ef0cf
Add whats-new for v0.10.7
shoyer Jun 1, 2018
1c37d9c
Remove height=12in from facetgrid example plots. (#2210)
dcherian Jun 1, 2018
1e6984b
Plot labels use CF convention information if available. (#2151)
dcherian Jun 2, 2018
69c9c45
Trivial docs fix (#2212)
crusaderky Jun 2, 2018
bc52f8a
ENH: added FacetGrid functionality to line plots (#2107)
yohai Jun 4, 2018
21a9f3d
Feature/pickle rasterio (#2131)
Jun 7, 2018
e397299
implement interp() (#2104)
fujiisoup Jun 8, 2018
98e6a4b
reduce memory consumption. (#2220)
fujiisoup Jun 8, 2018
43c1898
DOC: misc fixes to whats-new for 0.10.7 (#2221)
shoyer Jun 8, 2018
bb581ca
Release v0.10.7
shoyer Jun 8, 2018
6c3abed
Revert to dev version for v0.10.8
shoyer Jun 8, 2018
66be9c5
fix zarr chunking bug (#2228)
Jun 13, 2018
59ad782
implement interp_like (#2222)
fujiisoup Jun 20, 2018
73b476e
Bugfix for faceting line plots. (#2229)
dcherian Jun 20, 2018
9491318
no mode arg to open_zarr (#2246)
max-sixty Jun 22, 2018
04a78d5
Write inconsistent chunks to netcdf (#2257)
neishm Jun 29, 2018
5ddfb6d
Plotting: do not check for monotonicity with 2D coords (#2260)
fmaussion Jul 3, 2018
a962956
doc: corrections of contributing.rst (#2266)
korigod Jul 4, 2018
4173f7b
Add curvilinear grid support to to_cdms2 and fix mask bug (#2262)
stefraynaud Jul 4, 2018
63cc964
BUG: unnamed args in faceted line plots (#2259)
yohai Jul 4, 2018
448c3f1
Fix resample docstring seasonal average example (#2268)
edoddridge Jul 5, 2018
1688a59
update minimum versions and associated code cleanup (#2204)
Jul 8, 2018
64a7d11
Add a square version of xarray's logo (#2279)
shoyer Jul 13, 2018
afee350
fix dask get_scheduler warning (#2282)
Jul 14, 2018
df63fce
DOC: replace broken link by a link to @shoyer's personal blog (#2296)
yohai Jul 17, 2018
74625d4
Update minimum dependencies in setup.py
shoyer Jul 18, 2018
024aa09
Release v0.10.8
shoyer Jul 18, 2018
c77e8b1
revert to dev ersion
shoyer Jul 18, 2018
b5a8d86
Simplify release checklist
shoyer Jul 18, 2018
7cd3442
Add indexing.explicit_indexing_adapter and refactor backends to use i…
shoyer Jul 19, 2018
9ecd406
iris conversion (#2202)
tv3141 Jul 19, 2018
b8a342a
ENH: format_array_flat() always displays first and last items. (#2293)
seth-p Jul 20, 2018
4673246
Rename "Recipes" to "Gallery" (#2303)
fmaussion Jul 23, 2018
9802d61
Make RTD builds faster (#2310)
fmaussion Jul 27, 2018
f537ba6
DOC: add initial draft of a development roadmap for xarray (#2309)
shoyer Jul 27, 2018
600b345
Test against dask master and xfail current failure (#2324)
shoyer Jul 28, 2018
2fa9dde
DOC: add interp example (#2312)
Jul 28, 2018
ded0a68
fix doc build error after #2312 (#2326)
fujiisoup Jul 28, 2018
f281945
Add libraries to show_versions (#2321)
tv3141 Jul 28, 2018
1ecb6e8
interp() now accepts date strings as desired co-ordinate locations (#…
dcherian Jul 29, 2018
5d8670f
Remove test on rasterio rc and test for 0.36 instead (#2317)
fmaussion Jul 30, 2018
603911d
Support for additional axis kwargs (#2294)
dcherian Jul 31, 2018
c86810b
Better error message on invalid types (#2331)
max-sixty Aug 1, 2018
56381ef
Let test_unicode_data pass on big-endian systems too (#2333)
ginggs Aug 2, 2018
f217a7d
local flake8 (#2343)
fujiisoup Aug 5, 2018
b6a5af3
Use sorted fixtures to ensure that test gathering is consistent. (#2339)
ttung Aug 6, 2018
0b18122
apply_ufunc now raises a ValueError when the size of input_core_dims …
fujiisoup Aug 6, 2018
0a60a52
Add xskillscore to project lists (#2350)
Aug 7, 2018
0445867
dask.ghost -> dask.overlap (#2349)
fujiisoup Aug 8, 2018
fe99a22
Mark some tests related to cdat-lite as xfail (#2354)
fujiisoup Aug 10, 2018
846e28f
DOC: move xarray related projects to top-level TOC section (#2357)
benbovy Aug 10, 2018
e3350fd
Raises a ValueError for a confliction between dimension names and lev…
fujiisoup Aug 13, 2018
4df048c
Remove redundant code from open_rasterio and ensure all transform tup…
robintw Aug 13, 2018
df4a4b1
Fix for zarr encoding bug (#2320)
Aug 14, 2018
b87b684
Fix spelling -- change recieved to received (#2367)
brian-rose Aug 14, 2018
c27ca43
Faster unstack (#2364)
Aug 15, 2018
cbb2aeb
Add option to not roll coords (#2360)
ahuang11 Aug 15, 2018
5155ef9
uncomment test (#2369)
tv3141 Aug 15, 2018
0b9ab2d
Refactor nanops (#2236)
fujiisoup Aug 16, 2018
725bd57
More support of non-string dimension names (#2373)
fujiisoup Aug 20, 2018
8378d3a
[MAINT] Avoid using duck typing (#2372)
fujiisoup Aug 20, 2018
69086b3
Fix maybe_promote (#1953)
NotSqrt Aug 20, 2018
78c57bb
BUG: modify behavior of Dataset.filter_by_attrs to match netCDF4.Data…
DocOtak Aug 28, 2018
b2ff906
fix typo in uri in the docs (#2386)
DocOtak Aug 28, 2018
ecee9a0
DOC: move xskillscore to 'Extend xarray capabilities' (#2387)
Aug 28, 2018
e5ae408
Mark test_equals_all_dtypes as xfail again (#2393)
shoyer Aug 31, 2018
a3ca579
Silence some warnings. (#2328)
dcherian Sep 4, 2018
fc9ef81
add options for nondivergent and divergent cmap (#2397)
Sep 5, 2018
795a7bf
BUG: Fix cdms2 related tests (#2332) (#2400)
stefraynaud Sep 5, 2018
73f5b02
Make `dim` optional on unstack (#2375)
jsignell Sep 5, 2018
66a8f8d
plot.imshow now obeys 'origin' kwarg. (#2396)
dcherian Sep 6, 2018
59bf7a7
add some blurbs about numfocus sponsorship to docs (#2403)
Sep 11, 2018
4de8dbc
Numfocus (#2409)
Sep 11, 2018
8385fec
Fix small typo in docs (#2420)
canyon289 Sep 18, 2018
b679f4a
Adding data kwarg to copy to create new objects with same structure …
jsignell Sep 19, 2018
a0b5af5
Update NumFOCUS donate link (#2421)
Sep 19, 2018
5b87b6e
WIP Add a CFTimeIndex-enabled xr.cftime_range function (#2301)
spencerkclark Sep 19, 2018
c1c576f
Plotting: restore xyincrease kwarg default to True (#2425)
fmaussion Sep 21, 2018
ab96954
implement Gradient (#2398)
fujiisoup Sep 21, 2018
93f58a6
Doc fixes for v0.10.9
shoyer Sep 22, 2018
c1ea992
Revert to dev version for 0.11
shoyer Sep 22, 2018
4577ed8
misc plotting fixes (#2426)
dcherian Sep 22, 2018
04253f2
dev/test build for python 3.7 (#2271)
Sep 22, 2018
1ec83a7
make facetgrid execute _finalize() only once (#2435)
dcherian Sep 26, 2018
1857a7f
switch travis language to generic (#2432)
Sep 26, 2018
96dde66
Use profile mechanism, not no-op mutation (#2442)
Zac-HD Sep 26, 2018
78058e2
Remove incorrect statement about "drop" in the text docs (#2439)
shoyer Sep 27, 2018
638b251
Future warning for default reduction dimension of groupby (#2366)
fujiisoup Sep 28, 2018
458cf51
restore ddof support in std (#2447)
fujiisoup Sep 28, 2018
c2b09d6
Enable use of cftime.datetime coordinates with differentiate and inte…
spencerkclark Sep 28, 2018
23d1cda
fix:2445 (#2446)
fujiisoup Sep 28, 2018
f9c4169
Fix FutureWarning in CFTimeIndex.date_type (#2448)
spencerkclark Sep 30, 2018
8fb57f7
Add CFTimeIndex.shift (#2431)
spencerkclark Oct 2, 2018
1e7a1d3
np.AxisError was added in numpy 1.13 (#2455)
drnextgis Oct 2, 2018
0f70a87
plot.contour: Don't make cmap if colors is a single color. (#2453)
dcherian Oct 2, 2018
3cef8d7
Clean up _parse_array_of_cftime_strings (#2464)
spencerkclark Oct 5, 2018
3f697fe
Update whats-new.rst (#2466)
chenjucla Oct 5, 2018
4a7a103
Add python_requires to setup.py (#2465)
djhoese Oct 6, 2018
bb87a94
Replace the last of unittest with pytest (#2467)
max-sixty Oct 6, 2018
18313c4
Merge branch 'stable'
max-sixty Oct 7, 2018
5153240
tests shoudn't need to pass for a PR (#2471)
max-sixty Oct 7, 2018
3d65f02
isort (#2469)
max-sixty Oct 7, 2018
cf1e6c7
pep8speaks (#2462)
fujiisoup Oct 7, 2018
5f09deb
Properly support user-provided norm. (#2443)
dcherian Oct 8, 2018
5b4d160
Fix indexing error for data loaded with open_rasterio (#2456)
shoyer Oct 8, 2018
289b377
xarray.backends refactor (#2261)
shoyer Oct 9, 2018
6840fc2
Ignore W504 with pep8speaks (#2474)
shoyer Oct 10, 2018
7f20a20
Inhouse LooseVersion (#2477)
fujiisoup Oct 10, 2018
81172ec
Line plots with 2D coordinates (#2408)
dcherian Oct 11, 2018
4bad455
Fix backend test classes so they actually run (#2479)
shoyer Oct 11, 2018
7cab33a
Improve arithmetic operations involving CFTimeIndexes and TimedeltaIn…
spencerkclark Oct 17, 2018
9f4474d
Add a GRIB backend via ECMWF cfgrib / ecCodes (#2476)
alexamici Oct 17, 2018
dffbcb8
Small fix in rasterio docs (#2498)
fmaussion Oct 22, 2018
671d936
ENH: Detect the GRIB files by the filename extension and suggest engi…
alexamici Oct 22, 2018
4a5d88d
Avoid use of deprecated get= parameter in tests (#2500)
mrocklin Oct 23, 2018
f9f4903
Add swap_dims to relevant 'See also' sections (#2463)
nedclimaterisk Oct 23, 2018
6008dc4
Make Dataset.copy docstring match behavior (#2491)
georgegeddes Oct 23, 2018
5ebed79
ENH: Plotting support for interval coordinates: groupby_bins (#2152)
Oct 23, 2018
b8c4b78
Fix tests to new coordinate names in cfgrib>=0.9.2. (#2502)
alexamici Oct 23, 2018
d77db21
Iterate over data_vars only (#2506)
max-sixty Oct 25, 2018
b2a377f
facetgrid: properly support cbar_kwargs. (#2444)
dcherian Oct 25, 2018
2a46913
Add satpy to related projects
dcherian Oct 25, 2018
5940100
Remove .T as shortcut for transpose() (#2509)
dcherian Oct 26, 2018
b622c5e
Remove Dataset.T from api-hidden.rst (#2515)
spencerkclark Oct 26, 2018
2f0096c
Make sure datetime object arrays are converted to datetime64 (#2513)
dcherian Oct 27, 2018
c2a6902
Fix bug where OverflowError is not being raised (#2519)
spencerkclark Oct 28, 2018
a258333
Finish deprecation cycle for DataArray.__contains__ checking array va…
shoyer Oct 28, 2018
3176d8a
Remove tests where answers change in cftime 1.0.2.1 (#2522)
spencerkclark Oct 30, 2018
6d55f99
Global option to always keep/discard attrs on operations (#2482)
TomNicholas Oct 30, 2018
17815b4
Raise more informative error when converting tuples to Variable. (#2523)
dcherian Oct 31, 2018
656f8bd
Switch enable_cftimeindex to True by default (#2516)
spencerkclark Nov 1, 2018
cf798c5
Include multidimensional stacking groupby in docs (#2493) (#2536)
DaDaDaDaDaLi Nov 2, 2018
f788084
Zarr chunking (GH2300) (#2487)
lilyminium Nov 2, 2018
848d491
Deprecate inplace (#2524)
dcherian Nov 3, 2018
38399cc
Remove use of deprecated, unused keyword. (#2540)
alexamici Nov 5, 2018
421be44
Remove the old syntax for resample. (#2541)
shoyer Nov 5, 2018
55f21de
Stop loading tutorial data by default (#2538)
Nov 5, 2018
70f3b1c
Remove old-style resample example in documentation (#2543)
spencerkclark Nov 5, 2018
ee5983a
add full test env for py37 ci env (#2545)
Nov 6, 2018
eece515
Drop the hack needed to use CachingFileManager as we don't use it any…
alexamici Nov 6, 2018
efde852
DOC: update whatsnew for xarray 0.11 release (#2548)
shoyer Nov 7, 2018
bcb10b1
Release xarray v0.11
shoyer Nov 7, 2018
575e97a
revert to dev version for 0.11.1
shoyer Nov 7, 2018
f547ed0
Add libnetcdf, libhdf5, pydap and cfgrib to xarray.show_versions() (#…
shoyer Nov 14, 2018
401e802
Merge pull request #1 from pydata/master
phausamann Nov 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# reduce the number of merge conflicts
doc/whats-new.rst merge=union
xarray/_version.py export-subst
42 changes: 0 additions & 42 deletions .github/CONTRIBUTING.md

This file was deleted.

3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#### Code Sample, a copy-pastable example if possible

A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you:
http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports

```python
# Your code here

Expand Down
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
- [ ] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
- [ ] Tests added (for all bug fixes or enhancements)
- [ ] Tests passed (for all non-documentation changes)
- [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
*.py[cod]
__pycache__

# example caches from Hypothesis
.hypothesis/

# temp files from docs build
doc/auto_gallery
doc/example.nc
Expand Down Expand Up @@ -33,6 +36,11 @@ pip-log.txt
nosetests.xml
.cache
.ropeproject/
.tags*
.testmon*
.tmontmp/
.pytest_cache
dask-worker-space/

# asv environments
.asv
Expand All @@ -45,10 +53,11 @@ nosetests.xml
.project
.pydevproject

# PyCharm and Vim
# IDEs
.idea
*.swp
.DS_Store
.vscode/

# xarray specific
doc/_build
Expand Down
12 changes: 12 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# File : .pep8speaks.yml

scanner:
diff_only: True # If True, errors caused by only the patch are shown

pycodestyle:
max-line-length: 79
ignore: # Errors and warnings to ignore
- E402, # module level import not at top of file
- E731, # do not assign a lambda expression, use a def
- W503 # line break before binary operator
- W504 # line break after binary operator
98 changes: 42 additions & 56 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Based on http://conda.pydata.org/docs/travis.html
language: python
language: minimal
sudo: false # use container based build
notifications:
email: false
Expand All @@ -10,74 +10,48 @@ branches:
matrix:
fast_finish: true
include:
- python: 2.7
env: CONDA_ENV=py27-min
- python: 2.7
env: CONDA_ENV=py27-cdat+iris+pynio
- python: 3.4
env: CONDA_ENV=py34
- python: 3.5
env: CONDA_ENV=py35
- python: 3.6
env: CONDA_ENV=py36
- python: 3.6
env:
- env: CONDA_ENV=py27-min
- env: CONDA_ENV=py27-cdat+iris+pynio
- env: CONDA_ENV=py35
- env: CONDA_ENV=py36
- env: CONDA_ENV=py37
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- python: 3.6
env: CONDA_ENV=py36-netcdf4-dev
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
- python: 3.6
env: CONDA_ENV=py36-dask-dev
- python: 3.6
env: CONDA_ENV=py36-pandas-dev
- python: 3.6
env: CONDA_ENV=py36-bottleneck-dev
- python: 3.6
env: CONDA_ENV=py36-condaforge-rc
- python: 3.6
env: CONDA_ENV=py36-pynio-dev
- python: 3.6
env: CONDA_ENV=py36-rasterio1.0alpha
- python: 3.6
env: CONDA_ENV=py36-zarr-dev
- env: CONDA_ENV=py36-dask-dev
- env: CONDA_ENV=py36-pandas-dev
- env: CONDA_ENV=py36-bottleneck-dev
- env: CONDA_ENV=py36-condaforge-rc
- env: CONDA_ENV=py36-pynio-dev
- env: CONDA_ENV=py36-rasterio-0.36
- env: CONDA_ENV=py36-zarr-dev
- env: CONDA_ENV=docs
- env: CONDA_ENV=py36-hypothesis

allow_failures:
- python: 3.6
env:
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- python: 3.6
env: CONDA_ENV=py36-netcdf4-dev
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
- python: 3.6
env: CONDA_ENV=py36-dask-dev
- python: 3.6
env: CONDA_ENV=py36-pandas-dev
- python: 3.6
env: CONDA_ENV=py36-bottleneck-dev
- python: 3.6
env: CONDA_ENV=py36-condaforge-rc
- python: 3.6
env: CONDA_ENV=py36-pynio-dev
- python: 3.6
env: CONDA_ENV=py36-rasterio1.0alpha
- python: 3.6
env: CONDA_ENV=py36-zarr-dev
- env: CONDA_ENV=py36-pandas-dev
- env: CONDA_ENV=py36-bottleneck-dev
- env: CONDA_ENV=py36-condaforge-rc
- env: CONDA_ENV=py36-pynio-dev
- env: CONDA_ENV=py36-zarr-dev

before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86_64.sh -O miniconda.sh;
fi
- wget http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
Expand All @@ -86,16 +60,28 @@ before_install:
- conda info -a

install:
- conda env create --file ci/requirements-$CONDA_ENV.yml
- if [[ "$CONDA_ENV" == "docs" ]]; then
conda env create -n test_env --file doc/environment.yml;
else
conda env create -n test_env --file ci/requirements-$CONDA_ENV.yml;
fi
- source activate test_env
- conda list
- python setup.py install
- pip install --no-deps -e .
- python xarray/util/print_versions.py

script:
- flake8 -j auto xarray
- which python
- python --version
- python -OO -c "import xarray"
- py.test xarray --cov=xarray --cov-config ci/.coveragerc --cov-report term-missing --verbose $EXTRA_FLAGS
- if [[ "$CONDA_ENV" == "docs" ]]; then
conda install -c conda-forge sphinx sphinx_rtd_theme sphinx-gallery numpydoc;
sphinx-build -n -j auto -b html -d _build/doctrees doc _build/html;
elif [[ "$CONDA_ENV" == "py36-hypothesis" ]]; then
pytest properties ;
else
py.test xarray --cov=xarray --cov-config ci/.coveragerc --cov-report term-missing --verbose $EXTRA_FLAGS;
fi

after_success:
- coveralls
35 changes: 14 additions & 21 deletions HOW_TO_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ Time required: about an hour.
2. Look over whats-new.rst and the docs. Make sure "What's New" is complete
(check the date!) and add a brief summary note describing the release at the
top.
3. Update the version in setup.py and switch to `ISRELEASED = True`.
4. If you have any doubts, run the full test suite one final time!
3. If you have any doubts, run the full test suite one final time!
py.test
5. On the master branch, commit the release in git:
4. On the master branch, commit the release in git:
git commit -a -m 'Release v0.X.Y'
6. Tag the release:
5. Tag the release:
git tag -a v0.X.Y -m 'v0.X.Y'
7. Build source and binary wheels for pypi:
6. Build source and binary wheels for pypi:
git clean -xdf # this deletes all uncommited changes!
python setup.py bdist_wheel sdist
8. Use twine to register and upload the release on pypi. Be careful, you can't
7. Use twine to register and upload the release on pypi. Be careful, you can't
take this back!
twine upload dist/xarray-0.X.Y*
You will need to be listed as a package owner at
https://pypi.python.org/pypi/xarray for this to work.
9. Push your changes to master:
8. Push your changes to master:
git push upstream master
git push upstream --tags
9. Update the stable branch (used by ReadTheDocs) and switch back to master:
Expand All @@ -32,25 +32,18 @@ Time required: about an hour.
It's OK to force push to 'stable' if necessary.
We also update the stable branch with `git cherrypick` for documentation
only fixes that apply the current released version.
10. Revert ISRELEASED in setup.py back to False. Don't change the version
number: in normal development, we keep the version number in setup.py as the
last released version.
11. Add a section for the next release (v.X.(Y+1)) to doc/whats-new.rst.
12. Commit your changes and push to master again:
10. Add a section for the next release (v.X.(Y+1)) to doc/whats-new.rst.
11. Commit your changes and push to master again:
git commit -a -m 'Revert to dev version'
git push upstream master
You're done pushing to master!
13. Issue the release on GitHub. Click on "Draft a new release" at
https://github.com/pydata/xarray/releases and paste in the latest from
whats-new.rst.
14. Update the docs. Login to https://readthedocs.org/projects/xray/versions/
12. Issue the release on GitHub. Click on "Draft a new release" at
https://github.com/pydata/xarray/releases. Type in the version number, but
don't bother to describe it -- we maintain that on the docs instead.
13. Update the docs. Login to https://readthedocs.org/projects/xray/versions/
and switch your new release tag (at the bottom) from "Inactive" to "Active".
It should now build automatically.
15. Update conda-forge. Clone https://github.com/conda-forge/xarray-feedstock
and update the version number and sha256 in meta.yaml. (On OS X, you can
calculate sha256 with `shasum -a 256 xarray-0.X.Y.tar.gz`). Submit a pull
request (and merge it, once CI passes).
16. Issue the release announcement! For bug fix releases, I usually only email
14. Issue the release announcement! For bug fix releases, I usually only email
[email protected]. For major/feature releases, I will email a broader
list (no more than once every 3-6 months):
[email protected], [email protected],
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ recursive-include doc *
prune doc/_build
prune doc/generated
global-exclude .DS_Store
include versioneer.py
include xarray/_version.py
31 changes: 28 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ xarray: N-D labeled arrays and datasets
:target: https://ci.appveyor.com/project/shoyer/xray
.. image:: https://coveralls.io/repos/pydata/xarray/badge.svg
:target: https://coveralls.io/r/pydata/xarray
.. image:: https://readthedocs.org/projects/xray/badge/?version=latest
:target: http://xarray.pydata.org/
.. image:: https://img.shields.io/pypi/v/xarray.svg
:target: https://pypi.python.org/pypi/xarray/
.. image:: https://zenodo.org/badge/13221727.svg
:target: https://zenodo.org/badge/latestdoi/13221727
.. image:: http://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat
:target: https://tomaugspurger.github.io/asv-collection/xarray/
:target: http://pandas.pydata.org/speed/xarray/
.. image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
:target: http://numfocus.org

**xarray** (formerly **xray**) is an open source project and Python package that aims to bring the
labeled data power of pandas_ to the physical sciences, by providing
Expand Down Expand Up @@ -84,6 +88,11 @@ Documentation

The official documentation is hosted on ReadTheDocs at http://xarray.pydata.org/

Contributing
------------

You can find information about contributing to xarray at our `Contributing page <http://xarray.pydata.org/en/latest/contributing.html#>`_.

Get in touch
------------

Expand All @@ -96,20 +105,36 @@ Get in touch
.. _mailing list: https://groups.google.com/forum/#!forum/xarray
.. _on GitHub: http://github.com/pydata/xarray

NumFOCUS
--------

.. image:: https://numfocus.org/wp-content/uploads/2017/07/NumFocus_LRG.png
:scale: 25 %
:target: https://numfocus.org/

Xarray is a fiscally sponsored project of NumFOCUS_, a nonprofit dedicated
to supporting the open source scientific computing community. If you like
Xarray and want to support our mission, please consider making a donation_
to support our efforts.

.. _donation: https://www.flipcause.com/secure/cause_pdetails/NDE2NTU=

History
-------

xarray is an evolution of an internal tool developed at `The Climate
Corporation`__. It was originally written by Climate Corp researchers Stephan
Hoyer, Alex Kleeman and Eugene Brevdo and was released as open source in
May 2014. The project was renamed from "xray" in January 2016.
May 2014. The project was renamed from "xray" in January 2016. Xarray became a
fiscally sponsored project of NumFOCUS_ in August 2018.

__ http://climate.com/
.. _NumFOCUS: https://numfocus.org

License
-------

Copyright 2014-2017, xarray Developers
Copyright 2014-2018, xarray Developers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"netcdf4": [""],
"scipy": [""],
"bottleneck": ["", null],
"dask": ["", null],
"dask": [""],
"distributed": [""],
},


Expand Down
Loading