FIMViz.jsAPI
    Preparing search index...

    Function combineGrids

    • Combine N aligned rasters per pixel (band math). LHS-conform: every other grid is resampled onto grids[0]'s exact grid in memory, then reduced by op. difference/ratio are binary; sum/mean/ min/max are N-ary and skip noData/NaN inputs. Result carries grids[0]'s bounds/dims.

      Parameters

      • grids: RasterGrid[]
      • Optionalopts: {
            method?: string;
            op?: "min" | "max" | "sum" | "mean" | "difference" | "ratio";
        } = {}

      Returns RasterGrid