Skip to content
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

Deprecate xr.cftime_range in favor of xr.date_range #9886

Open
dcherian opened this issue Dec 13, 2024 · 1 comment
Open

Deprecate xr.cftime_range in favor of xr.date_range #9886

dcherian opened this issue Dec 13, 2024 · 1 comment

Comments

@dcherian
Copy link
Contributor

dcherian commented Dec 13, 2024

What is your issue?

xr.date_range automatically chooses a return type based on calendar and can take use_cftime=True to always return CFTimeIndex, so I don't see why we need xr.cftime_range any more

@dcherian dcherian added needs triage Issue that has not been reviewed by xarray team member contrib-good-first-issue and removed needs triage Issue that has not been reviewed by xarray team member labels Dec 13, 2024
@spencerkclark
Copy link
Member

+1, indeed we can make cftime_range private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants