Skip to content

Ensure blend_time is consistent with forecast_reference_time when resetting#2392

Merged
gavinevans merged 3 commits into
metoppv:masterfrom
gavinevans:mobt_783_blend_time
Jun 9, 2026
Merged

Ensure blend_time is consistent with forecast_reference_time when resetting#2392
gavinevans merged 3 commits into
metoppv:masterfrom
gavinevans:mobt_783_blend_time

Conversation

@gavinevans

Copy link
Copy Markdown
Contributor

Related to #2361, #2364, https://github.com/metoppv/mo-blue-team/issues/783

Description
This PR makes a minor edit to the reset_forecast_reference_time_and_period function, so that the "blend_time" coordinate is also handled, if it's present on the input cube, so that forecast_reference_time and blend_time remain consistent.

Testing:

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

@mo-jbeaver mo-jbeaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Happy with the changes and tests ran successfully.

@mo-jbeaver mo-jbeaver removed their assignment Jun 9, 2026

@maxwhitemet maxwhitemet left a comment

Copy link
Copy Markdown
Contributor

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 👍

@gavinevans gavinevans merged commit e3688c0 into metoppv:master Jun 9, 2026
7 checks passed
@gavinevans gavinevans deleted the mobt_783_blend_time branch June 9, 2026 11:03
gavinevans added a commit to gavinevans/improver that referenced this pull request Jun 9, 2026
…ion_selection_error

* upstream/master:
  Ensure blend_time is consistent with forecast_reference_time when resetting (metoppv#2392)
gavinevans added a commit to gavinevans/improver that referenced this pull request Jun 9, 2026
…_interpolation

* upstream/master: (24 commits)
  houndCI removal (metoppv#2393)
  Add the Ensemble Copula Coupling "transformation" approach (metoppv#2303)
  Ensure blend_time is consistent with forecast_reference_time when resetting (metoppv#2392)
  Refine realization coordinate handling when clustering (metoppv#2361)
  Mobt1205 better accum temporal interp (metoppv#2390)
  Refactor pollen forecast period setting (metoppv#2385)
  Changes to how we do distance_to calculations (metoppv#2379)
  Mobt 1138 ignore git hash cli (metoppv#2388)
  Ensure that the SubperiodSelector plugin and CLI returns a cube with the model_id_attr, if requested. (metoppv#2386)
  Add option to update a scalar coordinate attribute as part of the StandardiseMetadata plugin (metoppv#2378)
  Allow cube-extraction to use a formatted time string (metoppv#2380)
  Removing a name from CONTRIBUTING.md (metoppv#2384)
  Support more complex forecast period filtering when training QRF (metoppv#2383)
  Mobt1161 precip phase decision tree (metoppv#2376)
  MOBT-1148 Add subperiod-selector tool (metoppv#2373)
  Revert "change ApplyDecisionTree categorical cube dtype from int32 to int16 (…" (metoppv#2382)
  change ApplyDecisionTree categorical cube dtype from int32 to int16 (metoppv#2371)
  Changed implementation from clipping to masking + added Unit Tests (metoppv#2366)
  Adding kwarg as CLI argument & updating acceptance tests. (metoppv#2377)
  Refactor Pollen index for daily and hourly to single plugin (metoppv#2372)
  ...
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.

3 participants