Configure SO2 to select the correct field depending on index and window
Update configuration for SO2 to use the column using the advised window.
#2 Updated by Maarten Sneep about 4 years ago
This can be done with a filter, provided you can detect whether a pixel should be used from a specific window using a single secondary variable.
Outline of the procedure:
- each input variable is filtered using
np.where(condition, primary, 0.0), based on
condition, for instance:
primary = np.where(secondary < threshold, primary, 0.0)
with threshold one of the configuration parameters. In other words: you set all undesired parameters to 0.0. Do this in dummy (non-displayed) variables.
- for the final output you simply add all dummy variables.