-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use conda-forge netcdftime wherever netcdf4 was tested #1933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7bf38fb
use stand-alone netcdftime from conda-forge
d6d44ab
Merge branch 'master' of github.com:pydata/xarray into test/travis_ne…
f3e607b
remove temporary netcdftime development build
0614bc4
Merge branch 'master' of github.com:pydata/xarray into test/travis_ne…
8415a12
more docs, bump for tests
d51d688
update docs a bit
493c262
Merge branch 'master' of github.com:pydata/xarray into test/travis_ne…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- numpy | ||
- pandas | ||
- pathlib2 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pathlib2 | ||
- pytest | ||
- flake8 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pynio=dev | ||
- pytest | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- numpy | ||
- pandas | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- numpy | ||
- pandas | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ dependencies: | |
- seaborn | ||
- toolz | ||
- bottleneck | ||
- netcdftime | ||
- pip: | ||
- coveralls | ||
- pytest-cov | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dependencies: | |
- h5netcdf | ||
- matplotlib | ||
- netcdf4 | ||
- netcdftime | ||
- pytest | ||
- flake8 | ||
- numpy | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,17 @@ attribute like ``'days since 2000-01-01'``). | |
|
||
.. _CF conventions: http://cfconventions.org | ||
|
||
.. note:: | ||
|
||
When decoding/encoding datetimes for non-standard calendars or for dates | ||
before year 1678 or after year 2262, xarray uses the `netcdftime`_ library. | ||
``netcdftime`` was previously packaged with the ``netcdf4-python`` package but | ||
is now diestributed separately. ``netcdftime`` is an | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo: distributed |
||
:ref:`optional dependency<installing>` of xarray. | ||
|
||
.. _netcdftime: https://unidata.github.io/netcdftime | ||
|
||
|
||
You can manual decode arrays in this form by passing a dataset to | ||
:py:func:`~xarray.decode_cf`: | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add:
or dates before year 1678 or after year 2262