Skip to content
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

Merge new changes in pydata master #4

Merged
merged 108 commits into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
70e9eb8
add missing , and article in error message (#2557)
gerritholl Nov 16, 2018
57fdcc5
DOC: fix computation.rst (#2567)
shoyer Nov 24, 2018
9d572a5
Return slices when possible from CFTimeIndex.get_loc() (#2569)
shoyer Nov 24, 2018
ecbf91f
python setup.py test now works by default (#2573)
horta Nov 25, 2018
a2a448d
DOC: remove example using Dataset.T (#2572)
shoyer Nov 26, 2018
483b8a0
Concat docstring typo (#2577)
max-sixty Nov 27, 2018
22a5763
Fix typo (#2578)
davidbrochart Nov 28, 2018
0d6056e
fix examples (#2581)
dcherian Nov 28, 2018
3ae93ac
Zarr consolidated (#2559)
rabernat Dec 4, 2018
77634d4
Minor update to PR template (#2596)
shoyer Dec 9, 2018
53746c9
Fix h5netcdf saving scalars with filters or chunks (#2591)
mraspaud Dec 11, 2018
5d8ef5f
Add dayofyear and dayofweek accessors (#2599)
spencerkclark Dec 11, 2018
6881503
Fix wrong error message in interp() (#2598)
lumbric Dec 11, 2018
23483ad
Temporarily mark dask-dev build as an allowed failure (#2602)
shoyer Dec 12, 2018
82789bc
use keep_attrs in binary operations II (#2590)
MBlaschek Dec 12, 2018
cbb32e1
Bump cftime version in doc environment (#2604)
spencerkclark Dec 13, 2018
2223445
Support HighLevelGraphs (#2603)
mrocklin Dec 13, 2018
9e8707d
Feature: N-dimensional auto_combine (#2553)
TomNicholas Dec 13, 2018
09494eb
fix a few typos in rst files (#2607)
visr Dec 14, 2018
f8cced7
Fix parsing '_Unsigned' attribute (#2584)
dcherian Dec 15, 2018
090564c
doc fixes. (#2611)
dcherian Dec 17, 2018
a4c9ab5
Remove meaningless tz argument in cftime_range (#2613)
spencerkclark Dec 18, 2018
30288e8
Remove failing Appveyor Python 2.7 32-bit build (#2617)
shoyer Dec 19, 2018
778ffc4
.resample now supports loffset. (#2608)
dcherian Dec 19, 2018
57348ab
CF: also decode time bounds when available (#2571)
fmaussion Dec 19, 2018
a15587d
FIX Don't raise a deprecation warning for xarray.ufuncs.{angle,iscomp…
rth Dec 20, 2018
ce52341
Get 0d slices of ndarrays directly from indexing (#2625)
danielwe Dec 22, 2018
9352b3c
added some logic to deal with rasterio objects in addition to filepat…
scottyhq Dec 23, 2018
c2ce5ea
Close files when CachingFileManager is garbage collected (#2595)
shoyer Dec 23, 2018
b5059a5
Fix multiindex selection (#2621)
fujiisoup Dec 24, 2018
7fcb80f
Fix failure in time encoding for pandas < 0.21.1 (#2630)
spencerkclark Dec 24, 2018
d8d87d2
Allow passing of positional arguments in `apply` for Groupby objects …
maaleske Dec 24, 2018
2667deb
Flake fixed (#2629)
max-sixty Dec 25, 2018
85ded91
fill_value in shift (#2470)
max-sixty Dec 27, 2018
bc5558e
silence import warning (#2635)
max-sixty Dec 28, 2018
a8e5002
Fix dayofweek and dayofyear attributes from dates generated by cftime…
spencerkclark Dec 28, 2018
1545b50
Add flake check to travis (#2632)
max-sixty Dec 30, 2018
250b19c
Source encoding always set when opening datasets (#2626)
TomNicholas Dec 30, 2018
d1d2ece
DOC: fix docstrings and doc build for 0.11.1
shoyer Dec 30, 2018
e95f765
revert to dev version
shoyer Dec 30, 2018
11e6aac
TST: silence warnings from bottleneck (#2638)
shoyer Dec 31, 2018
faacc8d
DEP: drop python 2 support and associated ci mods (#2637)
Jan 2, 2019
c62c4fa
BUG: pytest-runner no required for setup.py (#2643)
shoyer Jan 3, 2019
49731d4
Use built-in interp for interpolation with resample (#2640)
spencerkclark Jan 3, 2019
cb5ef42
DOC: document v0.11.2 release
shoyer Jan 3, 2019
a70b3c4
Switch whats-new for 0.11.2 -> 0.11.3
shoyer Jan 3, 2019
28123bb
Use pycodestyle for lint checks. (#2642)
shoyer Jan 3, 2019
06244df
ENH: switch Dataset and DataArray to use explicit indexes (#2639)
shoyer Jan 4, 2019
ee44478
Change an `==` to an `is`. Fix tests so that this won't happen again.…
WeatherGod Jan 5, 2019
85f88e7
Convert ref_date to UTC in encode_cf_datetime (#2651)
spencerkclark Jan 5, 2019
a0bbea8
revise top-level package description (#2430)
rabernat Jan 6, 2019
dba299b
Improve test for GH 2649 (#2654)
spencerkclark Jan 6, 2019
ede3e01
Added Coarsen (#2612)
fujiisoup Jan 6, 2019
6963164
Type checking with mypy (#2655)
shoyer Jan 8, 2019
6795fd0
Remove broken Travis-CI builds (#2661)
shoyer Jan 8, 2019
d4c4682
DOC: refresh "Why xarray" and shorten top-level description (#2657)
shoyer Jan 11, 2019
44a8c97
xfail cftimeindex multiindex test (#2669)
shoyer Jan 13, 2019
f13536c
Fix test failures with numpy=1.16 (#2675)
shoyer Jan 15, 2019
5a96460
Update README.rst (#2682)
max-sixty Jan 16, 2019
dc87dea
Hotfix for #2662 (#2678)
TomNicholas Jan 17, 2019
1d0a2bc
Detailed report for testing.assert_equal and testing.assert_identical…
benbovy Jan 18, 2019
385b36c
try no rasterio in py36 env (#2691)
Jan 18, 2019
ec255eb
Update asv.conf.json (#2693)
TomAugspurger Jan 19, 2019
a7d55b9
to_dict without data (#2659)
rabernat Jan 21, 2019
1e67c23
Config for closing stale issues (#2684)
max-sixty Jan 23, 2019
e53f21c
add line break to message posted (#2698)
max-sixty Jan 23, 2019
ddacf40
Update indexing.rst (#2700)
pythonweb2 Jan 23, 2019
79fa060
stale requires a label (#2701)
max-sixty Jan 24, 2019
aabda43
Remove py2 compat (#2645)
Jan 25, 2019
cc5015a
BUG: ensure indexes are reset when coords are modified (#2707)
shoyer Jan 25, 2019
2e99c7d
Print full environment fron conf.py (#2709)
shoyer Jan 25, 2019
8ca8efe
Update environment for doc build (#2708)
shoyer Jan 26, 2019
882deac
DOC: refresh whats-new for 0.11.3 / 0.12.0 (#2718)
shoyer Jan 27, 2019
620b946
Fix test failures / warnings for pandas 0.24 (#2720)
shoyer Jan 27, 2019
e8bf4bf
Bugfix for line plot axes (#2726)
TomNicholas Jan 30, 2019
fd2552a
Enable subtracting a scalar cftime.datetime object from a CFTimeIndex…
spencerkclark Jan 30, 2019
37a947a
Refactor plot utils (#2670)
dcherian Jan 30, 2019
5527f69
silence a couple of warnings (#2727)
max-sixty Jan 30, 2019
ce3ef3a
improve error message for invalid encoding (#2730)
Jan 31, 2019
3cc0d22
ENH: resample methods with tolerance (#2716)
observingClouds Jan 31, 2019
4923039
Implement integrate (#2653)
fujiisoup Jan 31, 2019
d634f64
deprecate compat & encoding (#2703)
max-sixty Feb 1, 2019
a1ff90b
dropna() for a Series indexed by a CFTimeIndex (#2734)
spencerkclark Feb 2, 2019
0da9d62
add tests for handling of empty pandas objects in constructors (#2735)
Feb 2, 2019
d8ff079
CFTimeIndex Resampling (#2593)
jwenfai Feb 3, 2019
2ef3f0b
remove bottleneck dev build from travis, this test env was failing to…
Feb 3, 2019
053aed1
Reenable cross engine read write netCDF test (#2739)
shoyer Feb 4, 2019
27cf53f
remove xfail from test_cross_engine_read_write_netcdf4 (#2741)
Feb 4, 2019
e677b7a
Refactor (part of) dataset.py to use explicit indexes (#2696)
shoyer Feb 6, 2019
0c73a38
Fix CRS being WKT instead of PROJ.4 (#2715)
djhoese Feb 6, 2019
1abc45b
reintroduce pynio/rasterio/iris to py36 test env (#2738)
Feb 7, 2019
0dfc0e6
BUG: Pass kwargs to the FileManager for pynio engine (#2380) (#2732)
jonmjoyce Feb 7, 2019
e097763
remove references to cyordereddict (#2750)
Feb 7, 2019
8a1a8a1
enable internal plotting with cftime datetime (#2665)
Feb 8, 2019
6d20766
Fix mypy errors (#2753)
shoyer Feb 8, 2019
4cd56a9
fix datetime_to_numeric and Variable._to_numeric (#2668)
fujiisoup Feb 11, 2019
07cfc5a
Fix name loss when masking (#2749)
yohai Feb 11, 2019
fd9b0b0
add h5netcdf+dask tests (#2737)
Feb 12, 2019
2089382
Update computation.py to use Python 3 function signatures (#2756)
shoyer Feb 12, 2019
17fa64f
typo in whats_new (#2763)
yohai Feb 12, 2019
cd8e370
'standard' now refers to 'gregorian' in cftime_range (#2771)
spencerkclark Feb 15, 2019
57cd76d
Bugfix/reduce no axis (#2769)
TomNicholas Feb 19, 2019
612d390
Add use_cftime option to open_dataset (#2759)
spencerkclark Feb 19, 2019
627a881
Quarter offset implemented (base is now latest pydata-master). (#2721)
jwenfai Mar 2, 2019
e8eb83b
Add `Dataset.drop_dims` (#2767)
kmsquire Mar 3, 2019
c33dab2
Improve name concat (#2792)
TomNicholas Mar 4, 2019
0c534b0
Don't use deprecated np.asscalar() (#2800)
TimoRoth Mar 5, 2019
c770eec
Add support for cftime.datetime coordinates with coarsen (#2778)
spencerkclark Mar 6, 2019
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
8 changes: 5 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- [ ] 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)
- [ ] 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)
<!-- Feel free to remove check-list items aren't relevant to your change -->

- [ ] Closes #xxxx
- [ ] Tests added
- [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API
59 changes: 59 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 700 # start with a large number and reduce shortly

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 30

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: true

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity

If this issue remains relevant, please comment here or remove the `stale` label; otherwise it will be marked as closed automatically

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 1 # start with a small number


# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
14 changes: 9 additions & 5 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# File : .pep8speaks.yml

# This should be kept in sync with the duplicate config in the [pycodestyle]
# block of setup.cfg.

scanner:
diff_only: True # If True, errors caused by only the patch are shown
diff_only: False # 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
- E402 # module level import not at top of file
- E731 # do not assign a lambda expression, use a def
- E741 # ambiguous variable name
- W503 # line break before binary operator
- W504 # line break after binary operator
35 changes: 10 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,58 +10,41 @@ branches:
matrix:
fast_finish: true
include:
- env: CONDA_ENV=py27-min
- env: CONDA_ENV=py27-cdat+iris+pynio
- env: CONDA_ENV=py35-min
- env: CONDA_ENV=py35
- env: CONDA_ENV=py36
- env: CONDA_ENV=py37
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-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-rasterio
- env: CONDA_ENV=py36-zarr-dev
- env: CONDA_ENV=docs
- env: CONDA_ENV=lint
- env: CONDA_ENV=py36-hypothesis

allow_failures:
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-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:
- wget http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86_64.sh -O miniconda.sh;
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- conda update -q conda
- conda info -a

install:
- if [[ "$CONDA_ENV" == "docs" ]]; then
conda env create -n test_env --file doc/environment.yml;
elif [[ "$CONDA_ENV" == "lint" ]]; then
conda env create -n test_env --file ci/requirements-py37.yml;
else
conda env create -n test_env --file ci/requirements-$CONDA_ENV.yml;
fi
Expand All @@ -75,8 +58,10 @@ script:
- python --version
- python -OO -c "import xarray"
- 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;
cd doc;
sphinx-build -n -j auto -b html -d _build/doctrees . _build/html;
elif [[ "$CONDA_ENV" == "lint" ]]; then
pycodestyle xarray ;
elif [[ "$CONDA_ENV" == "py36-hypothesis" ]]; then
pytest properties ;
else
Expand Down
84 changes: 32 additions & 52 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,47 @@ xarray: N-D labeled arrays and datasets
: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: 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
.. image:: https://img.shields.io/pypi/v/xarray.svg
:target: https://pypi.python.org/pypi/xarray/

**xarray** (formerly **xray**) is an open source project and Python package
that makes working with labelled multi-dimensional arrays simple,
efficient, and fun!

**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
N-dimensional variants of the core pandas data structures.
Xarray introduces labels in the form of dimensions, coordinates and
attributes on top of raw NumPy_-like arrays, which allows for a more
intuitive, more concise, and less error-prone developer experience.
The package includes a large and growing library of domain-agnostic functions
for advanced analytics and visualization with these data structures.

Our goal is to provide a pandas-like and pandas-compatible toolkit for
analytics on multi-dimensional arrays, rather than the tabular data for which
pandas excels. Our approach adopts the `Common Data Model`_ for self-
describing scientific data in widespread use in the Earth sciences:
``xarray.Dataset`` is an in-memory representation of a netCDF file.
Xarray was inspired by and borrows heavily from pandas_, the popular data
analysis package focused on labelled tabular data.
It is particularly tailored to working with netCDF_ files, which were the
source of xarray's data model, and integrates tightly with dask_ for parallel
computing.

.. _NumPy: http://www.numpy.org
.. _pandas: http://pandas.pydata.org
.. _Common Data Model: http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/CDM
.. _dask: http://dask.org
.. _netCDF: http://www.unidata.ucar.edu/software/netcdf
.. _OPeNDAP: http://www.opendap.org/

Why xarray?
-----------

Adding dimensions names and coordinate indexes to numpy's ndarray_ makes many
powerful array operations possible:
Multi-dimensional (a.k.a. N-dimensional, ND) arrays (sometimes called
"tensors") are an essential part of computational science.
They are encountered in a wide range of fields, including physics, astronomy,
geoscience, bioinformatics, engineering, finance, and deep learning.
In Python, NumPy_ provides the fundamental data structure and API for
working with raw ND arrays.
However, real-world datasets are usually more than just raw numbers;
they have labels which encode information about how the array values map
to locations in space, time, etc.

Xarray doesn't just keep track of labels on arrays -- it uses them to provide a
powerful and concise interface. For example:

- Apply operations over dimensions by name: ``x.sum('time')``.
- Select values by label instead of integer location:
Expand All @@ -51,42 +63,10 @@ powerful array operations possible:
- Keep track of arbitrary metadata in the form of a Python dictionary:
``x.attrs``.

pandas_ provides many of these features, but it does not make use of dimension
names, and its core data structures are fixed dimensional arrays.

Why isn't pandas enough?
------------------------

pandas_ excels at working with tabular data. That suffices for many statistical
analyses, but physical scientists rely on N-dimensional arrays -- which is
where xarray comes in.

xarray aims to provide a data analysis toolkit as powerful as pandas_ but
designed for working with homogeneous N-dimensional arrays
instead of tabular data. When possible, we copy the pandas API and rely on
pandas's highly optimized internals (in particular, for fast indexing).

Why netCDF?
-----------

Because xarray implements the same data model as the netCDF_ file format,
xarray datasets have a natural and portable serialization format. But it is also
easy to robustly convert an xarray ``DataArray`` to and from a numpy ``ndarray``
or a pandas ``DataFrame`` or ``Series``, providing compatibility with the full
`PyData ecosystem <http://pydata.org/>`__.

Our target audience is anyone who needs N-dimensional labeled arrays, but we
are particularly focused on the data analysis needs of physical scientists --
especially geoscientists who already know and love netCDF_.

.. _ndarray: http://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html
.. _pandas: http://pandas.pydata.org
.. _netCDF: http://www.unidata.ucar.edu/software/netcdf

Documentation
-------------

The official documentation is hosted on ReadTheDocs at http://xarray.pydata.org/
Learn more about xarray in its official documentation at http://xarray.pydata.org/

Contributing
------------
Expand Down Expand Up @@ -134,7 +114,7 @@ __ http://climate.com/
License
-------

Copyright 2014-2018, xarray Developers
Copyright 2014-2019, 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
14 changes: 4 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@ branches:
environment:

matrix:
- PYTHON: "C:\\Python27-conda32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
CONDA_ENV: "py27-windows"

- PYTHON: "C:\\Python27-conda64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
CONDA_ENV: "py27-windows"

- PYTHON: "C:\\Python36-conda64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_ENV: "py36-windows"
- PYTHON: "C:\\Python37-conda64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
CONDA_ENV: "py37-windows"

install:
# Install miniconda Python
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
"pythons": ["2.7", "3.6"],
"pythons": ["3.6"],

// The matrix of dependencies to test. Each key is the name of a
// package (in PyPI) and the values are version numbers. An empty
Expand Down
8 changes: 4 additions & 4 deletions ci/install_python.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# Authors: Olivier Grisel, Jonathan Helmus and Kyle Kastner
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/

$MINICONDA_URL = "http://repo.continuum.io/miniconda/"
$MINICONDA_URL = "https://repo.anaconda.com/miniconda/"
$BASE_URL = "https://www.python.org/ftp/python/"


function DownloadMiniconda ($python_version, $platform_suffix) {
$webclient = New-Object System.Net.WebClient
if ($python_version -match "3.6") {
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
} else {
if ($python_version -match "2.7") {
$filename = "Miniconda2-latest-Windows-" + $platform_suffix + ".exe"
} else {
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
}
$url = $MINICONDA_URL + $filename

Expand Down
30 changes: 0 additions & 30 deletions ci/requirements-py27-cdat+iris+pynio.yml

This file was deleted.

5 changes: 3 additions & 2 deletions ci/requirements-py27-min.yml → ci/requirements-py35-min.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: test_env
dependencies:
- python=2.7
- python=3.5
- pytest
- flake8
- mock
- numpy=1.12
- pandas=0.19
- pip:
- coveralls
- pytest-env
- pytest-cov
- coveralls
Loading