Skip to content

Vertical filtering

Description

The transformation allows users to select only a subset of the vertical domain for further processing. The filter is provided in the form of a range of layer indexes. As of 04-08-2020, this filter is applicable to gridded datasets only, although supporting meshed domains should be easy to add.

Example

This request to /api/conversion/upload-convert

{
  "readerName": "<reader name>",
  "writerName": "<writer name>",
    ...
  "transformations": [
    {
        type: "VerticalFilterTransformation",
        verticalFilter: {
            type: "VerticalIndexFilter",
            from: 1,
            to: 10
        }
    }
  ]
}
will select layers from 1 to 10 (0-based indexing).

For more information refer to the swagger documentation of the Metadata service.