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

Remove unneeded name global attribute #1024

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Jan 7, 2025

When XIOS outputs LFRic to seperate streams, it requires there to be a global name attribute on the cube, containing the filename. As this attribute will be different between the different files, preventing merging, we need to remove it during data loading.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

@jfrost-mo jfrost-mo self-assigned this Jan 7, 2025
@jfrost-mo jfrost-mo added bug Something isn't working small Small issue that should be quick to resolve labels Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 7, 2025

Coverage

When XIOS outputs LFRic to seperate streams, it requires there to be a
global name attribute on the cube, containing the filename. As this
attribute will be different between the different files, preventing merging,
we need to remove it during data loading.
@jfrost-mo jfrost-mo force-pushed the 1023_lfric_normalise_name_attribute branch from 622104a to d1d647e Compare January 7, 2025 15:30
@jfrost-mo jfrost-mo marked this pull request as ready for review January 7, 2025 15:30
Copy link
Contributor

@ukmo-huw-lewis ukmo-huw-lewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this fix required for latest LFRic diagnostics with multiple output files. Successfully generated CSET output plots with this change.

@ukmo-huw-lewis ukmo-huw-lewis merged commit 1530269 into main Jan 8, 2025
8 checks passed
@ukmo-huw-lewis ukmo-huw-lewis deleted the 1023_lfric_normalise_name_attribute branch January 8, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small Small issue that should be quick to resolve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants