Skip to content

366 calculation of image stats in processing does not pass image pixel dimensions#369

Merged
nepstad merged 3 commits intomainfrom
366-calculation-of-image_stats-in-processing-does-not-pass-image-pixel-dimensions
Mar 12, 2026
Merged

366 calculation of image stats in processing does not pass image pixel dimensions#369
nepstad merged 3 commits intomainfrom
366-calculation-of-image_stats-in-processing-does-not-pass-image-pixel-dimensions

Conversation

@nepstad
Copy link
Collaborator

@nepstad nepstad commented Mar 9, 2026

This PR fixes issue #366, where the correct pixel dimensions of the image was not passed to nc_vc_from_stats() when calculating image_stats. It also fixed #349, where image_stats in the PyOPIA netcdf is missing metadata to required to make it self-describing (e.g. units and long_name) and CF-compatible (e.g. standard_name).

Copy link
Collaborator

@emlynjdavies emlynjdavies left a comment

Choose a reason for hiding this comment

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

Can you write. adescription of this PR, and explain why we need to expand cf_metadata.json?

@nepstad nepstad requested a review from emlynjdavies March 10, 2026 20:21
@nepstad nepstad merged commit c35605b into main Mar 12, 2026
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.

Calculation of image_stats in processing does not pass image pixel dimensions Add metadata to image_stats variables

2 participants