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

pydata / xarray / 5171
96%

Build:
DEFAULT BRANCH: master
Ran 13 May 2018 05:38AM UTC
Jobs 9
Files 89
Run time 36min
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
5171

push

travis-ci

jhamman
CFTimeIndex (#1252)

* Start on implementing and testing NetCDFTimeIndex

* TST Move to using pytest fixtures to structure tests

* Address initial review comments

* Address second round of review comments

* Fix failing python3 tests

* Match test method name to method name

* First attempts at integrating NetCDFTimeIndex into xarray

This is a first pass at the following:
- Resetting the logic for decoding datetimes such that `np.datetime64` objects
are never used for non-standard calendars
- Adding logic to use a `NetCDFTimeIndex` whenever `netcdftime.datetime`
objects are used in an array being cast as an index (so if one reads in a
Dataset from a netCDF file or creates one in Python, which is indexed by a time
coordinate that uses `netcdftime.datetime` objects a NetCDFTimeIndex will be
used rather than a generic object-based index)
- Adding logic to encode `netcdftime.datetime` objects when saving out to
netCDF files

* Cleanup

* Fix DataFrame and Series test failures for NetCDFTimeIndex

These were related to a recent minor upstream change in pandas:
https://github.com/pandas-dev/pandas/blame/master/pandas/core/indexing.py#L1433

* First pass at making NetCDFTimeIndex compatible with #1356

* Address initial review comments

* Restore test_conventions.py

* Fix failing test in test_utils.py

* flake8

* Update for standalone netcdftime

* Address stickler-ci comments

* Skip test_format_netcdftime_datetime if netcdftime not installed

* A start on documentation

* Fix failing zarr tests related to netcdftime encoding

* Simplify test_decode_standard_calendar_single_element_non_ns_range

* Address a couple review comments

* Use else clause in _maybe_cast_to_netcdftimeindex

* Start on adding enable_netcdftimeindex option

* Continue parametrizing tests in test_coding_times.py

* Update time-series.rst for enable_netcdftimeindex option

* Use :py:func: in rst for xarray.set_options... (continued)

23096 of 23823 relevant lines covered (96.95%)

7.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5171.1 (CONDA_ENV=py27-min) 13 May 2018 05:38AM UTC 0
67.8
Travis Job 5171.1
2 5171.2 (CONDA_ENV=py27-cdat+iris+pynio) 13 May 2018 05:48AM UTC 0
95.2
Travis Job 5171.2
3 5171.3 (CONDA_ENV=py34) 13 May 2018 05:42AM UTC 0
68.09
Travis Job 5171.3
4 5171.4 (CONDA_ENV=py35) 13 May 2018 05:52AM UTC 0
94.53
Travis Job 5171.4
5 5171.5 (CONDA_ENV=py36) 13 May 2018 05:50AM UTC 0
95.59
Travis Job 5171.5
7 5171.7 (CONDA_ENV=py36-hypothesis) 13 May 2018 05:54AM UTC 0
Travis Job 5171.7
8 5171.8 (CONDA_ENV=py36 EXTRA_FLAGS="--run-flaky --run-network-tests") 13 May 2018 06:08AM UTC 0
95.82
Travis Job 5171.8
12 5171.12 (CONDA_ENV=py36-bottleneck-dev) 13 May 2018 06:03AM UTC 0
93.18
Travis Job 5171.12
15 5171.15 (CONDA_ENV=py36-rasterio1.0alpha) 13 May 2018 06:15AM UTC 0
94.66
Travis Job 5171.15
Source Files on build 5171
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5171
  • ebe0dd03 on github
  • Prev Build on master (#5167)
  • Next Build on master (#5176)
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