Skip to content

Calculate Statistics transformation

Description

The CalculateStatisticsTransformation transformation calculates minimum, maximum, and histogram of values of items in a multidimensional model and store it in the model Metadata. It also adds item names and units to the model metadata. It is intended to be used when importing files like DFSU or DFS2 into Raw File storage. The statistics and histograms will be stored in the resulting dataset Metadata under key modelMetadata.

This transformation will not be applied when the target model is one of our dedicated models such as GIS, Multidimensional, TimeSeries, Tiles.

This transformation has no parameters.

Example

This request to /api/conversion/upload-convert

{
    "readerName": "<reader name>",
    "writerName": "FileWriter",
    ...
    "transformations": [
    {
        "type": "CalculateStatisticsTransformation"
    }
    ]
}