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

pydata / xarray / 4158 / 3
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2017 05:47PM UTC
Files 53
Run time 2s
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

14 Dec 2017 05:43PM UTC coverage: 72.413% (+0.08%) from 72.33%
CONDA_ENV=py34

push

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

6431 of 8881 relevant lines covered (72.41%)

0.72 hits per line

Source Files on job 4158.3 (CONDA_ENV=py34)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4158
  • Travis Job 4158.3
  • 19fb7572 on github
  • Prev Job for CONDA_ENV=py34 on master (#4153.3)
  • Next Job for CONDA_ENV=py34 on master (#4160.3)
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