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

Auto convert attribute times #254

Merged
merged 1 commit into from
May 3, 2024

Conversation

bryan-harter
Copy link
Collaborator

  • Attributes that are given a datetime64 or datetime object are automatically converted to a cdf time in xarray_to_cdf
  • Attributes that have the data type EPOCH/EPOCH16/TT2000 in a CDF file are put into an attribute list "TIME_ATTRS" in cdf_to_xarray
  • Attributes that are in the attribute "TIME_ATTRS" are automatically converted to a cdf time in xarray_to_cdf

@bryan-harter bryan-harter merged commit 74516a2 into MAVENSDC:main May 3, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant