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

use load_dataarray instead of open_dataarray for collocateddata #1150

Merged
merged 3 commits into from
May 3, 2024

Conversation

heikoklein
Copy link
Member

@heikoklein heikoklein commented May 3, 2024

Change Summary

avoid hanging file-handles, this crashed newer versions of xarray (which have a bug in the filemanager)

Related issue number

#1149

Checklist

  • Start with a draft-PR
  • The PR title is a good summary of the changes
  • PR is set to AeroTools and a tentative milestone
  • Documentation reflects the changes where applicable
  • Tests for the changes exist where applicable
  • Tests pass locally
  • Tests pass on CI
  • At least 1 reviewer is selected
  • Make PR ready to review

@heikoklein heikoklein added this to the m2024-05 milestone May 3, 2024
Copy link

codecov bot commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.69%. Comparing base (92f4878) to head (996815c).
Report is 5 commits behind head on main-dev.

❗ Current head 996815c differs from pull request most recent head 5d64e25. Consider uploading reports for the commit 5d64e25 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##           main-dev    #1150   +/-   ##
=========================================
  Coverage     78.69%   78.69%           
=========================================
  Files           127      127           
  Lines         20090    20090           
=========================================
  Hits          15809    15809           
  Misses         4281     4281           
Flag Coverage Δ
unittests 78.69% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thorbjoernl thorbjoernl marked this pull request as ready for review May 3, 2024 08:37
Copy link
Collaborator

@thorbjoernl thorbjoernl left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 🧨

@thorbjoernl thorbjoernl merged commit e52f491 into main-dev May 3, 2024
6 checks passed
@thorbjoernl thorbjoernl deleted the avoid_open_without_close branch May 3, 2024 08:43
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.

2 participants