Alas, muparser NaN behaviour is not perfect. There is no isNaN support at all and OR and AND are not correct. I don't know what is his background - seems to be astro/space/aviation and definitely not Earth sciences. I wonder if the best solution wouldn't be to contribute this directly to muparser?

On 24/10/2025 19:17, Even Rouault wrote:
Please file an enhancement ticket about that, especially if you've an API in mind

Le 24/10/2025 à 18:55, Momtchil Momtchev via gdal-dev a écrit :
Hello,

I think that you should probably add a way to process (and produce) NoData (NaN) values to the RasterBand algebra.

--
Momtchil Momtchev <[email protected]>

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to