-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
date_range: set default freq to 'D' only if periods, start, or end ar…
…e None (#8774) * Fixing issue #8770: Improved frequency parameter logic to set it to 'D' only if periods, start, or end are None. * Addressed feedback: Updated default argument handling in cftime_range to ensure consistency across date range functions * Update doc/whats-new.rst Co-authored-by: Mathias Hauser <[email protected]> * Update xarray/tests/test_cftime_offsets.py Co-authored-by: Mathias Hauser <[email protected]> * Update xarray/tests/test_cftime_offsets.py Co-authored-by: Mathias Hauser <[email protected]> * Input argument period included in test_cftime_range_no_freq and test_date_range_no_freq following #8770 * Update doc/whats-new.rst Co-authored-by: Spencer Clark <[email protected]> --------- Co-authored-by: Mathias Hauser <[email protected]> Co-authored-by: Spencer Clark <[email protected]>
- Loading branch information
1 parent
d9760f3
commit f63ec87
Showing
3 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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 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