Skip to content

Preprocessor chain is not being applied to cell measures #436

@ledm

Description

@ledm

Basically, if your preprocessor changes the shape of the diagnostic data cube (for instance a spatial or temporal slice, such as the annual_statistics or extract_region preprocesors), before using the area_statistics, zonal_meanandvolume_statistics` preprocessors, then the resulting cube will no longer have the same shape as the FX data.

This means that we can only use the mean operation in area_statistics, zonal_meanandvolume_statistics` can only be applied on th global scale. It is not currently possible to use them on a regional scale.

Many of the preprocessors need to be applied to both the diagnostic dataset, but also the FX data, in the cases when the mean operator is used in area_statistics, zonal_meanandvolume_statistics`.

This issue is related to the recent fixes merged by @mattiarighi, @schlunma and @valeriupredoi. The PR's #429 and #433 have closed some FX related issues recently, but I don't want this issue to get lost with the other closed issues and PR.

Metadata

Metadata

Labels

preprocessorRelated to the preprocessor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions