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

pydata / xarray / 4204
96%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2017 03:20PM UTC
Jobs 7
Files 53
Run time 25min
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
4204

push

travis-ci

shoyer
xarray to and from Iris (#1750)

* Added a first go at a converter from xarray.DataArrays objects to Iris.cube.Cube objects. Uses the same template as the cdms2 conversion.

* Update tests to use original.coords and add extra tests for coord attributes

* Remove set literals just in case. Replace has_key with in. Use AuxCoord and DimCoord correctly so 2d coords will work. Use dims variable to convert dimension numbers into names. Add 2d coord to test DataArray.

* Create dimensions if the Iris cube does not have any

* Add code to convert cell_methods

* Don't append blank cell method

* Update cell method code to use internal Iris functions. Also add tests.

* Update the API for IRIS change

* Move helper functions outside of main functions

* Update to build dims with mix of Dimension and Auxiliary coordinates

* Fix import after merge

* Bug fix / refactoring

* Change the dencode_cf method and raise error if coord has no var_name

* Add missing test and two minor fixes

* Replacing function calls with set literals

* Adding what's new and updating api.rst

* Adding from_cube method to docs

* Make Iris dependency >=1.10 so we can rely on the newer parse_cell_methods interface (this is already pretty old now)

* Adding Iris section to the I/O docs

* Fixing typos

* Improving error message

* Test edge cases

* Preserve dask data arrays if at all possible. Convert to (dask) masked arrays when going to Iris and filled (dask) arrays when coming from Iris.

* Updates to remove the hard dependency on dask, and to test the conversion of dask arrays which may or may not be masked.

* Minor doc fixes

* Minor typo

* Use dask_array_type for dask checks

* Updating to run the iris docs

* Fix typo

* Fixing long lines

8606 of 9084 relevant lines covered (94.74%)

5.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4204.1 (CONDA_ENV=py27-min) 20 Dec 2017 03:20PM UTC 0
71.69
Travis Job 4204.1
2 4204.2 (CONDA_ENV=py27-cdat+iris+pynio) 20 Dec 2017 03:25PM UTC 0
91.95
Travis Job 4204.2
3 4204.3 (CONDA_ENV=py34) 20 Dec 2017 03:21PM UTC 0
71.66
Travis Job 4204.3
4 4204.4 (CONDA_ENV=py35) 20 Dec 2017 03:26PM UTC 0
89.71
Travis Job 4204.4
5 4204.5 (CONDA_ENV=py36) 20 Dec 2017 03:24PM UTC 0
90.19
Travis Job 4204.5
13 4204.13 (CONDA_ENV=py36-rasterio1.0alpha) 20 Dec 2017 03:45PM UTC 0
90.32
Travis Job 4204.13
14 4204.14 (CONDA_ENV=py36-zarr-dev) 20 Dec 2017 03:45PM UTC 0
87.84
Travis Job 4204.14
Source Files on build 4204
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4204
  • eeb109d9 on github
  • Prev Build on master (#4201)
  • Next Build on master (#4210)
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