-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Preserve nanosecond resolution when encoding/decoding times #7827
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 21 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
db94bb9
preserve nanosecond resolution when encoding/decoding times.
kmuehlbauer 82b74ec
Apply suggestions from code review
kmuehlbauer 8da55ac
use emit_user_level_warning
kmuehlbauer 96f60fc
move time alignment for nc3 to encode_nc3_variable
kmuehlbauer 4f6440a
fix test for encode_cf_timedelta
kmuehlbauer f8e961f
fix CFMaskCoder for time-like (also allow timedelta64), add first tests
kmuehlbauer c97d7b4
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer 06ed4bf
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer 5e4a5ee
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer 2365da0
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer d020bbc
rename to _unpack_time_units_and_ref_date as suggested in review
kmuehlbauer a8c6057
refactor delta -> time_units as suggested in review
kmuehlbauer 9b96ff7
refactor out function _time_units_to_timedelta64, reorder flow and re…
kmuehlbauer 5adb58e
import _is_time_like from coding.variables
kmuehlbauer 87fbb1a
adapt tests, add _numpy_to_netcdf_timeunit-conversion function
kmuehlbauer 1fbc881
adapt tests, add _numpy_to_netcdf_timeunit-conversion function
kmuehlbauer 8a6ecb5
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer c1f810c
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer 7f2b8b4
Merge branch 'main' into nanoseconds-resolution
kmuehlbauer d538ea9
adapt test as per review, remove arm_xfail for backend test
kmuehlbauer a75e4b8
add whats-new.rst entry
kmuehlbauer d4a71cd
Update doc/whats-new.rst
kmuehlbauer 4dca66e
Update doc/whats-new.rst
kmuehlbauer ee1b939
Merge remote-tracking branch 'origin/main' into nanoseconds-resolution
kmuehlbauer ebb00b8
fix whats-new.rst
kmuehlbauer c4d4a92
Merge remote-tracking branch 'origin/main' into nanoseconds-resolution
kmuehlbauer 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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.