Skip to content

fix: netcdf date/time metadata type should be int#555

Open
aaron-hopkinson wants to merge 3 commits intomainfrom
fix/netcdf_time_metadata_type
Open

fix: netcdf date/time metadata type should be int#555
aaron-hopkinson wants to merge 3 commits intomainfrom
fix/netcdf_time_metadata_type

Conversation

@aaron-hopkinson
Copy link
Contributor

Description

The date/time metadata values coming from netCDF datasets were previously strings which differs from grib data and prevents grouping together in a matching filter – this change converts them to integers (which aligns with the behaviour in earthkit-data) and adds a regression test to prevent our xarray support code from diverging from earthkit-data in this area.

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.

@github-project-automation github-project-automation bot moved this from To be triaged to For merging in Anemoi-dev Mar 9, 2026
@mchantry
Copy link
Member

@tnipen raising awareness. We don't expect any issues for MEPS data as there is some test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS approval needed bug Something isn't working tests

Projects

Status: For merging

Development

Successfully merging this pull request may close these issues.

4 participants