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. The filter applies to gridded datasets and to meshes read as layers.
Example¶
This request to /api/conversion/upload-convert
{
"readerName": "<reader name>",
"writerName": "<writer name>",
...
"transformations": [
{
type: "VerticalFilterTransformation",
verticalFilter: {
type: "VerticalIndexFilter",
from: 1,
to: 10
}
}
]
}
Full 3D meshes¶
The vertical filter is ignored when a 3D DFSU file is read as full 3D elements (ReadFull3D = true on the DFSU reader). All layers of every column are imported, and the dataset keeps the original vertical domain (layer count and sigma layers) of the source file.
To import only a subset of layers, read the file as layers (ReadFull3D = false), or remove the layers from the file before the upload.
For more information refer to the swagger documentation of the Metadata service.