Skip to content

Coordinates droped in filter_dataset method#43

Merged
forman merged 2 commits into
mainfrom
konstntokas-038-drop_unused_coords
Apr 16, 2025
Merged

Coordinates droped in filter_dataset method#43
forman merged 2 commits into
mainfrom
konstntokas-038-drop_unused_coords

Conversation

@konstntokas
Copy link
Copy Markdown
Collaborator

Closes #38

Dropping respective coordinates is already handled by name_filter.filter(names) in https://github.com/EOPF-Sample-Service/xarray-eopf/blob/main/xarray_eopf/filter.py#L20

@konstntokas konstntokas requested a review from forman April 15, 2025 14:18
Comment thread xarray_eopf/filter.py Outdated
from typing import Iterable

import xarray as xr
from dask.core import keys_in_tasks
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why this? Remove.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

OK I see. I tested stuff in the code, and this was added automatically..

@konstntokas konstntokas requested a review from forman April 15, 2025 14:23
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
xarray_eopf/filter.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@forman forman merged commit baf4256 into main Apr 16, 2025
2 checks passed
@konstntokas konstntokas deleted the konstntokas-038-drop_unused_coords branch April 16, 2025 08:28
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.

Drop unsed coordinates in filter module

2 participants