Skip to content

Conversation

@mspelman07
Copy link
Contributor

Addresses (https://github.com/metoppv/mo-blue-team/issues/902)

Add in the plugin and unit tests for calculating the Distance To a feature ancillary file. This requires that geopandas is added to the environment and will go into the Samos feature branch when it is created.

Testing:

  • Ran tests and they passed OK
  • Added new tests for the new feature(s)

gavinevans and others added 5 commits June 9, 2025 09:28
* Avoid cubelists of cubelists.

* Replace np.product with np.prod.

* Replace np.int.

* Replace np.NAN with np.nan.

* Replace np.NAN with np.nan.

* Replace np.NaN with np.nan.

* Replace np.product with np.prod.

* Replace assertRaisesRegexp with assertRaisesRegex and use collections.abc.Callable instead of collections.Callable.

* Simplify test in test_flatten.py to avoid cubelist within a cubelist.

* Replace Cube(None) with an alternative.

* Unpin environments for testing.

* Remove pygam version.

* Update improver_a.yml

* Remove non-essential dependencies from yml files and add pins.

* Minor edits following review comments.

* Modify docstring to better reflect the inputs provided.
* Updates to cube_combiner for new environment

* Update checksums
@brhooper brhooper self-assigned this Jun 23, 2025
@brhooper brhooper assigned maxwhitemet and unassigned brhooper Jul 8, 2025
Copy link
Contributor

@maxwhitemet maxwhitemet left a comment

Choose a reason for hiding this comment

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

Thanks @mspelman07.
I think the PR is ready to move to second review after these very minor adjustments.

@maxwhitemet maxwhitemet mentioned this pull request Jul 15, 2025
2 tasks
@maxwhitemet
Copy link
Contributor

Thank you @mspelman07. I am happy with the changes. I'm moving this ticket to second review for @brhooper to have under their profile so they can merge the associated PRs when the Samos feature branch is ready, as you have indicated the need for.

@maxwhitemet maxwhitemet requested a review from brhooper July 28, 2025 08:50
@maxwhitemet maxwhitemet assigned brhooper and unassigned maxwhitemet Jul 28, 2025
Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks @mspelman07, I've added some minor comments.

@brhooper brhooper assigned mspelman07 and unassigned brhooper Aug 19, 2025
@codecov
Copy link

codecov bot commented Aug 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.44%. Comparing base (84a8944) to head (c981116).
⚠️ Report is 111 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2131      +/-   ##
==========================================
+ Coverage   98.39%   98.44%   +0.05%     
==========================================
  Files         124      142      +18     
  Lines       12212    13933    +1721     
==========================================
+ Hits        12016    13717    +1701     
- Misses        196      216      +20     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mspelman07 mspelman07 changed the base branch from mobt_800_env_upgrade_feature_branch to master August 20, 2025 15:46
@bayliffe bayliffe dismissed stale reviews from maxwhitemet and brhooper via a5094aa August 27, 2025 13:35
@bayliffe bayliffe assigned maxwhitemet and unassigned bayliffe Aug 27, 2025
Copy link
Contributor

@maxwhitemet maxwhitemet left a comment

Choose a reason for hiding this comment

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

Thanks @bayliffe. I have suggested some changes to the docstrings. Otherwise, tests pass and I'm happy to approve.

@maxwhitemet maxwhitemet assigned bayliffe and unassigned maxwhitemet Aug 27, 2025
@bayliffe bayliffe assigned maxwhitemet and unassigned bayliffe Aug 28, 2025
maxwhitemet
maxwhitemet previously approved these changes Aug 28, 2025
Copy link
Contributor

@maxwhitemet maxwhitemet left a comment

Choose a reason for hiding this comment

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

Happy with the changes made. Approved 👍

@maxwhitemet maxwhitemet removed their assignment Aug 28, 2025
maxwhitemet
maxwhitemet previously approved these changes Sep 8, 2025
Copy link
Contributor

@maxwhitemet maxwhitemet left a comment

Choose a reason for hiding this comment

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

Happy with the changes made. Approved 👍

Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks @bayliffe, I've added one comment.

@brhooper brhooper assigned bayliffe and unassigned brhooper Sep 10, 2025
Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks for adding the additional test cases @bayliffe. I'm happy to approve this now.

@brhooper brhooper assigned bayliffe and unassigned brhooper Sep 10, 2025
@bayliffe bayliffe merged commit 49c4eba into metoppv:master Sep 10, 2025
7 checks passed
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.

5 participants