-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rename to `decode_non_cf_time()` and remove logic for cf unit decoding - Fix incorrect start date for pandas date range by adding offset from first coordinate point Refactor function and variable names - Update `xcdat_infer` attr from None to "None" since `to_netcdf` does not support None type - Update fixtures for non cf time bounds and `generate_dataset()` Update `decode_non_cf_time()` to use offsets correctly - Using pd.date_range() is incorrect because it assumes no gaps or missing data. It also resets offsets to beginning of the month and year and does not consider leap years - pd.DataOffset considers relative arithmetic operations based on the calendar Update `decode_non_cf_time()` to handle time bounds - Update tests for `decode_non_cf_time()` Add functions to `__init__.py` - Update time fixtures with correct attributes Add `_preprocess_non_cf_dataset()` - Add test for callable in `_preprocess_non_cf_dataset`
- Loading branch information
1 parent
ec6e20c
commit 10ffc6b
Showing
5 changed files
with
810 additions
and
478 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
Oops, something went wrong.