Band Math Expressions #452
-
Perhaps this belongs over on the rio-tiler github but I'm asking here in case there are limitations imposed by Titiler. Is there a list of what's possible with band math expressions? I gather that basic addition, subtraction, division, and multiplication are possible. However, are there any more advanced functionalities? Specifically I'm interested in something like: max(b4,b5,b6,b13) that would return that max value out of those bands. Similar for minimum. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@idtstudios, yes this should be in rio-tiler but it's fine I should probably make the doc clearer for this. band math expression using Sadly |
Beta Was this translation helpful? Give feedback.
@idtstudios, yes this should be in rio-tiler but it's fine I should probably make the doc clearer for this.
band math expression using
numexpr
so here are the operator/function available https://numexpr.readthedocs.io/en/latest/user_guide.html#supported-operatorsSadly
max
is not part of the available function (see pydata/numexpr#86)