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

pydata / xarray / 5171 / 12
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 13 May 2018 06:03AM UTC
Files 89
Run time 3s
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

13 May 2018 05:19AM UTC coverage: 93.179% (+0.2%) from 92.994%
CONDA_ENV=py36-bottleneck-dev

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)

22197 of 23822 relevant lines covered (93.18%)

0.93 hits per line

Source Files on job 5171.12 (CONDA_ENV=py36-bottleneck-dev)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 14
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4748
  • Travis Job 5171.12
  • ebe0dd03 on github
  • Prev Job for CONDA_ENV=py36-bottleneck-dev on master (#5167.12)
  • Next Job for CONDA_ENV=py36-bottleneck-dev on master (#5176.12)
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