Skip to content

Conversation

@davidhassell
Copy link
Collaborator

Fixes #794

@davidhassell davidhassell added the enhancement New feature or request label Jul 16, 2024
@davidhassell davidhassell added this to the NEXT VERSION milestone Jul 16, 2024
@sadielbartholomew
Copy link
Member

Wanting a review, @davidhassell?

@davidhassell
Copy link
Collaborator Author

Thanks, but I think Jonathan's got this one covered :)

Copy link
Collaborator

@JonathanGregory JonathanGregory left a comment

Choose a reason for hiding this comment

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

Thanks, David. I think it's fine, as far as I can tell. Is "out.override_units(Units(), inplace=True)" deleting the units? If so, I don't think you need to, or should - they're probably correct. The pdf from a temperature histogram, for example, has units of K-1.

@davidhassell
Copy link
Collaborator Author

Good point on the units - I'll fix that.

@davidhassell
Copy link
Collaborator Author

@JonathanGregory, is this better: 8e5487f ?

Copy link
Collaborator

@JonathanGregory JonathanGregory left a comment

Choose a reason for hiding this comment

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

Yes, I think the units are fine now. Thanks.

@sadielbartholomew
Copy link
Member

Thanks, but I think Jonathan's got this one covered :)

Oops sorry David, I missed that part somehow and thought you'd forgot to assign anyone!

@davidhassell davidhassell merged commit 2d2c0b0 into NCAS-CMS:main Mar 3, 2025
@davidhassell davidhassell deleted the density branch March 3, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

normalisation of cf.histogram

3 participants