Skip to content

Enable uduints based time coordinates on scan aggregations #1439

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 3 commits into from
Apr 18, 2025

Conversation

lesserwhirls
Copy link
Member

@lesserwhirls lesserwhirls commented Apr 18, 2025

Description of Changes

Scan-based aggregations with a dateFormatMark produce a String time variable with ISO time string formatted values. This commit enables users to configure the aggregation to produce numeric, udunits based time variables. This improves compatibility with popular clients, such as xarray. Closes #1327

As part of this PR, I've added a version attribute to the NcML xsd. As the xsd remains fully backwards compatiable, the namespace has not changed, but the point version of the scheme has been incremented from (previously undefined) v2.2 to v2.2.1.

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

Scan-based aggregations with a dateFormatMark produce a String time
variable with ISO time string formatted values. This commit enables
users to configure the aggregation to produce numeric, udunits based
time variables. This improves compatibility with popular clients, such
as xarray. Addresses Unidata#1327
@lesserwhirls lesserwhirls added enhancement New feature or request docs: content Improvements or additions to documentation NcML Issues related to NcML labels Apr 18, 2025
@lesserwhirls lesserwhirls added this to the v5.8 milestone Apr 18, 2025
@lesserwhirls lesserwhirls marked this pull request as ready for review April 18, 2025 20:42
@lesserwhirls lesserwhirls merged commit 10c421d into Unidata:maint-5.x Apr 18, 2025
14 checks passed
@lesserwhirls lesserwhirls deleted the numtime branch April 18, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs: content Improvements or additions to documentation enhancement New feature or request NcML Issues related to NcML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable time units when using dateFormatMark
1 participant