issues: 408772665
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
408772665 | MDU6SXNzdWU0MDg3NzI2NjU= | 2761 | 'standard' calendar refers to 'proleptic_gregorian' in cftime_range rather than 'gregorian' | 6628425 | closed | 0 | 2 | 2019-02-11T13:06:05Z | 2019-02-15T21:58:16Z | 2019-02-15T21:58:16Z | MEMBER | Code Sample, a copy-pastable example if possible```python In [1]: import xarray In [2]: xarray.cftime_range('2000', periods=3, calendar='standard').values Out[2]: array([cftime.DatetimeProlepticGregorian(2000, 1, 1, 0, 0, 0, 0, -1, 1), cftime.DatetimeProlepticGregorian(2000, 1, 2, 0, 0, 0, 0, -1, 1), cftime.DatetimeProlepticGregorian(2000, 1, 3, 0, 0, 0, 0, -1, 1)], dtype=object) ``` Problem descriptionWhen writing Expected Output
Do others agree that we should fix this? If we were to make this change, would it be appropriate to consider it a bug and simply make the breaking change immediately, or might we need a deprecation cycle? |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |