Skip to content

MOBT-797: Custom cell method addition during thresholding#76

Merged
bayliffe merged 1 commit intomasterfrom
mobt797
Mar 11, 2025
Merged

MOBT-797: Custom cell method addition during thresholding#76
bayliffe merged 1 commit intomasterfrom
mobt797

Conversation

@bayliffe
Copy link
Copy Markdown
Contributor

@bayliffe bayliffe commented Mar 6, 2025

Add a test to demonstrate the application of a custom cell method as part of coordinate collapse when using the threshold CLI.

The resulting cube has the following metadata:

probability_of_air_temperature_above_threshold / (1) (projection_y_coordinate: 100; projection_x_coordinate: 100)
    Dimension coordinates:
        projection_y_coordinate                                              x                             -
        projection_x_coordinate                                              -                             x
    Scalar coordinates:
        air_temperature                              280.0 K
        forecast_period                              0 seconds
        forecast_reference_time                      2017-02-01 03:00:00
        height                                       1.5 m
        time                                         2017-02-01 03:00:00
    Cell methods:
        0                                            realization: mean (of air_temperature)
    Attributes:
        Conventions                                  'CF-1.7'
        institution                                  'Met Office'
        mosg__model_configuration                    'uk_ens'
        source                                       'Met Office Unified Model'
        title                                        'Post-Processed Operational MOGREPS-UK Model Forecast'

…part of coordinate collapse when using the threshold CLI.
Copy link
Copy Markdown
Contributor

@Katie-Howard Katie-Howard left a comment

Choose a reason for hiding this comment

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

I've looked through this data and its looks sensible to me 👍

@bayliffe bayliffe merged commit f742275 into master Mar 11, 2025
@bayliffe bayliffe deleted the mobt797 branch March 11, 2025 14:12
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