• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pydata / xarray / 4160
96%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2017 01:52AM UTC
Jobs 7
Files 53
Run time 23min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4160

cron

travis-ci

web-flow
Refactor xarray.conventions into VariableCoder (#1752)

* Refactor xarray.conventions into VariableCoder

I would like to propose refactoring xarray.conventions to use an interface
based on VariableCoder objects with encode() and decode() methods.

The idea is make it easier to write new backends, by making decoding variables
according to CF conventions as simple as calling decode() on each coder in a
list of coders, with encoding defined by calling the same list of encoders in
the opposite order.

As a proof of concept, here I implement only a single Coder. In addition to
making use of xarray's existing lazy indexing behavior, I have written it so
that dask arrays are decoded using dask.

Eventually, we should port all the coders in xarray.conventions to this new
format. This is probably best saved for future PRs -- help would be appreciated!

* Fix failing test

* Add __init__.py

8381 of 8881 relevant lines covered (94.37%)

5.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4160.1 (CONDA_ENV=py27-min) 15 Dec 2017 01:54AM UTC 0
72.68
Travis Job 4160.1
2 4160.2 (CONDA_ENV=py27-cdat+pynio) 15 Dec 2017 01:56AM UTC 0
91.92
Travis Job 4160.2
3 4160.3 (CONDA_ENV=py34) 15 Dec 2017 01:52AM UTC 0
72.41
Travis Job 4160.3
4 4160.4 (CONDA_ENV=py35) 15 Dec 2017 01:55AM UTC 0
90.88
Travis Job 4160.4
5 4160.5 (CONDA_ENV=py36) 15 Dec 2017 01:53AM UTC 0
91.12
Travis Job 4160.5
13 4160.13 (CONDA_ENV=py36-rasterio1.0alpha) 15 Dec 2017 02:13AM UTC 0
90.25
Travis Job 4160.13
14 4160.14 (CONDA_ENV=py36-zarr-dev) 15 Dec 2017 02:15AM UTC 0
88.71
Travis Job 4160.14
Source Files on build 4160
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4160
  • 19fb7572 on github
  • Prev Build on master (#4158)
  • Next Build on master (#4165)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc